yaml / jinja

YAML/Jinja Formatter

Paste a YAML file — including ones with Jinja templating like Ansible playbooks or Helm charts — and check its indentation structure, then normalize it to consistent spacing.

Runs fully in your browser · nothing is sent anywhere

This tool re-indents, it does not re-serialize. It shifts each line's leading whitespace to a consistent depth without rebuilding the document, so comments, key order, anchors, and Jinja logic are left exactly as written. It does not fully parse multi-line flow collections ([...] / {...}) or deeply nested Jinja control blocks — always diff the output against your original before committing it.

Indent
input.yaml
Waiting for input…0 chars
output.yaml
Normalized YAML will appear here.

What this checks and changes

Known limitations

Advertisement