DEVELOPER TOOLS

JSON Editor

Paste, format, search, and edit JSON in text, tree, or table mode. Work in your browser and save recent JSON on this device.

Editor
Mode: Text
Current JSON
Valid JSONobject
Size
217 bytes
Max depth
4

The largest properties are shown below. Formatting changes do not change the JSON values.

JSON Size by property% of JSON

Nested properties are collapsed by default. Expand rows to inspect deeper fields. Sizes use compact JSON so whitespace does not hide the properties that take the most space.

Saved on this device

Pasted or saved JSON documents stay in this browser only.

No data
No saved JSON yet.

How to edit JSON safely

What the editor does

Three views for the same data

Text mode is best for pasting and raw edits. Tree mode is easier for nested objects. Table mode helps when arrays contain similar objects.

Formatting is separate from data

Pretty formatting adds line breaks and indentation. Compact formatting removes extra whitespace. Both keep the parsed JSON values the same.

Local history stays on this device

Valid pasted JSON is added to history automatically. Use Save to history for edited documents you want to keep.

Common mistakes

Using JavaScript object syntax

JSON needs double-quoted property names and strings. Single quotes, comments, and trailing commas are not valid JSON.

Trusting duplicate keys

JSON object names should be unique. Different tools can handle duplicate names differently, so remove duplicates before sharing data.

Forgetting that array order matters

Arrays are ordered lists. Moving an item can change the meaning even when the same values are still present.

Tips

Format before reading

After pasting compact JSON, switch to tree mode or use the editor format button so nested objects are easier to scan.

Save only useful payloads

Local history is helpful for repeated debugging, but avoid saving secrets, tokens, or private customer data.

Use compact copy for logs

Compact JSON is useful when you need one-line output for logs, command-line tools, or chat messages.