JSON editor
Edit, validate and explore JSON in a tree or code view.
About this tool
Edit JSON visually in a tree or switch to raw code when you need precision. Validation catches syntax errors before you copy the result back into your app or API client.
Why use it
- Tree view makes nested objects easy to expand and edit.
- Code mode for bulk paste and search-replace workflows.
- Minify with one click for production payloads.
Common use cases
- Fix a broken config file from a deployment error log.
- Explore an API response before mapping fields in code.
- Tidy JSON before committing to documentation.
Tips
- Load pasted JSON first, then switch modes — the editor keeps the same data.
- Use tree view to spot missing keys; use code view for fast renames.
How to use
- Paste JSON and load.
- Edit in tree or code mode.
- Copy or minify the result.
FAQ
- Is my JSON sent to a server?
- No. The editor runs entirely in your browser; your data stays on your device.
- What is the difference from the JSON formatter?
- The formatter pretty-prints or minifies text. The editor lets you change values in a tree or code view.
- Can I edit nested objects?
- Yes. Tree mode expands objects and arrays so you can edit fields individually.
- Does it validate JSON?
- Invalid JSON shows an error when you load or export; fix syntax before copying.
- Can I switch between tree and code?
- Yes. Use the mode menu in the editor toolbar after loading valid JSON.
- Is there a size limit?
- Very large documents may slow the browser, but nothing is uploaded to Frespy.