JSON Minifier & Escaper
Minify JSON, escape it as an embeddable string, or reverse the escape.
Mode
What is this tool?
Minify strips all whitespace from valid JSON. Escape for embedding produces a single-line escaped string body (quotes, newlines, and other special characters escaped) ready to drop between your own quote characters in C#, a JSON config value, or similar. Unescape reverses that back to readable JSON. Minify and Escape both validate the input as JSON first, so malformed input gets a clear error instead of a garbage transform.
How to use it
- Choose Minify, Escape for embedding, or Unescape.
- Paste JSON (or an escaped string, for Unescape).
- Copy the transformed output.
Related dev utilities tools
- GUID / UUID GeneratorGenerate UUID v4, v7, or v1 identifiers in your browser.
- JSON Formatter & ValidatorPretty-print, minify, and validate JSON with clear error messages.
- JWT DecoderDecode JWT header and payload without verifying signatures.
- JWT Encoder (Demo)Build a payload and sign an HS256 JWT in-browser for testing.