Skip to main content
>_devtools

YAML Formatter & Validator

Format, minify, validate, or explore YAML documents with comment handling and positioned syntax errors.

What it does

Format, minify, validate, or explore YAML from one editor. Choose a mode to see formatted text, compact flow style, validation details, or a parsed tree.

Example

Input:
service: devtools
port: 4321

Output (Format):
service: devtools
port: 4321

Limits and behavior

  • Inputs over 5 MB are refused; syntax errors include the document, line, and column.
  • Minifying drops comments; formatting can sort keys.
  • Tree mode shows the parsed YAML value with anchors resolved.