YAML and JSON Converter

Your workspaceProcessed on your device
A few things to know.

UTF-8 files up to 4 MiB or pasted text up to 4,194,304 UTF-16 code units. Supports YAML 1.2 core values and string keys for JSON objects. Cycles, non-finite floats and multi-document streams cannot be represented by this conversion. The output limit is 16,777,216 characters.

  1. Choose JSON to YAML or YAML to JSON. Paste the source or select a local UTF-8 file.
  2. Convert one document. For a single-line JSON result, select Compact JSON before converting.
  3. Compare the preview and output byte count, then copy or download the complete document.