JSON Editor

Free online JSON editor. View, format, minify, sort keys, validate and convert JSON in tree or code mode. Runs entirely in your browser.

Edit and inspect JSON with a live tree view or a code editor. Paste or load your JSON, switch between tree and code modes, and use the toolbar to format, minify, sort keys, validate, copy or download. Powered by jsoneditor, everything runs locally in your browser. Your data never leaves your browser — no upload, fully private.

Left
Right

Working effectively with JSON

What is JSON?

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and easy for machines to parse, which is why it powers most web APIs.

Format vs minify

  • Format (pretty-print) adds indentation so nested objects are readable.
  • Minify removes all whitespace to shrink the payload for transfer.

Tips

  1. Use Sort keys to canonicalize JSON before diffing two files.
  2. Validate before pasting into code — a missing comma breaks the whole parse.
  3. Prefer the tree view when exploring unfamiliar, deeply nested responses.

Open-source notice: JSON editing by jsoneditor (Apache-2.0). Copyright (c) 2013-2024 Jos de Jong.

FAQs

Which modes are available?
JSON Editor offers a tree view for clicking through nested data, a code view with line numbers, a form view for editing values, and a plain text view. Switch anytime from the mode menu.
Does it validate my JSON?
Yes. The status bar shows whether the current content is valid JSON. Invalid syntax is also underlined inside the code editor.
Is my data uploaded?
No. All parsing and rendering happen locally in your browser. Nothing is sent to any server.
Can I load a large file?
Yes, but very large files (tens of MB) may be slow. For huge payloads, consider trimming before editing.