Developer Utilities · Free tool
Sitemap URL Generator
Generate a valid sitemap.xml with changefreq, priority, and lastmod from a URL list instantly online. Get it ready for Google Search Console free, no sign-up.
Advertisement
What it does
A sitemap.xml is the file you submit to search engines (Google Search Console, Bing Webmaster Tools) telling them which URLs on your site you want indexed and providing metadata about each: when the page was last modified, how often it changes, and a relative priority score. The XML format follows sitemaps.org protocol: a single sitemap can hold up to 50,000 URLs and be at most 50MB uncompressed. Sites larger than that use a sitemap index pointing to multiple sitemap files (common for major content sites). Sitemaps don't guarantee indexing — they're a hint to crawlers, not a command — but they significantly speed up discovery of new content and ensure no important pages are missed.
The generator takes a list of URLs (one per line, paste from a spreadsheet or export from your CMS), optional last- modified dates, change-frequency hints (always / hourly / daily / weekly / monthly / yearly / never), and priority scores (0.0-1.0). Output: valid sitemap.xml ready to upload to your site root and submit to Google Search Console. For static sites, the same data drives your build pipeline; for dynamic sites, most CMSes (WordPress, Drupal, Wix, etc.) generate sitemap.xml automatically — this tool is for one-off generation or custom-built sites.
Best practices for sitemap optimization: (1) Include only canonical URLs — no duplicates with different parameter variations. (2) Skip noindex pages, paginated archives, search results, login pages — they're not meant for indexing. (3) Set lastmod to actual modify dates, not arbitrary recent dates (Google ignores fake-modified dates). (4) Priority is rarely respected by Google anymore (since 2017+) — focus on ensuring high-value pages are present and accurate. (5) For large sites (1000+ URLs), split into logical sitemaps (sitemap-blog.xml, sitemap-products.xml) and reference from a sitemap index file (sitemap.xml). (6) Always include the sitemap location in your robots.txt: “Sitemap: https://example.com/ sitemap.xml” — this is the universal way crawlers discover sitemaps.
Embed this tool on your siteShow snippetHide
Paste this snippet into any page. Loads on-demand (lazy), no tracking scripts, and sized to most dashboards. Replace the height to fit your layout.
<iframe src="https://freetoolarena.com/embed/sitemap-url-generator" width="100%" height="720" frameborder="0" loading="lazy" title="Sitemap URL Generator" style="border:1px solid #e2e8f0;border-radius:12px;max-width:720px;"></iframe>How to use it
- Paste your URL list (one URL per line) — full URLs including https:// prefix.
- Optionally add per-URL metadata: last-modified date, changefreq, priority.
- Click Generate to produce valid sitemap.xml.
- Copy the XML or download the file.
- Upload to your site root as /sitemap.xml.
- Submit URL to Google Search Console under Sitemaps.
- Add “Sitemap: https://yoursite.com/sitemap.xml” line to your robots.txt.
When to use this tool
- Building a custom static site without an automatic sitemap generator.
- Quick one-off sitemap for a small site (under 100 pages).
- Adding a sitemap to a legacy site that lacks one.
- Generating supplementary sitemaps (image sitemap, video sitemap, news sitemap).
- Migrating sitemaps from one tool/format to another.
When not to use it
- Sites with established CMS (WordPress, Drupal, Webflow, Wix) that auto-generate sitemaps — use the CMS feature.
- Sites over 50,000 URLs — need sitemap index splitting beyond what basic tools handle.
- Specialized sitemaps (image, video, news, hreflang multi-language) requiring extended XML schemas.
- Dynamic sites where URLs change daily — manual generation falls out of date; use programmatic generation.
Common use cases
- Quick generation during a typical workday
- Pre-decision sanity-check on inputs and outputs
- Educational use — demonstrating the underlying concept
- Onboarding a colleague who needs the same calculation/conversion
Frequently asked questions
- How big can a sitemap be?
- Standard sitemap protocol limits: 50,000 URLs per file, 50MB uncompressed (or 50MB compressed if you're using gzipped sitemap.xml.gz). For larger sites: split into multiple sitemaps and reference them from a sitemap index file (sitemap.xml that contains <sitemap> tags pointing to other sitemap files). Major sites (Wikipedia, news sites) use hundreds of sitemap files in this pattern.
- Does priority matter?
- Largely no, since 2017+. Google publicly stated they ignore the priority field in sitemaps. Bing still considers it loosely. Set realistic priorities if you want (homepage 1.0, category pages 0.8, posts 0.6) but don't expect it to dramatically affect rankings. Focus on ensuring lastmod is accurate and including only high-value canonical URLs.
- What's changefreq?
- A hint to crawlers about how often a page typically changes (always / hourly / daily / weekly / monthly / yearly / never). Like priority, Google largely ignores this — they crawl based on what THEY observe is changing, not what you claim. Set it accurately if you want (blog posts “monthly”, news articles “daily”) but don't depend on it for crawl behavior.
- How do I submit to search engines?
- Google: Search Console → Sitemaps → enter URL of sitemap.xml. Bing: Webmaster Tools → Sitemaps → submit. Yandex / DuckDuckGo: get from Google's index automatically. ALSO: include in robots.txt with “Sitemap: https://yoursite.com/sitemap.xml” line — most crawlers discover sitemaps this way without explicit submission. Submit AND add to robots.txt for redundancy.
- What URLs should I exclude?
- Exclude: pages with noindex meta tag (sitemap inclusion contradicts noindex), search result pages, paginated archives (page 2, 3, etc.), login / signup / checkout flow pages, admin pages, duplicate content pages with parameter variations (?utm=, ?ref=), thin pages without unique content. Include: all canonical content pages, important category and tag pages, key landing pages.
- Should I use multiple sitemaps?
- For large sites, yes. Split logically: sitemap-blog.xml, sitemap-products.xml, sitemap-categories.xml. Then create a sitemap.xml index file that references all sub-sitemaps. Benefits: easier to update individual sections, identifies which content type has indexing issues in Search Console reports, respects the 50K URL limit per file. Smaller sites (under 5K URLs): one sitemap.xml is fine.
Advertisement
Learn more
Guides about this topic
- How-To & Life · GuideHow to build an XML sitemapCreate sitemap.xml files with correct schema, lastmod priorities, and sitemap index splitting. Submit to Google and Bing instantly with this free guide.
- Using Our Tools · GuideHow to generate QR codesMake QR codes for URLs, WiFi, vCard, or text. Learn error correction and sizing, then generate your QR code online free with no sign-up in seconds.
- Using Our Tools · GuideHow to create a strong passwordGenerate a strong password instantly online for free. Build high-entropy passphrases following NIST 2026 rules with no download needed.
- Developers & Technical · GuideHow to encode and decode Base64Understand the 3-to-4 mechanic and 33% overhead for standard, URL-safe, and MIME Base64. Free online reference to avoid common mistakes, no download needed.
- Design & Media · GuideHow to choose a color paletteBuild accessible color palettes using HSL theory, monochromatic to triadic schemes, WCAG contrast checks, and dark mode tips. Free, no-download guide.
- Developers & Technical · GuideHow to use JWT tokens securelyImplement secure JWT authentication by choosing RS256, setting expiration, using httpOnly cookies, and preventing 'alg: none' attacks in your browser for free.
Explore more developer utilities tools
- Port Number LookupSearch over 140 well-known TCP and UDP ports by number or service name. Free online reference tool with no sign-up, covering web, mail, DNS, and more.
- Test Credit Card NumbersReference table of canonical test card numbers from Stripe, Adyen, and Braintree sandbox docs. Plus Luhn validator + network detector.
- IPv6 Expander & ShortenerFormat IPv6 addresses to canonical form, handling zone IDs and prefixes, instantly online—free tool with no registration required.
- Htpasswd GeneratorCreate .htpasswd lines for Apache or nginx basic auth with browser-only SHA hashing instantly. Includes config snippets and a free online tool with no registration.
- Chmod CalculatorCalculate Unix file permissions: octal (755, 644) ↔ symbolic (rwxr-xr-x) ↔ rwx checkboxes. Covers setuid, setgid, sticky bit. With presets.
- Excel Formula ExplainerPaste any formula and get a plain-English breakdown of 60+ functions online free—no sign-up required, in your browser.