Skip to main content
dubinity

Developer & Web

YAML Formatter and Validator

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

  • Runs in your browser
  • Works on mobile
  • In: YAML
  • Out: YAML
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 Formatter and Validator

Reformats docker-compose files, Kubernetes manifests, GitHub Actions workflows and any other YAML to 2 or 4 space indentation, keeping your comments.

It parses with a YAML 1.2 parser first, so anything that would fail in your pipeline fails here with a position and a message instead. Multi-document files (separated by ---) are supported.

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
  • YAML to JSON Converter

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

    YAML
    Runs in your browserOpen tool
  • JSON to YAML Converter

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

    JSON
    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