Path Converter
Convert file, folder, and system paths between Windows and Unix/Linux structures. Run entirely locally inside your browser.
How to Convert File Paths Between Windows, Unix & WSL for Free
Working across Windows, macOS, Linux, or WSL (Windows Subsystem for Linux)? Different operating systems use contrasting path syntaxes: backslashes vs forward slashes, and drive letters vs mount roots. BrowserPowerToys converts file and folder paths in real time inside your browser with complete privacy.
Paste Any File Path
Paste a single path or bulk directory list in Windows (C:\path), Unix (/home/user), or WSL format.
Select Target Format
Choose your desired target: Unix / Linux, Windows Backslash, WSL Mount (/mnt/c), or Git Bash.
Configure Slash Options
Toggle escaped backslashes (\\), quotes, URI encodings, or relative path conversions as needed.
Copy Output Path
Click "Copy" to immediately paste the sanitized path into your terminal, scripts, JSON configs, or code editor.
Why Choose BrowserPowerToys Path Converter?
- WSL & Git Bash Ready: Seamlessly translates Windows drive roots (like
C:\Users) to/mnt/c/Usersor/c/Users. - Bulk Multi-Line Processing: Convert entire lists of log paths, file manifests, and project directories in milliseconds.
- JSON & C-Escape Modes: Automatically escapes backslashes (
\\) so paths paste directly into JSON strings or regex patterns. - Zero-Upload Privacy: Local folder names, username directories, and proprietary file trees never leave your local device.
Frequently Asked Questions
Everything you need to know about processing files securely in your browser
What does a path converter do?
It translates file and directory path formats between different operating systems. Specifically, it converts Windows paths (which use backslashes and drive letters like C:) to Unix/Linux paths (which use forward slashes / and mount paths like /mnt/c/), and vice versa.
Is this tool helpful for Windows Subsystem for Linux (WSL)?
Yes, it is extremely useful for WSL developers. It easily translates between standard Windows file paths and their WSL equivalents (e.g., /mnt/c/Users/... or /wsl$/...), saving manual editing time.
Does this tool validate if the directory path exists?
No. The converter performs text-based path translation based on OS syntax conventions. Since it runs client-side in a sandboxed browser, it does not have access to your local filesystem to verify path existence.
Are my local file paths uploaded to a server?
No, your file paths are processed locally on your machine. Your folder names, projects, and directory structures are never sent over the network.