Encode or decode JSON strings with this free online JSON Escape / Unescape tool. Type or paste your JSON text into the editor, then select whether you want to convert reserved characters into escaped sequences or change escaped sequences back into readable text.
During the process, special JSON characters such as backspace, form feed, newline, carriage return, tab, double quotes, and backslashes are converted using the standard escape sequences (b, f, n, r, t, “, and ). When finished, the converted JSON can be copied or downloaded.
JSON Escape / Unescape
Output
JSON Escape & Unescape Example
JSON Escape
Original String
Name: John "Doe"
Email: john@example.com
Path: C:UsersJohnDocuments
Message: Welcome to the "JSON Escape" tool!
Escaped JSON String
Name: John "Doe"nEmail: john@example.comnPath: C:UsersJohnDocumentsnMessage: Welcome to the "JSON Escape" tool!
JSON Unescape
Escaped JSON String
Name: John "Doe"nEmail: john@example.comnPath: C:UsersJohnDocumentsnMessage: Welcome to the "JSON Escape" tool!
Unescaped String
Name: John "Doe"
Email: john@example.com
Path: C:UsersJohnDocuments
Message: Welcome to the "JSON Escape" tool!