Convert XML to Markdown

Paste XML below and get a nested Markdown outline back.

FAQ

How does this represent XML in Markdown?

Each element becomes a bullet in a nested list, indented to match its position in the XML tree. Attributes are shown in parentheses next to the element name, and leaf-element text content is appended after a colon.

What happens if my XML has no root element?

The tool needs a single well-formed root element to build the outline. If none is found (empty input, plain text, or badly malformed markup), you'll get an error instead of a Markdown result.

Will this validate my XML?

No — it's a best-effort renderer, not a validator. It parses well-formed documents into a Markdown list; it doesn't check your XML against a schema or DTD.