On this page
1. Open the JSON file from disk #
Keep a separate copy of the original file. Open JSON Editor Online and choose Open → Open from disk in the panel you want to use. Select the working copy. The document should appear in that panel. You can also drag a JSON file onto a panel. Official disk-file instructions.
For this walkthrough, imagine a small, fictional website-settings file with a pages array. You need to change the title of one page and mark it as featured. The example is just a way to explain the edit; use the actual field names required by your application.
Decide what you'll change before touching the values. Write the containing path and intended replacement down if several objects look alike. Editing pages[0].title and editing the first title you happen to notice can produce different results.
2. Read the text and check its starting shape #
Use the mode toggle to select Text. If the input is valid, click Format to add readable indentation. Smart Format keeps smaller structures compact, while Compact removes spacing and newlines. Formatting controls.
Read the section that contains the intended field. In the fictional example, confirm that pages is an array and that the relevant object contains the page identifier you expect. A changed display title shouldn't accidentally change an identifier another part of the website uses.
If the editor shows an error, click its message to move to the location. Text mode offers Auto Repair for several punctuation and formatting problems. Review the proposal before continuing. A repaired document may parse while still saying something different from the input you intended. Repair documentation.
You should now have a readable document or a specific error to resolve. Don't continue a large edit while the starting structure is unclear.
3. Change the intended key or value in Tree mode #
Switch the mode toggle to Tree. Expand the parent object or array until you reach the intended field. Select its value and press Enter, or double-click it. Enter the replacement and press Enter again to finish. Escape cancels the field edit. Tree editing and context-menu instructions.
Change the page title in the fictional example, then inspect the neighboring identifier to confirm that you're still in the right object. For a Boolean field such as featured, preserve the Boolean type expected by the application. A text value that spells a word isn't automatically the same thing as the corresponding Boolean.
If your task requires removing an item, select it and use Remove from the context menu or Delete. Confirm the selected parent before applying that operation. For a first edit, I'd change only the fields needed for the task and leave rearranging the rest of the document for another review.
You should see the replacement under the same parent, with the surrounding keys intact.
4. Inspect the structure and any schema warnings #
Switch back to Text to inspect the resulting structure. Read the edited object from its opening brace to its closing brace. Check the field names, types and surrounding array position against the receiving application's instructions.
If the application provides a JSON Schema, configure it through Document Properties → Schema → Configure. The editor can display schema warnings, but it doesn't prevent you from keeping a value that violates the schema. Click a warning to inspect its location. Schema configuration.
For example, a fictional schema could require the page title to be a string and featured to be a Boolean. Passing those rules still wouldn't prove that you've edited the correct page. Use the page identifier and the intended task as the second part of the review. The JSON Schema reference explains the format if you're working with a schema supplied by the application.
You should reach a result that both parses and matches the change you meant to make. Resolve the warnings that affect the required fields before saving.
5. Save the result as a separate disk file #
Choose Save → Save to disk. Give the result a name that distinguishes it from the original, such as website-settings-edited.json. Official save route.
Open the downloaded file again and inspect the changed object. Check the whole replacement value, including punctuation inside strings and any digits that matter. If the receiving application requires a particular filename, apply that name only after you've finished this review.
I'd retain the original and the reviewed replacement until the receiving application has accepted the change. That makes it easier to return to the previous configuration if the application rejects an otherwise valid document.
You should now have a concrete local file to review or import, rather than only an unsaved editor state.
6. Check the application's result before replacing anything else #
Use the receiving application's documented import or configuration workflow. If it reports an error, keep that exact message and compare the expected fields with the saved document. A syntax check can confirm the JSON grammar; it can't promise that a particular website accepts every key or value.
For the fictional example, check that the intended page displays its revised title and that its featured state matches the requested change. A successful import message alone won't tell you whether a similar neighboring record was edited by mistake.
If the JSON belongs to a maintained codebase, review the final text change in VS Code alongside the application's other files. That also gives the next person the context needed to review the edit.
Known problems during a JSON edit #
The parser complains about a quoted object key
In a November 2025 open3e discussion, JSON Editor Online reported a quoted-key error when a generated payload used single quotes. The follow-up supplied valid double-quoted JSON and also changed the receiving command mode. Discussion and replies.
Replace single or curly quotation marks with ordinary double quotes where JSON requires them. Then check the application's required structure separately. That thread involved both syntax and the receiving command, so correcting the quotes was only part of the task.
Selecting lines throws an extension error
A January 2025 report described a selection error in Chrome 131 on macOS with the Apple iCloud Passwords extension installed. Its error named an extension content script. Editor issue.
If the same symptoms appear, compare the edit in a browser profile without that extension or another supported browser. That isolates the conflict without changing the JSON. Keep the JSON unchanged while checking the browser conflict, so a selection problem doesn't turn into an accidental data edit.
Long numeric identifiers change
The editor's Settings → Configure editor includes parser choices. Auto select uses the Lossless parser up to 10 MB and the Native parser above that size. Native parsing can round long numbers; Lossless preserves them and the spelling of numbers such as 4.0. After changing the parser, reload the document for the selection to apply. Parser documentation.
For a document containing long numeric IDs, choose Lossless JSON parser before reloading your original working copy. Inspect the saved digits afterward. Don't change an ID to a quoted string unless the receiving application accepts that type.
Troubleshooting table #
| Problem | Cause to check | Fix |
|---|---|---|
| Quoted-key or string error | Single/curly quotes or an incomplete string | Inspect the error location and use valid double-quoted JSON |
| The edit changed the wrong record | Similar objects share the same key names | Check the containing path and record identifier |
| A schema warning remains | Value or structure conflicts with the supplied schema | Review the highlighted field against the application's schema |
| Line selection throws a content-script error | Browser extension interaction | Compare in a profile without the implicated extension |
| A long ID loses digits | Native parser precision | Select Lossless, reload the input and verify the saved digits |
| The website rejects valid JSON | Application-specific key, type or nesting requirements | Compare with its current documented example or schema |
Variations for related jobs #
Edit an array as a table
Select Table when the document contains an array of similarly shaped objects. Double-click a cell or select it and press Enter to edit. For nested content, inspect the object's structure before deciding that each visible column is a complete record. Table-mode documentation.
Turn a small response into an explanation
If the next person needs to understand the hierarchy, JSON Crack can make a compact graph from a small response. Give them the explanation and the actual JSON file when they need both a visual overview and machine-readable data.
Keep recurring edits beside the website project
For a file you'll maintain repeatedly, move the reviewed change into the existing project workflow. A visual editor is handy for learning a nested structure; the ongoing review should also show where the file belongs and why the edit was made.
How to edit JSON with JSON Editor Online: final checks #
- The original and working copy are separately saved.
- The edited field belongs to the intended record and parent.
- Key names and value types match the receiving application's requirements.
- Repairs were reviewed, and required schema warnings were resolved.
- The downloaded file contains the complete replacement value.
- Long numeric identifiers retain the expected digits.
- The receiving application shows the intended result.
Next steps #
Use the best free JSON viewers and editors to choose a desktop, browser or scripted workflow. JSON Editor Online vs JSON Crack covers the editor-versus-diagram choice and document-sharing permissions. For occasional response inspection, the built-in Firefox viewer is another starting point.
Featured illustration: WebIndexly, created with OpenAI image generation.
Explore more in Developer Tools
- Browse all Developer Tools websites
- 8 Best Free JSON Viewers and Editors in 2026
- 8 Best Regex Testing Tools for Matching and Understanding Patterns
- 8 Best Documentation Site Generators for Product and Project Docs
- crontab guru vs Cronhub: Two Free Schedule Editors
- WAVE vs axe DevTools: Which Helps You Fix the Page?




