JSON String Escape and Unescape

Escape a string so it can be embedded in JSON, or unescape it.

— views
Paste the result straight into a JSON string
Pick a direction above

Common escape sequences

CharacterEscapedMeaning
"\"Double quote
\\\Backslash
NL\nNewline
CR\rCarriage return
TAB\tTab
BS\bBackspace
FF\fForm feed

About JSON String Escape and Unescape

Escape a string so it can be embedded in JSON, or unescape it.

The work happens in your browser: what you paste is never sent to a server, and no account is needed.

Comments

Loading comments…