Skip to content

YAML to JSON FREE

Convert YAML to JSON with a safe parser: no tags, no anchors that expand without bound, and no object construction.

Free to use No registration Privacy-first

Drop a file here, or choose one

CSV, TSV, JSON, YAML, XML, Markdown, HTML, plain text, Excel workbooks, and audio and video. The format is read from the file itself, not from its name.

Your files

Convert to

Columns

Uncheck a column to leave it out, type over a name to rename it, and use the arrows to reorder. The preview below follows.

Options

What was read

How it works

How this conversion works

The parser reads the common subset: mappings, sequences, scalars, comments, block strings and inline flow collections. It deliberately does not read tags, anchors or custom types.

That is a security decision, not a shortcut. A YAML parser that can construct arbitrary objects is a remote code execution surface - it is the class of bug behind some of the best known vulnerabilities in several languages - and this parser runs on files from strangers. A document that uses those features is reported rather than half-read.

The JSON that comes out is pretty-printed with two-space indentation and preserves the order the keys were written in.

Build a better web, faster.

We build custom software and solutions tailored to your needs.

Get in touch