Tested tool guide
Tested browser tools
Checked August 16, 2026
What YAML Formatter & Validator does, with a checked example
YAML is forgiving about whitespace, which is why config files drift into a mess: sequences at odd indent levels, double spaces after colons, tabs where spaces belong. This tool parses the document you paste, re-emits it with a consistent two-space layout, and flags anything that does not parse, highlighting the offending line and column. The surprise most people hit: validation passing does not mean the document means what you think. Unquoted values become numbers, booleans, or timestamps, duplicate keys are often accepted with the last one winning, and processing happens entirely in the browser, which matters because config files routinely contain credentials. Read the lint output, not just the check mark.
Worked example
A concrete input and expected output from the current implementation.
Input
name: demo
version: "1.0"
enabled: true
servers:
- host: web1
port: 80
- host: web2
port: 8080
->
Expected output
name: demo
version: "1.0"
enabled: true
servers:
- host: web1
port: 80
- host: web2
port: 8080
The input parses as written, because YAML permits a block sequence at the same column as a top-level key, so validation passes before formatting runs; the formatter then re-emits the same structure with two-space indentation, dashes under their key and nested keys two spaces deeper, while the quotes around 1.0 are untouched because quoting controls the value's type.