JSON Formatter & Visual Editor — What is jsonview.dev?
jsonview.dev is a free online JSON formatter, beautifier, and full visual editor. Paste any raw or minified JSON to instantly format, validate, and pretty-print it — then edit every field directly in an interactive tree view, including real array items. No installation, no account required. Runs 100% in your browser.
Key Features
- JSON formatter & pretty-printer — instantly format and indent any raw or minified JSON
- JSON beautifier — syntax-highlighted output with collapsible nodes
- JSON validator — syntax errors are caught and reported immediately on paste
- Real array editing — view, add, delete, duplicate, and reorder every array element individually
- Visual tree editor — add, rename, delete, and reorder fields with drag-and-drop
- Undo / Redo — step back or forward through structural changes with Ctrl+Z / Ctrl+Shift+Z
- Expand / Collapse all — open or fold the entire tree with one click
- Type switcher — toggle any field between string, number, boolean, null, object, and array
- Import JSON — paste or drag-and-drop a .json file; parses into an editable tree instantly
- Import JSON Schema — scaffold a JSON structure from a draft-07 schema definition
- Export JSON Schema — generate a draft-07 schema (with
required,integerdetection,examples) from your current tree - Random value generator — populate fields with semantically appropriate sample data
- Field search — filter nodes by key name or value (Ctrl+F / ⌘F); toggle value search inline
- Node counter — live node count and character count shown in the status bar
- Compact & pretty modes — toggle between minified and indented output
- One-click copy — copy the full JSON to clipboard instantly
- Large JSON protection — trees over 800 nodes auto-collapse to keep the UI responsive
- Runs 100% in-browser — your data never leaves your machine
How to Use
- Paste raw or minified JSON into the editor — it will be formatted instantly. Or drag-and-drop a
.jsonfile into the Import dialog. - Click + Field to build a new JSON structure from scratch. Press Enter to add the next field quickly.
- Click the type badge (e.g. str, num, arr) next to any field to change its type.
- For arrays, use ↳ to append a new element, or press Enter inside an array item.
- Use ↳ to add a child field inside an object, or + to add a sibling at the same level.
- Drag the ⠿ handle to reorder fields or array items within the same level.
- Use ↩ Undo / ↪ Redo (or Ctrl+Z / Ctrl+Shift+Z) to step through structural changes.
- Click Expand / Collapse to expand or collapse the entire tree at once.
- Press Ctrl+F / ⌘F to search fields. Enable +values to also match field values.
- Click ↑ Schema to copy a JSON Schema draft-07 of your current tree.
- Click Copy to copy the formatted JSON output to your clipboard.
Keyboard Shortcuts
- Enter — add next field / array item
- Tab / Shift+Tab — move between key and value inputs
- Backspace on empty key — delete the field
- Ctrl+Z / ⌘Z — undo last structural change
- Ctrl+Shift+Z / ⌘Shift+Z — redo
- Ctrl+F / ⌘F — focus search
FAQ
Is this JSON formatter free?
Yes. jsonview.dev is completely free with no usage limits, no account, and no install.
Does my JSON get sent to a server?
No. Everything runs entirely in your browser. Your JSON is never transmitted or stored anywhere.
Can I edit real array data, not just a schema?
Yes. Each array element is shown individually with its index label [0], [1]… You can add, delete, duplicate, reorder, and change the type of each element independently.
What JSON Schema versions are supported?
Import supports JSON Schema draft-04/07 (subset). Export targets draft-07 and includes $schema, required arrays, integer detection, and examples. $ref is not supported on import — dereference first.
Does Undo work for value edits?
Undo and Redo track structural changes only: adding, deleting, moving, duplicating nodes, changing types, importing, and clearing. Editing a key name or value directly in an input is not tracked — you can always retype it.
What browsers are supported?
Any modern browser: Chrome, Firefox, Safari, Edge. JavaScript must be enabled.