Skip to main content
dubinity

Developer & Web

YAML to JSON Converter

Convert YAML into JSON, including multi-document files, with a choice of indentation or minified output.

  • Runs in your browser
  • Works on mobile
  • In: YAML
  • Out: JSON
Loading the tool…

Your files and text are processed on your own device, inside this page. Nothing is uploaded to Dubinity or stored, and closing the tab discards it. How privacy works

About YAML to JSON Converter

Parses YAML 1.2 and writes the result as JSON. Files with several documents separated by --- become an array, or you can convert only the first document.

Aliases are capped so a deliberately nested "billion laughs" document cannot exhaust your browser's memory. Comments are dropped, because JSON has nowhere to put them.

How to use it

  1. 1Type or paste your text, or open a file.
  2. 2Choose any options - the result updates as you type.
  3. 3Copy the result or download it as a file.

Questions

Was this tool helpful?

All developer tools
  • JSON to YAML Converter

    Convert JSON into YAML, keeping long integer IDs exact instead of rounding them.

    JSON
    Runs in your browserOpen tool
  • YAML Formatter and Validator

    Tidy YAML to consistent indentation and check it parses, with the line and column of any error.

    YAML
    Runs in your browserOpen tool
  • JSON Formatter

    Format and indent JSON, or minify it, with exact error positions and big numbers kept as written.

    JSON
    Runs in your browserOpen tool
  • Password Generator

    Create strong random passwords with the character rules a site demands, and see the real entropy.

    NONE
    Runs in your browserOpen tool
  • What Is My IP

    See the IP address our server sees, the rough location attached to it and what your browser sends.

    NONE
    Server lookupOpen tool
  • Regex Tester

    Test regular expressions live with highlighted matches, capture groups and a replacement preview.

    TEXT
    Runs in your browserOpen tool