JSON Minify & Escape
Minify, escape and unescape JSON in one place. Ideal for embedding JSON inside code or stripping extra escape layers.
Everything is processed locally in your browser and never uploaded.How to use
Step 1: Paste JSON
Paste normal JSON on the left, or an already-escaped JSON string on the right.
Step 2: Pick an action
Click Escape to wrap JSON into an embeddable string literal, Unescape to strip an extra layer of escaping, or Compress for a single-line JSON.
Step 3: Copy the result
Copy the right-hand output or download it as a file.
Note: very large numbers beyond JavaScript’s safe integer range may lose precision.