Skip to main content

YAML Formatter

Format YAML 1.2 with two- or four-space indentation. Input stays in your browser; it doesn't validate schemas or external references. Limit: 50,000 UTF-16 code units.

Formats YAML 1.2 document streams and preserves comments. Maximum input: 50,000 UTF-16 code units. Use Ctrl/Command+Enter to format.

Select Format YAML to produce output.

Was this tool helpful?