jfmt.dev

JSON to YAML

Paste JSON on the left and copy YAML on the right. Built for Kubernetes snippets, CI config, and docs that prefer YAML.

input.json

JSON formatter

Input0 B
Output · preview.json
{ }

Run a tool to see a polished result here

Live syncReady · processed locally in your browser
Local-only processing: your JSON never leaves this browser tab.

What conversion preserves

Objects, arrays, strings, numbers, booleans, and null map to YAML. Invalid JSON is rejected before conversion. YAML-to-JSON is available from the same editor sidebar. Everything stays local.

FAQ

Will comments in JSON survive?

Standard JSON has no comments. Repair comments first if you pasted JS-style input, then convert.

Is YAML-to-JSON on this page?

This URL starts in JSON→YAML. Switch the sidebar to convert the other way without leaving the editor.

Is my file uploaded?

No.