🍋
Menu
🍋 Developer Tools

Path Converter

Convert between Windows backslash and Unix forward-slash paths

Free Browser-only No sign-up
chars words sentences lines

Results

Result

About Path Converter

Convert file paths between Windows (backslash) and Unix/macOS (forward-slash) formats. Automatically detects the input format and converts to the other style.

How It Works

Paste file paths and the tool detects whether they use backslash (Windows) or forward-slash (Unix). It then converts each path to the opposite format, handling drive letters and UNC paths.

Step by Step

  1. 1 Paste one or more file paths
  2. 2 The tool auto-detects Windows or Unix format
  3. 3 Get the converted paths in the opposite format

Tips

  • Supports multiple paths (one per line)
  • Windows drive letters (C:\) are preserved
  • UNC paths (\\server\share) are converted to //server/share
  • Mixed paths are detected and converted consistently

Frequently Asked Questions

How does it detect the path format?
If the path contains backslashes or starts with a drive letter (C:\), it's treated as Windows. Otherwise, it's treated as Unix.
Can I convert multiple paths at once?
Yes. Enter one path per line and all paths will be converted together.