YAML to JSON Converter

Convert YAML to JSON online — block style, lists of maps, inline flow [a, b] and {k: v}, comments stripped. Free and 100% in-browser.

Input · yaml0 chars
Output · json0 chars

🔒 100% private: this tool runs entirely in your browser. Your data is never uploaded, stored or logged anywhere.

How to yaml → json

  1. Paste your YAML (block style, lists of maps, or inline flow style).
  2. JSON appears instantly with types inferred (numbers, booleans, null).
  3. Copy or download the .json file.

FAQ

Which YAML features are supported?

Block mappings and sequences, lists of maps, inline comments, quoted strings, flow style ([a, b], {k: v}) and anchors-free documents. Multi-document (---) files take the first document.

Are comments removed?

Yes — full-line and inline comments are stripped automatically.

Is my YAML sent anywhere?

No. Parsing happens entirely in your browser.

Related tools