About JSON Formatter / Minifier / Escaper
Free online JSON formatter and syntax validator. Pretty-print with 2 or 4 spaces, minify to one line, sort keys recursively, escape/unescape strings, and decode Unicode sequences locally.
Key Features
- Instant JSON syntax validation with clear error diagnostics
- Format with 2 or 4 spaces indentation or minify into a single line
- Recursively sort JSON object keys alphabetically (A-Z / Z-A)
- One-click JSON string escape & unescape and Unicode conversion
- Import local .json files and download formatted output
How to Use
- 1 Paste your raw JSON string into the left input editor or import a .json file.
- 2 Click Format, Minify, Sort Keys, Escape, or Unescape from the top toolbar.
- 3 Copy the processed JSON from the right panel or download it as a .json file.