01
Paste YAML
Add one YAML document and choose the indentation you need.
Validate YAML locally, catch duplicate keys, and flag type traps before creating a normalized copy.
Data handling
Advertising and analytics are separate site services. We do not send selected tool input to them. Read the Privacy Policy for details.
How it works
01
Add one YAML document and choose the indentation you need.
02
Check duplicate-key locations, indentation tabs, unsafe integers, and portable-type warnings.
03
Use the normalized YAML only after checking its values and structure.
Clear limit
YAML is parsed into data and then written as a new YAML copy. Duplicate keys and unsafe integers are refused because continuing could silently replace a value or change digits. Comments and original anchor notation are source-level details and are not preserved.
Repeated mapping keys produce an error with the source line and column.
Unquoted yes, no, on, and off values are reported and quoted for YAML 1.1 compatibility.
Plain decimal integers outside JavaScript's exact range are refused until quoted.
Pasted configuration remains in your browser.
FAQ
Many consumers keep only the last value, which can hide configuration you thought was still active. This tool stops instead of guessing which value you intended.
No. YAML comments are source text and are not part of the parsed data, so they do not appear in the formatted copy.
Their values are resolved into the formatted copy. The original anchor and alias spelling is not preserved.
No. Parsing and formatting happen only in the current browser tab.
Keep working
Convert valid JSON into explicit YAML locally, with text values quoted to preserve their meaning.
Open tool →Format, minify, sort, and validate JSON locally with clear syntax feedback.
Open tool →Convert valid JSON into typed, indented XML locally without silently renaming invalid element keys.
Open tool →Test a regular expression against sample text locally, with visible flags, matches, capture groups, and a time limit.
Open tool →0 / 200,000 characters