99+ Free Tools
← Back ✕ Close

YAML to JSON Converter

Paste YAML config text and get pretty-printed JSON instantly. Nested maps and lists are handled.

A server rack with blinking lights
Numbers, true/false and null keep their types; quoted values stay text.

YAML

JSON

Paste YAML to see the JSON.

How this tool works

Method. Indented maps and “-” lists are rebuilt as JSON objects and arrays. Plain numbers, true/false and null keep their types; quoted values stay text. Comments starting with # are ignored.

Privacy. Everything happens in your browser. Nothing is uploaded or shared; the recent-conversions record stays on this device only.

Limits. Tabs are flagged — YAML indentation needs spaces. Bad lines are reported with their line number.