Will the converter preserve XML attributes?
The current implementation focuses on the element tree — element names become YAML keys and text content becomes scalar values. Attributes on elements are not surfaced as separate YAML keys; if your data lives in attributes (e.g. <user id="42">), restructure the XML to use a child element first, or use the XML to JSON converter (which surfaces attributes as @-prefixed keys) and pipe the JSON into a YAML formatter.
How is mixed content handled?
Mixed content — an element with both text and child elements — is uncommon in configuration-style XML. When it does occur, the converter favours the child elements: text directly under an element with children is dropped. For document-style XML where mixed content is meaningful (XHTML, DocBook), YAML is rarely the right target format anyway.
Are repeated XML elements turned into YAML sequences?
Yes. When the same tag name appears more than once at the same level, the values are gathered into a YAML sequence (a list). For example, three <feature> elements become a "- retry / - tracing / - circuit-breaker" list — the canonical YAML way to represent a collection.
Does the YAML output use 2-space or 4-space indentation?
Two spaces, which is the convention used by Kubernetes manifests, Docker Compose, GitHub Actions, Helm, and most YAML linters. The output passes yamllint with the default rule set; if your team standardises on 4-space indentation, run the result through a YAML formatter to re-indent.
Are values that look like booleans or numbers automatically typed?
XML carries no type information — every value is a string. The converter preserves that fidelity: numeric-looking values stay quoted as strings unless they are clearly meant as numbers in your downstream consumer. If you need YAML 1.1 boolean coercion (yes/no/on/off), edit the values manually after conversion to avoid the famous "Norway problem" and other implicit-cast surprises.
Will the YAML drop into a Kubernetes manifest unchanged?
Almost never directly — Kubernetes manifests have a strict schema (apiVersion, kind, metadata, spec) that XML data rarely matches one-to-one. The converter handles syntax conversion; you still need to map your XML keys onto the right Kubernetes fields. Treat the output as a starting point that you reshape into a valid manifest.
How are special characters quoted in YAML?
Values containing colons, hashes, brackets, ampersands, asterisks, exclamation marks, pipes, quotes, percent signs, at-signs, or backticks are wrapped in double quotes and escaped with JSON-style rules. Strings containing newlines are also quoted. Plain strings without reserved characters are emitted unquoted, which makes the output more readable.
Does the conversion run on a server?
No. The browser's DOMParser parses the XML, and a small JavaScript serializer produces the YAML — entirely on your machine. Internal config XML, application secrets, and proprietary schemas never leave your browser. Verify in DevTools → Network: clicking Convert produces no requests.