JSON to YAML Converter

Developer Tools

Convert JSON into clean YAML

FreePrivateInstant
Add a file · .txt .md .csv .json … · up to 2.00 MB

Similar tools you may like

History

All history →

JSON to YAML Converter — at a glance

Turn JSON data into YAML, the friendly format used by Docker, Kubernetes and CI tools.

Input
{"name":"app","port":80}
Run
Result
name: app
port: 80

How to use it — step by step

Valid JSON — an object or an array.

1

Paste your input

Paste or type your content into the big input box.

2

Convert to YAML

Press the button. The result is created instantly on your device.

3

Copy the result

Check the output and press Copy to use it anywhere.

Pro tips

Small things that make the result better.

✦YAML uses indentation instead of braces, so copy it exactly as shown.
✦Strings that look like numbers or booleans are quoted automatically.
✦Validate your JSON first if you see an error.

Quick facts

Nestedobjects and arrays
Safequotes when needed
Instantno waiting
Freeno signup

Frequently Asked Questions

Can it convert YAML back to JSON?+

Not yet. This tool converts JSON → YAML only.

Why are some strings in quotes?+

Values like "true", "123" or text with colons would change meaning in YAML, so they are quoted to stay strings.

Is my data safe?+

Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.

More Free Tools