Browser-local tool
JSON Escape / Unescape
Convert plain text to JSON-safe escaped string content, or decode escaped JSON string content back to readable text.
Escaped output
Output will appear here.This first-phase tool runs in your browser. Avoid pasting secrets into any online tool unless you understand its behavior.
JSON Formatter
Format, validate, and beautify JSON with two-space indentation.
JSON Minifier
Compress valid JSON into a compact single-line string.
JSON to TypeScript
Generate TypeScript interfaces from a JSON object.
FAQ
Is this the same as formatting JSON?
No. This tool escapes string content, while the formatter parses whole JSON documents.
Can it unescape newline characters?
Yes. Use the Unescape mode to convert sequences like \n back into line breaks.