Slash-unescape Text

The Slash Unescape Tool lets you clean up escaped slashes in your input – whether they’re coming from JSON, HTML, or manually escaped strings. It replaces \/ with / and \\ with \, giving you readable, unescaped output. You can paste your text or import a file, and the output updates live as you type or load content.

Paste your input above or import a file below.
No file chosen
Supported file types: .txt, .json, .html, .md
Total characters: 0
Options
Maximize output

How to Use:

  1. Paste or type text into the input box on the left.
  2. Or click Choose File to upload a .txt, .json, .html, or .md file.
  3. The unescaped version of the text appears instantly on the right.
  4. Click Copy Output to copy the result.
  5. Use Export to File to download the cleaned version.
  6. Hit Clear All to reset everything.

What Slash Unescape Tool can do:

Slash Unescape Tool is designed to clean up escaped content, especially common in JSON data or file paths. It finds and replaces all instances of \/ with /, and \\ with \. This is especially useful when reviewing encoded files, parsing output from APIs, or decoding backslashes in string literals. You get a live preview and character count, and it all runs entirely in your browser.

Example:

Before:

\\/path\\/to\\/file and \\\\escaped\\\\slashes

After:

/path/to/file and \\escaped\\slashes

Common Use Cases:

Use this tool when working with raw JSON, unescaping file paths, or decoding slash-heavy strings from log files or APIs. It’s perfect for developers, sysadmins, and data analysts dealing with encoded slashes. With built-in file support and instant updates, it’s a quick way to fix formatting and get readable output fast.

Useful Tools & Suggestions:

If you’re unescaping slashes, you’ll probably want to keep JSON Unstringify Text nearby escaped slashes pop up a lot in structured data. And if you’re cleaning up even more layers, HTML-decode Text can help strip out leftover entities.