MyJSON
Format converter

JSON and YAML, same workspace.

Toggle the editor language with a single click. Your document is converted losslessly. Format, minify, diff, and validate work natively in either mode.

Runs entirely in your browser

Lossless cross-conversion

Switch JSON↔YAML and the content converts in place. Bring back JSON later — no fidelity loss.

Two editors, one tool

All views (tree, diff, schema, query, codegen) work with whichever language you're editing.

Real diff

Compare two YAML manifests or two API responses with a Monaco-powered side-by-side diff and a structured change list.

Privacy-first

Your YAML/JSON never leaves the browser. No signup, no telemetry.

FAQ

Does YAML conversion preserve key order?
Yes. js-yaml preserves the source order when parsing into an object, and our dumper emits in the same order.
What about YAML anchors/aliases (&foo / *foo)?
They're resolved at parse time so the resulting JSON is concrete. We don't synthesize anchors when re-emitting YAML — the output is always plain.
Can I diff Kubernetes manifests?
Yes. Drop your old and new YAML into the Diff view — you get added/removed/modified counts, similarity %, and a clickable structured list.

Related tools