JSON to YAML Converter

Convert JSON to YAML instantly — no upload, no sign-up, fully private. 100% free.

Runs 100% in your browser. Your data never leaves this page.

Built for Obsidian, Hugo, Jekyll, and CI pipelines.

How to use

  1. Paste your JSON into the box on the left.
  2. The YAML output appears on the right in real time.
  3. Copy the result or download it as a .yaml file.

Uses js-yaml and runs entirely on your device.

Example

Input
{
  "name": "YAMLTools",
  "type": "converter",
  "private": true,
  "features": ["browser-based", "no-upload"]
}
Output
name: YAMLTools
type: converter
private: true
features:
  - browser-based
  - no-upload

When this works best

JSON numbers with no fractional part become YAML integers; very large integers may lose precision when re-parsed. Flow-style JSON stays readable but is not minified.

How it differs from related tools

Unlike our YAML to JSON converter, this converts in the opposite direction — JSON in, YAML out.

Frequently asked questions

Is this JSON to YAML converter free?

Yes. It is free, runs in your browser, and requires no sign-up.

Can I convert YAML back to JSON?

Yes — use our YAML to JSON converter.

Why does my long number look different?

JSON has no integer size limit, but YAML may parse very large integers as strings on re-read; keep such IDs as quoted strings if precision matters.

Does it handle nested objects and arrays?

Yes. Any JSON object or array is converted recursively into nested YAML mappings and sequences.

Related converters

Learn more about YAML