XML to Markdown
Read an XML document as an indented Markdown outline.
Free, no signup, and it runs entirely in your browser.
XML
Markdown
Output appears here.About this tool
XML is readable in principle and unreadable in practice once it is minified onto one line, which is how sitemaps and API responses usually arrive. Rendering the element tree as an indented outline with attributes shown inline is the fastest way to see what a document actually contains.
- Declarations, comments and DOCTYPE are skipped. CDATA sections have their wrapper removed and their content kept.
- Attributes are shown inline beside the element name, because in XML the attributes are usually where the meaning lives.
- Self-closing and empty elements are rendered as leaf nodes rather than dropped, so the shape of the document survives.
- Everything runs in your browser.
Questions
- Can I use this on a sitemap?
- Yes — it is the most common use. Paste the XML and you get a readable outline of every url entry with its loc, lastmod and changefreq.
- Does it validate the XML?
- No. It reads as much structure as it can find, so it stays useful on a malformed fragment. For validation, use a dedicated validator.
- What about namespaces?
- Prefixes are kept as part of the element name, so an entry stays visibly distinct from an atom:entry.