Files stay on your device Use JSON to YAML ↓

JSON to YAML Online — Free & Private

Parse YAML to JSON, or dump JSON as YAML.

No sign-up required Files stay on your device Works offline once loaded

Loading the tool workspace…

Convert one YAML document to JSON, or JSON to YAML, locally. A real YAML parser reports indentation and duplicate-key errors. JSON-compatible scalar rules preserve date-looking strings, booleans, null, long numbers and exact decimal digits. Non-string mapping keys, circular aliases and unsupported tags are rejected instead of being silently changed.

js-yaml runs in this browser. Config text is not uploaded.

Large files and OCR need sufficient device memory; review the downloaded result before using it.

Parse YAML to JSON, or dump JSON as YAML. Everything runs in this tab — nothing is uploaded for the core job.

  1. Paste YAML or JSON.
  2. Pick the direction.
  3. Read the error if indentation or commas are wrong.
  4. Copy the result.

Privacy proof for JSON to YAML

This tool processes input in your browser. Open DevTools → Network while you run it to check the requests. Some tools need downloaded libraries on their first use.

Popular available tools for everyday tasks. Browse categories or search the full catalog.

Star any tool — it appears under Favorites on this device.

Available tools process your files and text on your device. Choose the operation you need, check its supported inputs and limits, and keep the original file until you have reviewed the result. PDF compression offers a lossless mode and optional image-based modes; image-based exports lose selectable text. Scanned PDFs need OCR for text extraction. OCR language models may need an initial download. Some catalog operations are still being completed and are clearly marked as unavailable. A current browser and sufficient device memory are required. Optional sign-in stores activity metadata, not your documents.

Are anchors supported?

Non-circular aliases are supported, with a maximum of 100 aliases and 50,000 expanded values.

Which YAML scalar rules are used?

YAML 1.2 JSON schema: true, false and null have JSON meanings. Date-looking values and yes/no words stay strings.

Can I convert multiple documents?

No. Paste one document at a time.

What about infinity, custom tags or complex keys?

Use JSON-compatible values. Unsupported explicit tags and non-string mapping keys produce an error.

From our blog: How to Use JSON to YAML Online (Free & Private)