YAML to JSON converter
Turn a YAML or YML file into JSON. The file is read on your device and never uploaded.
How to convert YAML to JSON
- Drop your YAML files into the box above.
- Choose Convert to JSON.
- Download the result.
About this conversion
YAML is easy to read and common in config files, while many tools and APIs expect JSON. This converter reads your YAML and writes indented JSON. It helps when you test a Docker, Kubernetes or CI config, or need to send YAML data to an API. YAML comments are dropped, because JSON has no comments. If the file has a syntax error, you see a clear message.
YAML to JSON questions
What happens to comments in my YAML?
They are removed, because JSON does not support comments.
Does it accept .yml files?
Yes. Both .yaml and .yml files work.
Is my YAML file uploaded anywhere?
No. The conversion runs in your browser, on your device. Your files are never sent to a server.
Is there a file size limit?
There is no fixed limit from us, because nothing is uploaded. Very large files depend on the memory of your device.
Can I convert several files at once?
Yes. Drop several files together. If there is more than one result, you can download them all as a ZIP.
Do I need to sign up or install anything?
No. There is no account, no app and no watermark. Open the page and convert.
What is a YAML file?
YAML is a readable data format common in configuration files.
What is a JSON file?
JSON is the standard text format for data in apps and APIs.
Does converting YAML to JSON change the quality?
Your values are copied as they are. Only the format changes.
Does ShiftDeck keep a copy of my YAML file?
No. The file only exists in your browser tab. When you close or refresh the page it is gone, because ShiftDeck never receives it.
Does YAML to JSON work on iPhone and Android?
Yes. It works in current mobile browsers such as Safari and Chrome. Tap the box, choose the file from your phone and save the result.
Can I convert JSON back to YAML?
Yes. Use the JSON to YAML converter on ShiftDeck. Converting back does not restore detail that was lost in the first conversion.
How much does YAML to JSON cost?
It is free. There is no account, no watermark and no daily limit.