JSON Editor
Build and edit JSON visually — add keys, change types, rename fields — no raw syntax.
Entrée JSON
Éditeur visuel
Qu'est-ce que JSON Editor ?
A visual JSON editor lets you build and modify a JSON document by clicking buttons and filling in fields — renaming a key, changing a value's type, adding a new property, or deleting an item — instead of hand-editing raw text and hoping you don't break a bracket or forget a comma somewhere. It's a different tool from a text-based JSON editor (like the JSON Formatter's editor): every key has its own rename field, every value has a type selector that switches between string/number/boolean/null/object/array and resets to a sensible default for that type, and every object or array has an inline "add key" or "add item" row. A live, read-only preview on the side always shows the exact JSON text your visual edits produce, so you can copy it out the moment it looks right.
Comment utiliser JSON Editor
- Paste existing JSON into the import box at the top and click "Load into editor" — or click "Load sample" to start from a worked example.
- Edit the tree on the left: type into a value field, use the type dropdown to change a value's type, rename a key by editing its name field, or click the trash icon to delete a key/item.
- Use the "Add key" / "Add item" row at the bottom of any object or array to insert a new entry.
- Watch the live preview on the right update instantly, then copy the result once you're happy with it.
Exemples
Changing a value's type
Entrée
{"active": "true"}
Sortie
Switch the type dropdown from string to boolean → {"active": true}
Adding a new key to an object
Entrée
{"name": "Ada"}
Sortie
Add key "born" (number) → {"name": "Ada", "born": 1815}
Erreurs courantes
- Forgetting that changing a value's type resets it to that type's default — copy the value out first if you'll need to reference the old one.
- Trying to rename a key to a name that's already used by a sibling key — this is blocked rather than silently overwriting the other key's value.
- Expecting the import box to stay in sync with your visual edits — it's only a one-way "load into editor" seed, not a live mirror (use the read-only preview panel for that).
Pourquoi utiliser cet outil
- Runs entirely in your browser — no document you build or edit is ever sent to a server.
- Removes an entire class of hand-editing mistakes (trailing commas, mismatched brackets, unquoted keys) since you're never typing raw JSON syntax.
- The type dropdown makes it easy to fix a common API-integration annoyance — a value came back as the string "true" or "42" instead of an actual boolean or number.