Install ChoreCrush — works offline

JSON Editor

About
JSON Input

Output

Invalid JSONInput is empty

Fix the highlighted issue in the editor and the output will appear automatically.
Drag the bar between the panes to resize · double-click it to reset

Notes

What it does

  • Live validation — the status badge under the editor flips between green "Valid JSON" and red "Line N, col M — <message>" as you type.
  • Pretty / Minified — pretty uses 2-space indent (Node / Prettier default); minified is single-line, no whitespace.
  • JSON → XML — arrays render as siblings of the parent's tag; objects nest. Tag names get sanitized to a valid XML NCName so the output always parses.
  • JSON → YAML — uses js-yaml(the standard for YAML in JS), preserves key order, 2-space indent, 100-column line wrap.

Search

  • Hit Search in the toolbar to open the find bar.
  • Toggle the .* button to switch between literal text search (case-insensitive) and JS regex (multiline + global). Invalid regex returns zero matches without throwing.
  • Enter jumps to the next match; Shift+Enterto the previous. Each jump moves the textarea selection so the browser scrolls the match into view.

Privacy

  • Everything runs in your browser — parsing, formatting, conversion, search. There's no upload, no server, nothing to log.

Heads-up: very large JSON (≥ 5 MB) can pause the UI for a beat while the parse + format runs on the main thread. For full datasets, prefer your editor's built-in JSON tools or a CLI (jq).

Frequently asked questions

How do I format or beautify JSON online?

Paste your JSON in the left pane and it is pretty-printed with proper indentation in real time. A one-click minify does the reverse — strips whitespace to the smallest valid JSON. Everything runs in your browser.

How do I find what is wrong with my JSON?

The editor validates as you type and points to the exact line and column of a syntax error (missing comma, unclosed bracket, trailing comma), so you can fix invalid JSON quickly.

Can I convert JSON to XML or YAML?

Yes. One click converts your JSON to XML or to YAML, and you can copy or download the result as a .json, .xml or .yaml file.

Can I search inside large JSON?

Yes — there is text and regular-expression search with previous / next navigation, which makes it easy to jump between matches in big JSON documents.

Is the JSON editor free and private?

It is free with no signup, and nothing is uploaded — parsing, formatting and conversion all happen on your device, so confidential data such as API responses or config never leaves the browser tab. Your input is also saved in localStorage so it survives a refresh.