Free online tools · Browser-first utilities · No account required
Home / Developer Tools / JSON Escape / Unescape
Developer Tools

JSON Escape / Unescape

Escape or unescape JSON string content.

Using JSON Escape / Unescape

On this page
  1. Using JSON Escape / Unescape
  2. Input reference
  3. Continue your task

Paste string content rather than an entire JSON object. Escaping a quote or newline makes it suitable inside a quoted JSON string. Use decode mode once for each known encoding layer and keep literal backslashes when they are part of a file path.

Example input

String content
A "quoted" word

Example result

A \"quoted\" word

Read next · JSON Formatting Basics for Beginners

Input reference

String content
Enter multiline text. Field hint — Enter or paste your input here….
Mode: escape or unescape
Enter text. Field hint — Optional second value.
Report a correction

← Browse all 311 tools