Diese Seite ist noch nicht auf Deutsch verfügbar, daher zeigen wir die englische Version.

Windows Path Converter — Windows ↔ WSL ↔ Unix

Paste a path in any format — C:\Users\me\project, /mnt/c/Users/me/project, /c/Users/me — and get it in every other form, ready to copy: WSL, Git Bash, Cygwin, file URL, UNC and escaped for code.

Aktualisiert am

Deine Daten verlassen nie deinen Computer. Die Verarbeitung erfolgt zu 100 % lokal im Browser.

So nutzt du: Windows Path Converter

  1. Paste a path in any format — the format is detected automatically.
  2. Read the path in every other format.
  3. Copy the one you need; paste several lines to convert them all.

One file, many spellings

  • Windows — C:\Users\me\file.txt, backslashes and a drive letter.
  • WSL — Windows drives are mounted under /mnt: /mnt/c/Users/me/file.txt. Inside WSL, wslpath does the same conversion.
  • Git Bash / MSYS2 — /c/Users/me/file.txt.
  • Cygwin — /cygdrive/c/Users/me/file.txt.
  • file URL — file:///C:/Users/me/file.txt, with spaces encoded as %20.
  • Escaped — backslashes doubled for JSON, C#, Java and JavaScript strings (C:\\Users\\me), or a Python raw string r"C:\Users\me".

Spaces and special characters

Paths with spaces need quotes in shells — cd "/mnt/c/Program Files" — or escaped spaces (Program\ Files) in Bash. The converter shows a quoted version ready for the terminal.

Network shares

UNC paths such as \\server\share\folder become //server/share/folder with forward slashes and file://server/share/folder as a URL. WSL doesn’t mount network shares automatically; map the share to a drive letter or mount it with mount -t drvfs.

Auch gesucht als: windows path to linux path, convert windows path to wsl, wsl path converter, git bash path, backslash to forward slash, unc path converter, file url converter, escape windows path.

Passende Tools zu: Windows Path Converter

  • Line Ending Converter — See which line endings a file uses and convert them — Windows CRLF to Unix LF or back — for pasted text or a whole batch of files, with trailing-space and tab cleanup on the side.
  • URL Encode / Decode — Percent-encode text for safe use in URLs, decode encoded strings back to readable text, and break any URL down into its parts and query parameters.
  • Chmod-Rechner — Setze die Häkchen bei „Lesen“, „Schreiben“ und „Ausführen“ für Eigentümer, Gruppe und andere – oder gib Folgendes ein 755, rwxr-xr-x oder u=rwx,g=rx,o=rx.
  • JSON Escape & Unescape — Make any text safe to paste into a JSON string — quotes, backslashes, newlines and Unicode — or turn an escaped string back into readable text or JSON.

Häufige Fragen

How do I convert a Windows path to a WSL path?
Replace the drive letter with /mnt/ and the lowercase letter, and backslashes with slashes: C:\Users\me becomes /mnt/c/Users/me. Inside WSL, wslpath 'C:\Users\me' does it too.
Why do I need double backslashes in code?
In JSON, C#, Java and JavaScript strings a backslash starts an escape sequence (\n, \t), so a literal backslash is written as \\. Forward slashes also work in most Windows APIs.
Does Windows accept forward slashes?
Most Windows programs and APIs accept C:/Users/me, including PowerShell, Node.js, Python and Git. The classic cmd.exe shell is the main exception for some commands.
Kann ich Windows Path Converter als Web-App installieren und offline nutzen?
Ja. Windows Path Converter ist eine installierbare Web-App (PWA) – sie wird über Ihren Browser installiert und nicht aus einem App-Store heruntergeladen. Klicken Sie oben auf dieser Seite in Chrome oder Edge (Windows, macOS, Linux, ChromeOS) auf „App installieren“ oder verwenden Sie auf Android-Geräten „Teilen“ → „Zum Startbildschirm hinzufügen“ auf dem iPhone und iPad bzw. „Datei“ → „Zum Dock hinzufügen“ in Safari 17+ auf einem Mac. Die App öffnet sich dann in einem eigenen Fenster mit einem eigenen Symbol, und da sie vollständig in Ihrem Browser ausgeführt wird, funktioniert sie auch offline. Firefox auf dem Desktop kann keine Web-Apps installieren. So funktioniert die Installation.

Ähnliche Tools