JSON Editor
Edit JSON visually in your browser — add, delete, rename, and retype nodes in an interactive tree, or edit raw text with syntax highlighting. Switch between Text, Tree, and Preview modes anytime.
Inserisci il testo
Incolla o digita il contenuto nel campo.
Regola le impostazioni
Configura le opzioni per ottenere il risultato desiderato.
Copia o salva
Copia l'output negli appunti o salvalo.
Funzionalità principali
Visual Tree Editing
Double-click keys or values to edit in place. Right-click for a full context menu: insert, duplicate, delete, change type, copy path.
Undo / Redo History
Every change is recorded. Press Ctrl+Z to undo and Ctrl+Y to redo. Experiment freely without fear of breaking your data.
Auto-Repair Invalid JSON
Pasted JSON with trailing commas, single quotes, or comments? One click repairs common mistakes so you can start editing immediately.
Three View Modes
Switch anytime between Text (Monaco), Tree (interactive editing), and Preview (read-only syntax-highlighted) — one editor, three ways to work.
Type Switching
Convert any value between string, number, boolean, null, object, and array with one click. Perfect for quickly reshaping test data or configs.
100% Private — No Uploads
All editing happens in your browser. Your JSON never touches a server — safe for API keys, tokens, and sensitive configurations.
Informazioni su questo strumento
Visual JSON Editor for Developers
JSON Editor is a browser-based JSON editor with three view modes: Text for raw editing with Monaco Editor, Tree for visual structure editing, and Preview for read-only syntax-highlighted display.
In Tree mode, double-click a key or value to edit it in place. Right-click any node for the full context menu: insert before or after, duplicate, change type, delete, copy path. Undo and redo are available at every step. When you paste invalid JSON, one click repairs common mistakes like trailing commas, single quotes, and JavaScript comments.
How to Use JSON Editor
- Paste, type, or drop a
.jsonfile into the editor - If the JSON is invalid, click Auto Repair to fix common mistakes
- Use the view switcher to pick Text, Tree, or Preview mode
- In Tree mode: double-click any key or value to edit in place; right-click for insert/duplicate/delete/change type/copy path
- Use Ctrl+Z / Ctrl+Y to undo and redo
- Click Format, Minify, or Smart to reformat, then Download or Copy to export
Key Features
- Three View Modes: Text (Monaco), Tree (interactive), Preview (read-only) — switch anytime
- Visual Tree Editing: Double-click any key or value, right-click for the full context menu
- Full Type Switching: Convert any value between string, number, boolean, null, object, and array
- Undo / Redo: 50-step history with Ctrl+Z / Ctrl+Y shortcuts
- Auto Repair: Fixes trailing commas, single quotes, missing quotes, JavaScript comments, and more
- Smart Format: Inline short arrays/objects, expand long ones — compact yet readable
- Monaco Editor: The same code editor that powers VS Code, for raw text editing
- Path Display & Copy: Click any node to see and copy its JSON Path
- 100% Browser-Based: No server uploads — your data stays on your device
Common Use Cases
- Config File Editing: Safely modify
package.json,tsconfig.json, or Kubernetes manifests without syntax errors - Test Data Crafting: Quickly build fixtures by duplicating nodes, changing types, and renaming keys
- API Response Debugging: Paste a response, restructure it, and diff against the expected shape
- Schema Migration: Compare two versions of a JSON document to see exactly what changed
- Fixing Broken JSON: Use Auto Repair to recover from trailing commas, stray quotes, or mixed delimiters
- Data Cleanup: Delete unwanted fields in bulk with right-click + Delete, then export the cleaned data
Privacy-First JSON Editing
Every edit, repair, and diff runs entirely in your browser. Your JSON is never uploaded or logged anywhere.
- Data never leaves your device — zero network requests during editing
- Safe for sensitive API keys, tokens, and configuration secrets
- Works completely offline after the page loads
- No analytics on your JSON content — we only track tool usage, never data