MicroHai
All Dev & Code Text & Formatting Media & Image Security & Crypto Utilities & Everyday

JSON Formatter / Minifier / Escaper

Dev & Code

Beautify, validate, minify, sort keys alphabetically, escape/unescape & convert Unicode in JSON

Valid JSON — formatted with 2-space indentation17 lines · 294 chars · 294 B
JSON Online Editor (Input)
{
  "site": "MicroHai Toolbox",
  "domain": "https://microhai.com",
  "features": [
    "JSON Parser",
    "Tree View",
    "Syntax Coloring",
    "JSON Diff",
    "JSON to Excel"
  ],
  "config": {
    "localOnly": true,
    "seoOptimized": true,
    "version": 2,
    "deprecated": null
  }
}

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. 1 Paste your raw JSON string into the left input editor or import a .json file.
  2. 2 Click Format, Minify, Sort Keys, Escape, or Unescape from the top toolbar.
  3. 3 Copy the processed JSON from the right panel or download it as a .json file.