Does this upload my YAML?
No. Parsing, validation and formatting all run locally in your browser. Your YAML is never uploaded to TechFixGen servers, is not saved to browser storage, and is not included in analytics events.
Are my comments preserved?
Yes. Full-line comments, comments that trail a value, and comments that introduce a block are all printed back exactly where they were. Formatting re-prints the parsed document rather than rebuilding it from plain data, which is what keeps comments and key order intact.
Does formatting change what my data means?
No. Only whitespace and quoting style change. Values, key order, comments, anchors, aliases and block scalars are preserved. Long values are never re-wrapped because line folding is disabled, and the result always ends with exactly one newline.
Does it support multi-document YAML?
Yes. Every --- separated document in the stream is parsed and formatted, and the result reports how many documents were found. Document markers are kept where they were written.
Are anchors and aliases resolved?
No, and deliberately so. Anchors (&name) and aliases (*name) are preserved as written and never expanded. That means a document containing an alias bomb stays completely inert — there is no exponential expansion to exhaust memory.
What happens if the same key appears twice?
The document is rejected and the error names the line and column of the second occurrence. Different YAML tools disagree about which value wins, so the formatter refuses to guess. Rename one of the keys, or write the value out longhand instead of relying on a YAML 1.1 merge key.
Is yes a boolean?
Not in YAML 1.2 core, which is what this tool reads. yes, no, on and off are strings; only true and false are booleans. YAML 1.1 treated those four words as booleans, which is a common source of production bugs, so quote the value if a downstream 1.1 parser might read it.
Does this validate against a schema?
No. Validation is a syntax check: it confirms the document parses and reports the first error with its line and column. There is no JSON Schema check, no Kubernetes schema check and no field-level verification. If you need that, convert the file to JSON and validate it with a schema tool.
Which indentation width should I use?
Two spaces is the most common convention and keeps deeply nested files narrow. Four spaces matches the Python style guide and is easier to spot by eye. Pick one and use it consistently — mixed widths are what most indentation bugs come from.
Why did my comment-only file come back trimmed?
A file containing only comments has no YAML document in it, so there is nothing to re-indent. The tool returns your text unchanged apart from trimming leading and trailing blank lines. An empty file is valid YAML too, and formats to an empty result.
Can this fix my YAML automatically?
No. The validator explains the error and points at the line and column, but it never rewrites your data to make it parse. Correcting the input by hand is the safe, predictable way to resolve a syntax problem.