Sitemap URL Extractor
Paste the XML of a sitemap or a sitemap index. The addresses are extracted into a plain list that you can copy into a spreadsheet or a crawler.
Este conteúdo está em inglês.
Exemplos resolvidos
One page
<urlset><url><loc>https://a.com/</loc></url></urlset>
https://a.com/
The loc value becomes one line.
Escaped characters
<urlset><url><loc>https://a.com/b?x=1&y=2</loc></url></urlset>
https://a.com/b?x=1&y=2
The & in the XML is written as & in the address.
Sobre Sitemap URL Extractor
This extractor turns the XML of a sitemap into a plain list of addresses. Open the sitemap in a new tab, select all, copy and paste it here, and every loc entry is listed on its own line, ready to use in a crawler, a spreadsheet or a checklist. A sitemap index works too: the addresses of the child sitemaps are listed and the message says it found sitemaps rather than pages.
The XML is tidied as it is read. Escapes such as & are turned back into the real characters, wrapped CDATA sections are unwrapped, and if the text is not shaped like a normal sitemap but still contains loc tags, those are collected anyway. If no loc entry is found at all, you are told to paste the XML of a sitemap instead of being shown an empty result.
Duplicates are removed by default and the list can be sorted in character order. Tick the date option and each line gains a tab and the last modified date from the sitemap, which pastes into two spreadsheet columns. An address with no date simply has no second column.
Como usar Sitemap URL Extractor
- Open your sitemap, select all and copy the XML, then paste it into the box, or open the saved file.
- Choose whether to remove duplicates, sort the list and add last modified dates.
- Read the count in the message to see how many addresses or sitemaps were found.
- Copy the list, or download it as a text file.
Usos comuns
- Getting a list of every page on a site to audit titles, descriptions or redirects
- Counting how many URLs a sitemap holds before and after a migration
- Feeding a clean list into a crawler or link checker
- Comparing two sitemaps by sorting both and checking the differences line by line
- Finding which pages have a stale last modified date by pasting the dated list into a spreadsheet
- Listing the child sitemaps in an index so each can be opened and extracted in turn
Perguntas frequentes
Does it work with a sitemap index?
Yes. The addresses of the child sitemaps are listed, and the message says it found sitemaps rather than pages. Open each child sitemap in turn to get the page addresses.
What about compressed sitemaps?
A file ending .gz has to be unzipped first, because the tool reads text. Open the unzipped XML and paste that.
How do I get dates into a spreadsheet?
Tick the date option. Each line is the address, a tab and the last modified date, which pastes into two columns. Entries with no date in the sitemap are listed with the address only.
Does it fetch my sitemap for me?
No. You paste the XML, and the tool reads only what you give it. That also means you can use a copy saved from an earlier date.
Are the addresses checked to see whether they work?
No. The tool lists what the sitemap says. Use a link checker on the list if you need to know whether each page loads.