JSON String Escape & Unescape

Escape special characters (quotes, backslashes, newlines) so text is safe inside a JSON string, or reverse it.

100% freeNo sign-upRuns in your browserNo upload · data stays private

📖 Read the full JSON String Escape & Unescape guide — how it works, examples & FAQ →

How to use this tool

  1. Paste your text or escaped string.
  2. Pick Escape or Unescape.
  3. Copy the result.

Example

He said "hi" → He said \"hi\"

Why it's private

This tool runs entirely in your browser using JavaScript. Whatever you paste is processed on your own device — it is never uploaded to a server, logged, or stored. Built by Calabi, which also strips AI metadata and C2PA signals from images and video.

Related tools