Skip to main content

JSON Editor

Edit JSON as text, as a tree or as a table, with undo, sort, repair and schema check. Nothing is uploaded and there is no size cap.

JSON

Stays in your browser
[
{
"id": 1,
"name": "Ada",
"role": "engineer",
"score": 98.5,
"active": true
},
{
"id": 2,
"name": "Grace",
"role": "admiral",
"score": 87,
"active": true,
"email": "grace@example.test"
},
{
"id": 3,
"name": "Linus",
"role": "maintainer",
"score": null,
"active": false
}
]

Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)

Next steps

Done here? Use the Send to… menu on the result to carry it on to JSON Visualizer, jq Playground or JSON Schema Validator.

Free Online JSON Editor: Text, Tree and Table

Edit JSON the way that suits the job: type in the text, change values in a tree, or work on a list of objects as a table. Undo, sort and repair are one click away. It gives developers a quick browser-based way to solve a focused json editor task before moving the result into a project.

How to edit JSON online

Paste or open your JSON and choose a view. Text is the raw document, Tree edits keys and values one at a time, and Table turns a list of objects into a grid you can sort and edit cell by cell. Every change goes into the undo history (100 steps).

Tools

  • Format and Minify change the layout only.
  • Sort keys orders every object's keys alphabetically; Sort array by field orders a list by one field, as numbers or as text.
  • Repair fixes common mistakes such as trailing commas and single quotes.
  • Remove nulls drops every null value.
  • Validate against a schema checks the document with a JSON Schema you paste.

Common mistakes

  • Table view needs a list of objects. A single object or a list of numbers opens in Tree view instead.
  • Changing a value's type can lose data (an object becoming text). You are asked to confirm.
  • Sorting as numbers and as text give different orders for values like 9, 10 and 100: pick the one you mean.

Frequently asked questions

Is my JSON uploaded?
No. Editing happens in your browser. There is no account and no cloud storage, so there is no size limit other than your device. "Restore last session" is off by default and keeps the document in this browser only.
What is the difference between the three modes?
Text is the raw document. Tree lets you change keys and values one by one and add, move or delete items. Table shows a list of objects as a grid. All three edit the same document.
What does Repair fix?
Trailing commas, single quotes, unquoted keys, comments, Python-style True/False/None, missing commas between lines and missing closing brackets. If it cannot make valid JSON it says so and leaves your text alone.
How many undo steps are there?
One hundred, shared by the tree, table and tools. In Text mode the editor also has its own undo for typing.
How do I use this json editor tool?
Use the interactive controls above; processing stays in your browser and the result is intended as a practical starting point for development work.

More Formatters & Parsers

View all Formatters & Parsers tools →