FORMATFYCOM formátovač · validátor · minifikátor About

What's new

JSON to YAML Converter

Convert JSON to clean YAML with your indentation and optional sorted keys. Explains and fixes JSON errors. Free, in your browser.

Input

Output


      

How to convert JSON to YAML

Converts JSON to clean YAML with 2- or 4-space indentation and optional sorted keys — for configs, Kubernetes manifests or documentation.

  1. Paste JSON

    Copy the data or drop a file. JSON errors are explained and fixed just like in the formatter.

  2. Set up the conversion

    Options in the toolbar: indentation, delimiter, value types.

  3. Copy or download

    The YAML updates as you type; copy it or download it as a file.

What the conversion does

Readable output

No unnecessary quotes, multi-line text as a block.

Sorted keys

A stable order for diffs in git.

JSON errors

Invalid JSON is explained and fixed first.

FAQ

Is YAML a superset of JSON?

Yes — valid JSON is valid YAML 1.2, so the conversion mostly improves readability.

Is it free, without sign-up?

Yes. No sign-up, no ads and no size limit — the only limit is your computer.

Is my data sent to a server?

No. Everything runs in your browser and the data you paste never leaves it — fine even for data with tokens or personal information.

Related tools