How to use it
- 1
Choose YAML → JSON or JSON → YAML.
- 2
Paste the document and run the conversion.
- 3
Copy the result and verify it in the target application.
What the tool can do
- Indented mappings and sequences using two-space indentation.
- Plain, single-quoted, and double-quoted scalars, numbers, booleans, and null.
- Inline arrays and objects when written with JSON syntax.
- JSON → YAML for JSON-compatible values with safe quoting of ambiguous strings.
Common use cases
- Preparing a simple CI/CD or application configuration.
- Finding duplicate keys and indentation errors.
- Converting test data between JSON and YAML.
How it works inside
YAML indentation must use multiples of two spaces; tabs are rejected.
Input is limited to 500,000 characters, 5,000 nodes, and depth 32.
Questions and answers
Will YAML comments survive conversion to JSON?
JSON does not support comments, so they will not appear in the result. Keep the source YAML separately if the notes matter. Conversion preserves data rather than document formatting.
Why are some YAML files rejected?
The tool supports a limited YAML subset. Reusable block references and special tags are not processed. Read the error and use a dedicated YAML parser if your file relies on those features.
