Editing JSON usually means juggling three windows: an editor to type in, a formatter to keep it readable, and a validator to catch the comma you just dropped. This tool collapses that loop into one place. Type or paste JSON, format it with your preferred indentation, and validate continuously — when the syntax breaks mid-edit, the error's line and column appear immediately, so you fix the character while your finger is still near it rather than after you have forgotten what you changed.
The scenario it is built around is the one every developer knows: hand-editing a config file under time pressure. Feature flags, CI job definitions, service settings, localization files — these are documents humans modify directly, and the failure mode is always the same. You delete one item from a list, leave its comma behind, save, deploy, and discover the problem from a failed pipeline twenty minutes later. An editor that validates as you go turns that twenty-minute discovery into a two-second underline.
Everything runs locally in your browser tab. Config files routinely hold API keys, internal hostnames, and customer settings, and none of it leaves your device. No signup, no upload, and the page works on mobile when you need to patch a config from your phone.
What the Editor Combines
Think of it as three tools sharing one text area. The editing surface is a plain text area with no hidden transformations — what you type is the document. Formatting is on demand: pick 2 spaces, 4 spaces, or a tab, and the tool re-indents your valid JSON to match, one key per line. Validation is the always-on layer: after each edit the text is parsed, and either you have a clean document or you have a precise pointer to the first syntax error.
The validation feedback deserves a concrete example. Suppose you are editing a feature-flag config and delete the last entry of a list:
- Line 1:
{ - Line 2:
"checkout": { "newFlow": true, "abTest": "flow-b" }, - Line 3:
"search": { "synonyms": ["size", "fit"] } - Line 4:
}
Delete line 3's entire object but leave its trailing comma, and the validator immediately reports an error near that comma's position — before you save, before you commit, while the deletion is still fresh in your head. The report counts from line 1, column 1 exactly as editors do, and the culprit is usually one or two characters before the reported spot.
How to Use It (Step by Step)
- Paste an existing config or start typing a new document from scratch.
- Edit freely. After each change, check the status: valid, or the line and column of the first error. Work in the valid state whenever possible.
- When the document becomes hard to read after manual edits, click format with your preferred indentation. Formatting only succeeds on valid JSON, which makes it a second, silent validation pass.
- Use copy to move the finished document into your project, or download it as a file with the right extension.
- For round-trip work — paste, tweak, paste back into your codebase — the tool changes nothing except the whitespace you explicitly formatted, so your keys and values arrive untouched.
Editing Config Files Without Breaking Them
Hand-edited JSON fails in predictable ways, and knowing the pattern list is half the defense. Trailing commas after the final member head the list, usually left behind when deleting the last item of an object or array. Single quotes slip in when you copy a value from Python or JavaScript code. Unquoted keys appear when pasting from a JS object literal. Comments feel natural in a config but are illegal in strict JSON — if you need to annotate, keep the notes in a README or a sibling schema file, not in the document itself. Smart quotes arrive via chat messages and word processors when someone shares a snippet informally.
Continuous validation catches all of these at the moment they enter the document, which changes the editing experience in a subtle way: you stop being careful and start being fast. The safety net is real because the parser is the same standard your consumers use. If this tool's parser accepts your document, so will the application, the CI step, and the API gateway reading it later.
A second practical habit: format immediately after structural surgery. If you duplicate a block to create a new entry, or reorder keys, the document drifts from consistent indentation. One format click restores order, and since formatting requires valid input, a successful format is also proof the surgery went cleanly.
Round-Trip Editing: Paste, Change, Ship
A workflow that works well in practice: pull a live config from an API or a server, which usually arrives minified on one line; paste it here and format it for readability; make your changes with validation watching; then copy the result back. Two properties make this safe. First, the tool preserves key order and never sorts, which matters because some systems — signature generation, snapshot tests, certain config loaders — behave differently if keys move. Second, formatting and your edits are the only modifications; no field is added, renamed, or dropped silently.
Compare that with editing the same file inside a general-purpose editor without JSON awareness, where the syntax check happens only if you have the right plugin configured. Or worse, with editing production JSON through a web-based service that stores your document server-side. Here the document exists only in your tab, and once you copy it out and close the page, there is no trace.
Editor vs Formatter vs Standalone Validator
If you only ever need to check a document you already have, the dedicated validator is the lighter tool. If you only need to re-indent a valid document, the formatter alone suffices. The editor earns its place when you are making changes — the case where errors appear as a direct result of your keystrokes and catching them in-flight is the whole game. Teams that hand-maintain JSON configs tend to converge on exactly this combined loop, because the cost profile is asymmetric: validating continuously costs fractions of a second per edit, while one syntax error reaching a shared repository or a deploy costs a failed build and however long it takes someone to bisect the change.
For large-scale or recurring edits — renaming a key across 40 files, say — script it instead; hand-editing does not scale. This tool is for the individual document you are changing right now.
Tips and Best Practices
- Stay in the valid state: fix each error before the next edit rather than stacking changes into a broken document where cascading errors obscure the real one.
- Prefer 2-space indentation for shared configs; it is the prevailing convention and keeps diffs narrow.
- Format right after deleting or duplicating blocks — it re-aligns the document and doubles as a validation pass.
- Never commit edits without a final validation; the two seconds is cheaper than any pipeline failure.
- Keep secrets out of JSON configs where an environment variable or secret manager can hold them instead, even though editing here is local and private.