325Tools

Free JSON Escape and Unescape Online

Use this free tool to escape or unescape JSON strings. Fast, private, and works directly in your browser.

Loading tool…

What is JSON Escape / Unescape?

JSON Escape / Unescape converts text into a safely escaped JSON string (escaping quotes, backslashes, and control characters) and back. It is useful for embedding text inside JSON. Processing runs in your browser.

How to use this tool

  1. Choose Escape or Unescape.
  2. Paste your text or JSON string.
  3. Copy the result.

Features

  • Escape text into a JSON string
  • Unescape a JSON string back to text
  • Handles quotes, backslashes, and newlines
  • Copy the result
  • Runs entirely in your browser

This tool runs in your browser. Your files and text are not uploaded to our servers, and we do not store your input.

Frequently asked questions

What does escaping do?+

It adds backslashes so the text is a valid JSON string value, e.g. quotes become \".

Why did unescape fail?+

The input must be a valid JSON string (including the surrounding quotes) to unescape.

Is my text uploaded?+

No. Everything runs in your browser.

Related tools

Looking for more Developer Tools?

Browse the full collection of free, browser-based tools.