JSON Escape / Unescape
Turn text with double quotes, line breaks or backslashes into a valid JSON string, or read an escaped string back into the original text.
How to escape or unescape JSON
- Pick a direction: "Escape" turns plain text into a JSON string, "Unescape" does the reverse.
- Paste your content on the left and the result appears on the right.
- Use the copy button to grab the result. If the string has a syntax error when unescaping, the tool points at the line and column.
Frequently asked questions
More JSON tools
JSON FormatterFormat, minify and validate JSONJSON RepairAutomatically fix broken JSONJSON CompareFind the differences between two JSON documentsJSON ViewerView JSON as a tree, collapse or expand any branchJSON to YAMLConvert between JSON and YAMLJSON SorterSort JSON fields and arrays from A to ZJSON to CSVConvert between JSON and CSV tablesJSON to TypeScriptGenerate TypeScript interfaces from sample JSONJSONPath QueryExtract data from JSON with a JSONPath expression