What root element does the converter use?
XML requires exactly one root element. The converter wraps the output in <root>…</root> by default. If your YAML has a single top-level key, you can rename the wrapper after conversion to use that key as the semantic root (for example, change <root><book>…</book></root> to <book>…</book> if you prefer).
How are YAML lists mapped to XML?
XML has no array primitive, so each YAML list item becomes a repeated <item> child element under the parent key. For YAML "tags: [a, b, c]" you get <tags><item>a</item><item>b</item><item>c</item></tags>. This matches the standard XML idiom for collections; downstream parsers can read repeated children as a list.
Are XML attributes generated, or only elements?
YAML mappings convert to nested elements, not attributes, because YAML has no way to mark a key as attribute-only. If your target schema requires attributes (for example, <book id="42">), you can post-process the XML or use a YAML-to-XML tool with @-prefixed key conventions for attributes.
How are special characters and key names sanitized?
XML element names cannot contain spaces, slashes, or start with a digit. The converter replaces non-alphanumeric characters in YAML keys with underscores and prefixes leading digits with an underscore so the output is always well-formed XML. Element text content is escaped: <, >, &, ", and \' become <, >, &, ", and '.
Can I use the output for SOAP envelopes?
The converter produces a plain XML body. For SOAP you must wrap the result in a Soap-Envelope and Soap-Body with the correct xmlns:soap declaration, and add any namespace prefixes your service expects. The converter is the right starting point — wire-format wrapping is a downstream step.
How are YAML booleans, nulls, and numbers represented in XML?
XML has no native scalar types — every value becomes text inside an element. Booleans render as the literal text "true" or "false", null becomes the text "null" (or you can post-process to xsi:nil="true"), and numbers render as their string form. Schemas that need strict types should validate the output with XSD afterwards.
Does the converter handle namespaces (xmlns)?
The output is namespace-free. To add a namespace, edit the root element after conversion and add xmlns:prefix="…" attributes plus prefix all child element names accordingly. Namespace-aware conversion is not automatic because YAML has no equivalent concept.
Is my YAML uploaded to your servers?
No. Conversion runs entirely in your browser. Even YAML containing internal API endpoints, database credentials, or business logic stays on your machine. Open DevTools → Network and verify: no request fires when you click Convert.