Loading tool…
Setting up your workspace on this device.
Convert config documents between YAML and JSON.
Loading tool…
Setting up your workspace on this device.
Advertisement
YAML ↔ JSON converts YAML to JSON and JSON to YAML as you type. Pick a direction, paste a config file or snippet, and choose 2- or 4-space indentation for the output. Nested maps, lists, numbers, booleans and null values carry across, and if the input has a syntax problem the parser’s message appears in the output panel instead of a half-finished result. Copy the output, or press Reverse using output to send it back the other way. Conversion happens in your browser, so configs with secrets or internal hostnames are never uploaded.
Open YAML ↔ JSON
Launch YAML ↔ JSON directly in your browser — there is nothing to download, install, or configure first.
Add your input
Paste your text or load your file into YAML ↔ JSON to begin — no preparation or cleanup needed.
Choose a format and convert
Pick the target format or options and run YAML ↔ JSON. The conversion happens instantly on your device.
No. JSON has no comment syntax, so comments are dropped when converting to JSON and cannot be restored on the way back.
It converts one document at a time. If your file contains --- separators, paste each document separately.
They are resolved, so each alias is replaced with a full copy of the anchored value in the JSON output.
No. The converter follows YAML 1.2, where only true and false are booleans, so values such as yes, no, on and off stay as strings.
Yes. YAML ↔ JSON is completely free, with no account, no paywall, and no usage limits.
No. YAML ↔ JSON works instantly in any modern web browser — there is no software to install, no extension, and no sign-up.