JSON · Editor

JSON Editor

Format, minify, validate, search and explore JSON — all in your browser.

How to use this JSON editor

Paste your JSON into the input box on the left. Use the toolbar to format, minify, validate, sort keys, or escape it. Switch to the Tree tab to explore the structure visually — expand/collapse any node, use the built-in search box to jump to matching keys and values, and read each node's path from the navigation bar.

Features

  • Format — pretty-print JSON with 2-space indentation.
  • Minify — remove all whitespace to shrink the payload.
  • Validate — check whether your JSON is syntactically valid.
  • Sort keys — alphabetically sort object keys for stable diffs.
  • Escape / Unescape — handle embedded quotes and special characters.
  • Tree view — collapsible hierarchy powered by JSONEditor, with expand/collapse-all controls.
  • Search — built-in search inside the tree view jumps to matching keys and values.

Example

{
  "name": "Alice",
  "age": 30,
  "active": true,
  "address": {
    "city": "Beijing",
    "zip": "100000"
  },
  "tags": [
    "admin",
    "developer"
  ],
  "projects": [
    {
      "id": 1,
      "name": "Alpha",
      "status": "done"
    },
    {
      "id": 2,
      "name": "Beta",
      "status": "active"
    }
  ]
}

Frequently asked questions

Is this JSON editor free?

Yes, completely free. All processing happens locally in your browser.

Is my data uploaded anywhere?

No. Nothing is sent to a server — paste safely, even sensitive JSON stays on your machine.

How large a JSON can it handle?

Most browsers handle a few megabytes comfortably. Very large files may render slowly in tree view.