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
- Paste YAML.
- Choose the indentation and sort keys if needed.
- 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
XML ValidatorCheck that XML is well formed: matching opening and closing tags, quoted attributes and a single root element.XML MinifierRemove whitespace between tags and comments to make the XML as compact as possible.SQL Formatter and BeautifierBeautify long SQL statements: line breaks by clause, indentation and uppercase keywords. Supports MySQL, PostgreSQL, SQL Server and more.XML Formatter and BeautifierBeautify XML, sitemaps and config files with indentation, and report mismatched opening and closing tags.SQL MinifierPut an SQL statement on one line, removing comments and extra whitespace while keeping quoted text intact.HTML MinifierRemove comments and extra whitespace between tags while keeping the content of pre, textarea and script intact.
See all developer tools