YAML formatter and validator
Formats and validates YAML using a safe parser - no custom types are ever instantiated and no YAML tags are executed.
1 · Input
Parsed with js-yaml's safe (default) schema - custom/unsafe tags are rejected, never executed. Nothing is sent to a server.
What this does
Parses YAML with js-yaml's safe, default schema, reports clear line/column errors on invalid input, and re-serializes valid documents with your chosen indentation - alongside a JSON preview of the same parsed value.
Safe by construction
js-yaml's default schema never constructs arbitrary JavaScript objects or executes custom YAML tags - a document that tries to use one is rejected as a parse error rather than instantiated. Input is capped in size to guard against alias-expansion (billion-laughs) style documents from consuming excessive memory.
Privacy
Parsed entirely in your browser - nothing is sent to a server.