Skip to content
FizzKit

JSON to YAML

Translate JSON into YAML 1.2 with proper indentation and string quoting. Choose the indent, quote style, null style and wrap width, emit anchors for repeated objects, sort keys, and turn a top-level array into a multi-document stream. Ideal for moving config between tools that prefer one format over the other.

Runs locally in your browser
For large JSON, open fullscreen for a wider view
JSON input
0 chars · 1 line
YAML output
Output will appear here…
Indent
Strings
Null
Wrap at

Multi-line strings become literal block scalars (|) automatically unless quoting is forced. Long plain strings fold at the wrap width; choose "Never wrap" to keep them on one line.

How to use JSON to YAML

  1. 1Paste or upload JSON; the YAML appears as you type.
  2. 2Adjust indent, string quoting (only when needed, always double, always single), null style and the wrap width.
  3. 3Enable anchors to merge identical objects into &ref / *ref, or the multi-document option to emit one document per array element.
  4. 4Copy or download the YAML.

About JSON to YAML

Translate JSON into YAML 1.2 with proper indentation and string quoting. Choose the indent, quote style, null style and wrap width, emit anchors for repeated objects, sort keys, and turn a top-level array into a multi-document stream. Ideal for moving config between tools that prefer one format over the other.

JSON to YAML is part of FizzKit — a collection of focused developer and ad-tech tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.

Frequently asked questions

YAML 1.2, which is a strict superset of JSON. Strings that would be misread as booleans or numbers in YAML 1.1 readers (yes, no, on, off, 1_000) are quoted automatically.