JSON Escape Unescape

Escape text for use inside a JSON string, or restore escaped sequences to readable characters. Enter string content without the outer quotes.

Processed Output
Processed JSON string content will appear here...

Input chars

0

Output chars

0

Escape sequences

0

Works on string content

Escape mode returns the inside of a JSON string value, not an entire JSON document with outer quotes.

Line breaks and tabs

Escape mode replaces actual line breaks and tabs with their backslash sequences. Unescape restores those sequences to line breaks and tabs.

Strict JSON string rules

Only standard JSON escapes are recognized here, so unsupported sequences fail instead of being guessed.

Related Tools