Skip to content
Takikit

YAML Formatter and Validator

Normalize YAML indentation, report syntax errors and optionally sort keys alphabetically.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Use this when a docker-compose, GitHub Actions or Kubernetes file has messy indentation and throws errors you cannot pin to a line.

Note that comments starting with # are lost after formatting, because the file is parsed into data and written out again. Copy back any important notes, or use the tool only to locate syntax errors.

How to use

  1. Paste YAML.
  2. Choose the indentation and sort keys if needed.
  3. Click Copy or Download.

Frequently asked questions

Is the data I paste sent to a server?

No. The tool runs in JavaScript right in your browser, and Takikit has no server that receives data. You can turn off your internet after opening the page and the tool will still work.

Related tools

More Developer tools

See all developer tools