OneTool

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

  1. Choose Minify, Escape for embedding, or Unescape.
  2. Paste JSON (or an escaped string, for Unescape).
  3. Copy the transformed output.