ViewEarn.Find a tool ↗

YAML Formatter

Validate and reformat YAML data.

How to use YAML Formatter

Paste one YAML document to normalize indentation. Formatting serializes data and drops comments.

Using YAML Formatter

Format a YAML document to make mappings and nested lists easier to review. Check indentation before comparing individual values; a small indentation change can place a setting under a different parent.

What to check in the result

Formatting is not a validation of application-specific configuration. Preserve a copy of comments and ordering if they matter to your workflow. Review parser messages instead of assuming that a visually aligned file is valid.

Questions about YAML Formatter

Can tabs be used for indentation?

Use spaces for YAML indentation; tabs can cause parsing problems.

Related tools