If this tool helped you, you can buy us a coffee ☕
Extract URL lists from Sitemap XML code for SEO analysis, web scraping, or content auditing.
Enter Sitemap XML content to start extraction

XML Formatter
Convert messy XML code into a clearly structured, standard format to improve development efficiency and code readability.

URL Hex Encoder & Decoder
Convert between URL strings and hex-encoded formats online to easily solve special character transmission issues.

URL to JSON Parser
Parse URL strings into structured JSON to quickly extract key information like protocols, parameters, and paths.

JSON to XML & XML to JSON Converter
A two-way conversion tool for JSON and XML data structures, designed for development, testing, and data processing.

XML Formatter
Convert messy XML code into a clearly structured, standard format to improve development efficiency and code readability.

URL Hex Encoder & Decoder
Convert between URL strings and hex-encoded formats online to easily solve special character transmission issues.

URL to JSON Parser
Parse URL strings into structured JSON to quickly extract key information like protocols, parameters, and paths.

JSON to XML & XML to JSON Converter
A two-way conversion tool for JSON and XML data structures, designed for development, testing, and data processing.

URL Encoder & Decoder
Convert special characters and spaces into percent-encoded URLs and vice versa to solve character compatibility issues in web development and data transmission.
When you need to quickly get all the links to be crawled from a sitemap, manual copying is both inefficient and prone to errors. This tool parses XML code that complies with the Sitemap protocol, accurately locating and extracting all URL addresses within <loc> tags to generate a plain text link list. A Sitemap is a structured file provided by a website to search engines, containing the URLs of all pages intended for indexing. Its core unit is the <url> tag, and each tag must contain a <loc> element to specify the page address.
<loc> nodes.Q: Does the tool support extracting links from image or video sitemaps?
No. This tool is specifically designed to extract <loc> links from standard web page sitemaps (i.e., the <urlset> namespace). For sitemaps containing extended elements like <image:image> or <video:video>, the tool will ignore these non-standard nodes.
Q: How do I bulk extract sitemap links?
Simply paste the entire content of the Sitemap XML file. The tool will parse all <loc> links under the <url> entries in the file at once and output them in bulk.
Please ensure that the input XML code is correctly formatted and complete, especially that the <loc> tags are properly closed. The tool only performs text parsing and does not verify the validity or accessibility of the URLs. When processing extremely large files with tens of thousands of links, browser performance may affect response speed. This tool runs entirely in your browser's frontend; your sitemap data is never uploaded to our servers, so your privacy is guaranteed.
For SEO professionals, the extracted URL list can be used to quickly compare search engine indexation, audit internal link structures, or generate lists for broken link checking. A typical input example is: <url><loc>https://example.com/page1</loc></url><url><loc>https://example.com/page2</loc></url>, and the output will be two independent lines of URLs. We recommend cross-analyzing the extracted results with crawler logs or Analytics data to optimize your website's crawl budget allocation.