Sitemap to Markdown Converter

Convert selected pages from an XML sitemap to Markdown. Load a public sitemap or local XML or gzip file and export batches of up to 20 pages.

Conversion settings

Conversion options

Batch input

Enter one public URL per line, up to 500 URLs. Select up to 20 per batch.

Batch output

Pasted HTML and local files stay in your browser.

Select pages discovered from XML

Save the example as sitemap.xml and select Open XML file to see one discovered page. For an existing public site, paste its sitemap address and choose Load sitemap. Select pages from the displayed group, then choose Convert batch.

Example input

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url><loc>https://docs.astro.build/en/guides/routing/</loc></url>
</urlset>

Discovery checks up to eight sitemap files and returns up to 500 distinct page URLs, in groups of 20. A gzip-compressed XML file must fit the 12 MiB limit before and after decompression. Use a smaller sitemap or paste a URL list when discovery reaches its limit.

Convert a list of known URLs

Sitemap to Markdown FAQs

Which sitemap files can I load?

Enter a public XML sitemap address or open an XML or gzip-compressed XML sitemap file from your device. The limit is 12 MiB before and after decompression.

Does it follow child sitemaps in a sitemap index?

Yes. Discovery checks up to eight sitemap files, including the starting file, and returns up to 500 distinct page URLs. For a public sitemap index, child sitemaps must stay on the same site.

Does loading a sitemap convert all the listed pages?

Loading a sitemap discovers URLs. Select the pages you want from the groups of 20 and then choose Convert batch. Each run converts up to 20 selected pages.

What if the sitemap is too large or has missing URLs?

Try loading the most relevant child sitemap directly or paste a list of the URLs you need. The discovery status indicates skipped files or when it reached a limit.

How can I export only the pages I selected?

After converting the selection, download one combined Markdown document, a ZIP of individual files, or an llms.txt source index. Only successful conversions appear in the exports.