Sitemap Generator
Create XML sitemaps, plain-text URL lists, or CSV exports from supplied URLs.
Updated
What is the Sitemap Generator?
Create XML sitemaps, plain text URL lists, and CSV exports from a list of URLs. A sitemap can help search engines discover URLs, but it does not guarantee crawling, indexing, or ranking.
What This Tool Does
The generator parses and validates supplied URLs and can include optional metadata such as last modification dates, change frequency, and priority. Check the resulting URLs and metadata before publishing.
Key Capabilities
| Feature | Benefit |
|---|---|
| Smart URL Parsing | Extracts URLs from markdown links, HTML tags, CSV data, and plain text automatically |
| Bulk Editing | Set priority, changefreq, and lastmod for URL entries |
| Multiple Formats | Export as XML (standard), TXT (robots.txt compatible), or CSV (spreadsheet friendly) |
| Real-time Validation | Flag malformed URLs, duplicates, and estimated size-limit issues |
| Extended Support | Enable image sitemap and hreflang namespaces for international/multimedia sites |
Who Should Use This Tool
- Website Owners submitting their first sitemap to Google
- SEO Specialists managing large site architectures
- Developers automating sitemap generation for static sites
- Content Managers tracking publication dates and update frequencies
- Agencies producing client deliverables in standardized formats
Why Sitemaps Matter
Sitemaps provide search engines with URL information and can be useful for large sites or pages that are not easy to discover through links. They do not control crawl priority or guarantee faster indexing; keep them accurate and make important pages reachable through your site's links.
How it works
1. Input Processing
Paste your URLs into the input field. The tool accepts virtually any format you might copy from:
- Plain URLs — one per line
- Markdown links —
[text](url)automatically extracts the URL - HTML anchor tags —
hrefattributes are parsed out - CSV data — quoted or unquoted URL columns
- Mixed sources — copy directly from spreadsheets, browser dev tools, or analytics exports
The Base URL field optionally resolves relative URLs (like /about → https://example.com/about).
2. URL Validation & Deduplication
Every extracted URL undergoes strict validation:
- Protocol normalization (adds
https://if missing) - Domain lowercasing for consistency
- Fragment removal (hashes don't affect page content)
- Duplicate detection across the entire list
- Length checking (max 2048 characters per URL)
Invalid entries are flagged with line numbers so you can fix source data without guesswork.
3. Metadata Assignment
Switch to Edit URLs mode to customize each entry or apply bulk changes:
| Field | Purpose | Typical Values |
|---|---|---|
| Priority | Optional relative importance value (0.0–1.0) | Values are suggestions and may be ignored by search engines |
| Change Frequency | Optional expected update pattern | always, hourly, daily, weekly, monthly, yearly, never; many search engines ignore it |
| Last Modified | Optional content revision date | Use an accurate ISO 8601 date; do not add dates that do not reflect real updates |
Bulk actions let you set all priorities to 1.0, change everything to daily, or clear dates in one click.
4. Format Generation
Choose your output format based on use case:
XML Sitemap — The standard format for search engine submission. Includes proper namespace declarations, optional image sitemap support, and hreflang alternate links for multilingual sites.
Text URL list — One URL per line for documentation or workflows. It is not an XML sitemap and should not be assumed to support all sitemap features.
CSV Sitemap — Spreadsheet-compatible with columns for URL, lastmod, changefreq, and priority. Useful for documentation and team sharing.
5. Export & Integration
Download your generated file or copy the output directly. The tool checks against sitemap protocol limits:
- Maximum 50,000 URLs per file
- Maximum 50MB uncompressed size
- UTF-8 encoding compliance
Warnings appear if your sitemap approaches these boundaries, suggesting sitemap index files for larger sites.
Technical Standards Compliance
The XML output uses the Sitemap Protocol 0.9. Optional extensions include:
- Image sitemaps (
xmlns:image) for pages with prominent visual content - Hreflang annotations (
xmlns:xhtml) for language/regional variants
These namespaces can be enabled when your entries include corresponding image or alternate-language information.
Examples
Basic blog sitemap
Generate a standard XML sitemap for a personal blog with weekly update frequency
https://myblog.com/
https://myblog.com/about
https://myblog.com/posts/hello-world
https://myblog.com/posts/second-post<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://myblog.com/</loc>
<lastmod>2026-06-25</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
...
</urlset>E-commerce product sitemap
Draft a URL sitemap for product pages; priority and change frequency are optional metadata and do not guarantee crawl behavior.
https://shop.example.com/products/laptop-pro
https://shop.example.com/products/wireless-headphones
https://shop.example.com/products/smart-watchXML containing the product URLs and selected metadata. This is not a Google Merchant Center product feed.Bulk URL import from CSV
Paste URLs extracted from a spreadsheet or analytics export
"https://site.com/page1","2026-01-15"
"https://site.com/page2","2026-02-20"
<a href="https://site.com/page3">Link</a>
[Page 4](https://site.com/page4)Clean XML sitemap with 4 validated URLs, parsing handled automatically from mixed formatsText sitemap for robots.txt
Generate a simple URL list format for direct robots.txt reference
https://example.com/
https://example.com/services
https://example.com/contacthttps://example.com/
https://example.com/services
https://example.com/contactFrequently asked questions
What is a sitemap and why do I need one?
What is a sitemap and why do I need one?
A sitemap is a file that lists URLs on your website and can help search engines discover them. It does not guarantee crawling or indexing, and it is not a substitute for useful internal links.
Which sitemap format should I choose?
Which sitemap format should I choose?
Use XML for standard search engine submission through Google Search Console and Bing Webmaster Tools. Choose TXT for a simple URL list when that format suits your workflow. Select CSV for documentation or spreadsheet sharing; TXT and CSV do not provide XML sitemap metadata.
How do I submit my sitemap to Google?
How do I submit my sitemap to Google?
Publish the XML file at a URL on your site, then open the Sitemaps section for your property in Google Search Console and submit its URL. Submission does not guarantee when or whether URLs will be crawled or indexed.
What does the "priority" value actually do?
What does the "priority" value actually do?
Priority (0.0 to 1.0) is an optional field for relative importance within your site. Google ignores it, so it does not affect Google's crawling or indexing. Use it only if it is useful to another sitemap consumer.
What's the difference between changefreq and lastmod?
What's the difference between changefreq and lastmod?
changefreq describes an expected update pattern; lastmod records when the page was last significantly changed. Google ignores changefreq and priority; accurate lastmod values may be used by search engines.
Why are some of my URLs flagged as invalid?
Why are some of my URLs flagged as invalid?
Common validation failures include: missing protocol (we auto-fix to https://), malformed domain names, URLs exceeding 2048 characters, or duplicate entries. Check the error panel for specific line numbers. The tool attempts smart extraction from pasted formats, but heavily malformed source text may need manual cleanup.
Can I generate a sitemap for more than 50,000 URLs?
Can I generate a sitemap for more than 50,000 URLs?
The sitemap protocol limits single files to 50,000 URLs. For larger sites, create multiple sitemaps and submit a sitemap index file that references them. This tool warns when approaching limits; you'll need to split input manually and generate separate files, then combine them with an index wrapper.
What is the "image sitemap" option for?
What is the "image sitemap" option for?
Enabling the image namespace adds xmlns:image to your XML, allowing manual inclusion of image metadata per URL. This helps Google Images discover your visual content. Note: this tool enables the namespace only—you'd extend individual URLs with <image:image> tags manually or via API for full image sitemap implementation.
Should I use the hreflang option?
Should I use the hreflang option?
Enable hreflang support only if your site has language or regional variants (e.g., /en/ and /es/ versions of the same page). This adds the xmlns:xhtml namespace for alternate link annotations. Without actual hreflang tags in your source code pointing between variants, enabling this has no benefit.
Does this tool crawl my website automatically?
Does this tool crawl my website automatically?
No—this is a generator, not a crawler. You must provide the URLs yourself by pasting them. For automatic crawling and sitemap discovery, use dedicated SEO tools like Screaming Frog, Sitebulb, or cloud-based crawlers. This tool excels when you have a known list of URLs from CMS exports, analytics, or manual compilation.
How often should I update my sitemap?
How often should I update my sitemap?
Update whenever you publish significant new content, remove pages, or change URL structures. For actively maintained sites, weekly or monthly regeneration is typical. Automated systems often regenerate sitemaps on each build; manual users should refresh before major SEO campaigns or after content migrations.
Can I include URLs from multiple domains?
Can I include URLs from multiple domains?
Technically yes, but search engines generally reject cross-domain sitemaps unless you verify ownership of all domains in Search Console. Each domain should typically have its own sitemap. Subdomains (blog.example.com vs www.example.com) can be combined but are treated separately by search engines unless properly canonicalized.
Why does my sitemap need a lastmod date?
Why does my sitemap need a lastmod date?
lastmod reports when a page was last significantly updated. Only use an accurate date; automatically inserting today's date for unchanged pages can be misleading. The tool can populate a date, so review it before publishing.
Is there a size limit for sitemap files?
Is there a size limit for sitemap files?
Yes—uncompressed sitemaps must stay under 50MB. The tool estimates your output size and warns if approaching this limit. Compress large sitemaps with gzip (acceptable to search engines) or split into multiple files referenced by a sitemap index.
Related tools
More utilities you might find handy.
Alt Text Checker
Review img alt attributes in pasted HTML for missing values and possible quality issues.
Canonical Tag Generator
Create a canonical link tag from a URL and review selected URL normalizations before use.
Header Tag Analyzer
Review H1–H6 heading structure in pasted HTML and create a readable outline.