About JSON Editor
What it does
JSON Editor parses, formats, validates, searches, and converts JSON in your browser. Paste or drag-drop a file in the input pane and choose how to view the output: Pretty, Tree, Minified, XML, or YAML.
How it works
- Parsing uses the browser's native
JSON.parsefor correctness — every invalid character is reported with line + column. - Tree view renders nodes as collapsible blocks with type-aware colour coding (strings green, numbers amber, booleans / null violet, keys cyan).
- XML / YAML conversions walk a typed AST so nested keys + types survive round-tripping back to JSON.
- Search works on both panes with optional regex; matches are highlighted under the live text via a synced backdrop overlay.
Persistence
Your input + view preferences are saved to chorecrush:json-editor:v1 in localStorage so a refresh or a tab restore picks up exactly where you left off. The global Save panel also lets you snapshot named versions.
Limits
- Schema validation (JSON Schema / Zod) isn't built in yet.
- JSON Lines isn't a first-class mode — only the first line of a JSONL stream parses successfully.
- GraphQL document parsing isn't supported.
Privacy
Nothing is uploaded. Parsing, conversion, and search all run inside the browser tab. Your data stays on the device, persisted only in localStorage that you can clear at any time.