๐ŸŒ
JSON Formatter
jsonformatter.org โ€บ yaml-formatter
Best YAML Formatter Online: Advance YAML Formatter
Online YAML Formatter will format yaml data, and helps to validate, convert YAML to JSON. Save and Share YAML.
๐ŸŒ
Online YAML Tools
onlineyamltools.com โ€บ prettify-yaml
Prettify YAML - Online YAML Tools
This YAML prettifier rewrites ugly YAML (Yet Another Markup Language) files to beautiful YAML files. It can uncompress compressed YAML and expand inline YAML syntax.
People also ask

Is my YAML data uploaded to a server?
No. All formatting is done locally in your browser using the JavaScript js-yaml library. Your data is never sent to our servers.
๐ŸŒ
codeshack.io
codeshack.io โ€บ home โ€บ tools โ€บ yaml formatter
YAML Formatter - Beautify and Format YAML Code Online
Will this tool fix logical errors in my YAML?
No. This tool formats syntactically valid YAML. It will report errors if the basic structure is broken (e.g., incorrect indentation leading to parsing failure), but it won't understand or fix errors related to the meaning or logic of your configuration data.
๐ŸŒ
codeshack.io
codeshack.io โ€บ home โ€บ tools โ€บ yaml formatter
YAML Formatter - Beautify and Format YAML Code Online
Can I use tabs for indentation?
YAML itself strongly discourages tabs for indentation, and the standard practice (enforced by most tools, including the library used here) is to use spaces. While the option exists in the dropdown, selecting "Tab" will currently format using 2 spaces for compatibility with the `js-yaml` library.
๐ŸŒ
codeshack.io
codeshack.io โ€บ home โ€บ tools โ€บ yaml formatter
YAML Formatter - Beautify and Format YAML Code Online
๐ŸŒ
CodeShack
codeshack.io โ€บ home โ€บ tools โ€บ yaml formatter
YAML Formatter - Beautify and Format YAML Code Online
A YAML Formatter takes YAML data, which might have inconsistent or incorrect indentation, and rewrites it with standardized indentation (using spaces) and structure based on selected options like line width and key sorting, making it valid, ...
๐ŸŒ
GitHub
github.com โ€บ google โ€บ yamlfmt
GitHub - google/yamlfmt: An extensible command line tool or library to format yaml files. ยท GitHub
An extensible command line tool or library to format yaml files. - google/yamlfmt
Starred by 1.7K users
Forked by 64 users
Languages ย  Go
๐ŸŒ
Elmah.io
elmah.io โ€บ tools โ€บ yaml-formatter
YAML Formatter - Free formatter and validator for YAML files
Validate and format YAML files is easy using this free tool. Re-order lines, adjust the indentation, and even save the result as JSON.
๐ŸŒ
String.is
string.is โ€บ yaml-formatter
Online YAML Formatter - string.is
Clean up and beautify your YAML markup, with customizable indentation, key sorting, and syntax highlighting. Enter some YAML below to format it, or load an example.
๐ŸŒ
Minifier
minifier.org โ€บ yaml-formatter
YAML Formatter
YAML Formatter is a free online tool that formats, beautifies, and validates YAML files for better readability and structure.
Find elsewhere
๐ŸŒ
GitHub
lyz-code.github.io โ€บ yamlfix
yamlfix
A simple opinionated yaml formatter that keeps your comments!
๐ŸŒ
Teleport
goteleport.com โ€บ resources โ€บ tools โ€บ yaml-beautifier
YAML Beautifier | Instantly Format & Beautify YAML | Teleport
Parsing: The beautifier begins by parsing the input YAML code, breaking it down into its fundamental components, such as key-value pairs, lists, and scalar values. This allows the beautifier to understand the hierarchical structure of the data. Applying Formatting Rules: Once the code is parsed, the beautifier applies a predefined set of formatting rules.
๐ŸŒ
Code Beautify
codebeautify.org โ€บ yaml-beautifier
YAML Beautifier Online
YAML Formatter helps to format unformatted or ugly YAML data and helps to save and share YAML.
๐ŸŒ
Devopsprojectshq
devopsprojectshq.com โ€บ tools โ€บ yaml-formatter
YAML Formatter Tool - Format YAML Files Online - DevOps Jobs
Instantly format and beautify your YAML files online with our YAML Formatter Tool. Perfect for developers and system administrators.
๐ŸŒ
Xkyle
xkyle.com โ€บ A-Detailed-Comparison-of-YAML-Formatters
A Detailed Comparison of YAML Formatters | xkyle.com
November 29, 2022 - Google yamlfmt produced some of them most opinionated outputs, but is also the most configurable. It has the potential to be the formatter I want, I think it just needs a special kyle formatter instead of the basic one :). Still, the fact that it removes horizontal whitespace seems weird to me (Defaults with retain_line_breaks: false).
๐ŸŒ
Microsoft Store
apps.microsoft.com โ€บ detail โ€บ 9nw00h0cgxsc
YAML Formatter - Free download and install on Windows | Microsoft Store
Open the YAML file quickly and format the YAML file so it is more readable. Open and edit your YAML files instantly for free using this software. You can open and edit your YAML files directly to make the code more readable, and save these changes directly onto your desktop.
๐ŸŒ
GitHub
github.com โ€บ jumanjihouse โ€บ pre-commit-hook-yamlfmt
GitHub - jumanjihouse/pre-commit-hook-yamlfmt: YAML formatter for http://pre-commit.com ยท GitHub
This hook formats the indentation of YAML files and optionally aligns top-level colons. It uses ruamel.yaml to do the heavy lifting and preserve comments within YAML files.
Starred by 77 users
Forked by 30 users
Languages ย  Python 53.3% | Shell 40.1% | Ruby 6.6%
๐ŸŒ
Benmvp
codemata.benmvp.com โ€บ formatters โ€บ yaml-formatter
Free Online YAML Formatter - Codemata Developer Tools
Format and beautify YAML code instantly. Free online tool with customizable indentation. Ensure valid syntax for Kubernetes and CI/CD configs in seconds.
๐ŸŒ
Simon Willison
til.simonwillison.net โ€บ yaml โ€บ yamlfmt
Auto-formatting YAML files with yamlfmt | Simon Willisonโ€™s TILs
July 13, 2023 - ~/go/bin/yamlfmt \ -formatter indentless_arrays=true,retain_line_breaks=true \ -lint \ -quiet \ .github/workflows/*.yml
๐ŸŒ
YAMLlint
yamllint.com
YAMLlint - The YAML Validator
Validate, Verify and Reformat your YAML documents, optimized for Ruby on Rails
๐ŸŒ
ChatDB
chatdb.ai โ€บ tools โ€บ yaml-formatter
YAML Formatter & Validator | Free Online Tool to Format, Validate, and Beautify YAML
Our YAML formatter validates and beautifies YAML configuration files directly in your browser. Format, minify, or convert between YAML and JSON โ€” perfect for Kubernetes, Docker Compose, CI/CD pipelines, and more.
๐ŸŒ
JSON Formatter
jsonformatter.org โ€บ yaml-formatter โ€บ 570a2d
YAML Formatter
YAML Formatter is very unique tool for YAML formatting, converting to YAML, CSV.
๐ŸŒ
Reddit
reddit.com โ€บ r/commandline โ€บ yaml formatter recommendation
r/commandline on Reddit: YAML formatter recommendation
December 3, 2021 -

Been looking for a while and the best I could find is prettier but it doesn't do everything right, for example some things require a

`key: >` but prettier does `key:`. Google not too helpful :(