DEVELOPER TOOLS · LOCAL ONLY

YAML Formatter

Normalize YAML indentation and spacing into one consistent style.

Up to 200,000 characters. Basic mappings only; list items are not supported yet.

Format
4 lines · 53 bytes
0 lines · 0 bytes
Run the tool to see the result

Up to 200,000 characters. Basic mappings only; list items are not supported yet.

How to use

Normalize YAML indentation and spacing into one consistent style.

Rewrite YAML with mismatched indentation and inconsistent spacing after the colon into a standard two-space style. Strings that look like numbers or booleans keep their quotes, so tidying the file never changes a value's type.

Limits and privacy

Up to 200,000 characters. Basic mappings only; list items are not supported yet.

Everything runs inside this browser. Your input is never uploaded, stored, or written to the URL or any log.