YAML Formatter

Developer Tools

Format and indent YAML neatly

FreePrivateInstant
Add a file · .txt .md .csv .json … · up to 2.00 MB
Indent
Embed this tool on your websiteFree
  1. Choose how tall the frame should be.
  2. Press Copy code.
  3. Paste it into your page, blog, WordPress or Notion HTML block.
Height

The tool runs inside your visitor's browser, nothing is uploaded, and a small "Powered by ToolCloak" line stays under it. The second line (script) is optional: it makes the frame fit the tool's height.

Similar tools you may like

History

All history →

YAML Formatter — at a glance

Format and indent YAML neatly.

Your input
Your text or values
Run
Result
Instant result

How to use it — step by step

Just your input — nothing to install or sign up for.

1

Add your input

Paste or type into the big box, or press “Try a sample” to see an example.

2

Choose options

Pick the settings you want. The defaults work well for most people.

3

Run the tool

Press the button and the result appears in a moment.

4

Copy the result

Use the Copy button to paste it wherever you need.

Pro tips

Small things that make the result better.

✦Comments in YAML are not kept when re-formatting.
✦Use spaces, not tabs — YAML does not allow tabs for indentation.

Quick facts

Freeno signup, no limit
Instantresult in a moment
Privatenothing is uploaded
Any devicephone, tablet or PC

Frequently Asked Questions

What is YAML Formatter?+

Clean up and re-indent YAML for Docker Compose, Kubernetes, GitHub Actions and config files. Choose 2 or 4 spaces, sort keys and format files with several documents.

How do I use YAML Formatter?+

Open YAML Formatter on this page, then: 1. Add your input 2. Choose options 3. Run the tool 4. Copy the result. Everything runs in your browser on a phone or computer.

Is my data safe?+

Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.

Is this tool really free?+

Yes — completely free, no signup, no watermark and no usage limit.

Also searched as: yaml formatter · yaml validator · yaml beautifier · format yaml online · yaml checker · yaml formatter app online

More Free Tools