Which YAML this is
Codoryn parses YAML 1.2 core schema (yaml 2.9.0), stated explicitly rather than left to a library default, and locked by tests so an upgrade cannot change the accepted language underneath you.
The most consequential difference from YAML 1.1 is that yes, no, on and off are strings, not booleans, and 12:30:00 is a string rather than a sexagesimal number. If you need a boolean, write true or false.
What is preserved
- Comments stay attached to what follows them. A formatter that drops comments is useless for a CI config.
- Anchors and aliases stay anchors and aliases. An alias is never inlined into a copy of its value — that would change the document.
- Merge keys (
<<:) are kept verbatim and not resolved. They are a 1.1 feature outside the 1.2 core schema, so Codoryn neither errors on them nor pretends to apply them. - Block scalars keep their indicator and chomping mode, and their content is never re-wrapped.
- Custom tags such as
!Refround-trip as inert tagged nodes. They are never resolved into objects and never executed. - Large integers keep every digit. Numbers are read as exact integers, so a 20-digit value does not come back rounded.
What is rejected
Duplicate keys. YAML 1.2 requires a mapping's keys to be unique. Silently keeping the last one is how configuration bugs survive code review, so Codoryn reports the position of the duplicate instead.
Values that cannot be reformatted safely. If a decimal literal carries more significant digits than a floating-point number can hold, reformatting it would change it. Codoryn withholds the output and tells you which value, rather than handing back altered data.
Frequently asked questions
Why is yes a string?
Because this is YAML 1.2. Under 1.1 it was a boolean, and that difference silently changes the meaning of a config file, so the version is stated rather than assumed.
Do you validate against a schema?
No. This checks that the document is well-formed YAML. It does not know about Kubernetes, OpenAPI, or any other schema, and it never fetches one — no $ref, no remote reference, no network of any kind.
Will this convert YAML to JSON?
Not in this tool. Conversion is a separate concern with its own semantics, and folding it in here because the parser makes it easy is how a focused tool becomes an unreliable one.
Is my YAML uploaded?
No. Parsing happens in a Web Worker on your device, and nothing is sent to Codoryn or any third party.