YAML to JSON

Check a YAML file and see it as JSON. Nothing leaves your browser.

Your files stay with you. Your files never leave your browser. This tool runs on your device: nothing is uploaded to our servers, so there is nothing for us to store or see.

How to use it

  1. Paste YAML or open a .yaml / .yml file.
  2. Choose the JSON layout.
  3. Copy the JSON or download data.json.

Questions people ask

Why do I get an indentation error?
YAML uses spaces, never tabs, to show structure, and items at the same level must line up. The error names the line and column so you can fix the spacing.
Is this safe for files with secrets?
The file is read in your browser by a parser in safe mode that cannot run code. Still, avoid pasting production secrets on a shared computer.
What about files with several documents separated by ---?
They are returned as a JSON list with one item per document.
Which YAML version is supported?
The widely used YAML 1.2 core schema through the open-source js-yaml library. Rare features such as custom tags are not supported.

Want this inside your own account?

Marketiism keeps your invoice numbers, GST reports, UPI payment links and WhatsApp reminders in one place. Leave your details and we'll call to set it up for your business, or start the trial yourself.

Start free trial

We use this only to contact you about Marketiism. No spam.

More Developer tools

JSON to YAML

Convert JSON into clean YAML for configs, Kubernetes and CI files.

JSON Formatter

Format, validate and minify JSON, and see exactly which line has a mistake.

CSV to JSON

Convert CSV rows into a JSON list, with numbers and true/false detected.

JSON to CSV

Turn a JSON list of records into CSV for Excel or Google Sheets.

XML Formatter

Pretty-print or minify XML and find unclosed or mismatched tags.

Try it on your own business for two weeks.

14 days free, no card. If you get stuck setting up WhatsApp, we'll get on a call and do it with you.