Free SEO Tool

XML Sitemap
Generator

Build a valid XML sitemap for any website in minutes. Add URLs manually or import in bulk, configure priority and change frequency per page, then download your sitemap.xml ready for Search Engines.

Live XML Preview Bulk Import Per-URL Priority Changefreq Control Download .xml Validation
Sitemap Settings
Add URL
Bulk Import
Sitemap Builder 0 URLs
No URLs added yet.
Add URLs above or use Bulk Import.
Sitemap Summary
Total URLs
0
Add URLs to begin
Limit Status
Max 50,000 per file
Validation
Priority Breakdown
High ≥0.8
0
Mid 0.5–0.7
0
Low ≤0.4
0
Validation Checks
Priority Guide
1.0Homepage
0.8Key landing pages
0.6Blog posts / articles
0.4Tag / archive pages
0.1Low-value pages
Quick Tips
SUBMISSION → Upload to site root as sitemap.xml
→ Add to robots.txt: Sitemap: URL
→ Submit via Search Console

BEST PRACTICE → Only include indexable pages
→ Exclude noindex / 404 pages
→ Update after publishing new content

LIMITS → Max 50,000 URLs per file
→ Max 50MB uncompressed
→ Use sitemap index for large sites

Step-by-Step Guide

How to Use the
XML Sitemap Generator

01
Enter Your Domain

Type your root domain (e.g. https://yoursite.com) into the Domain field. This is used to validate URLs and ensures all entries belong to the same site.

02
Set Defaults

Choose a default priority and changefreq that applies to all imported URLs. You can override these per-URL after adding them to the list.

03
Add URLs

Add pages one at a time with the Add URL form — setting individual priority, changefreq, and last modified date for precise control over each entry.

04
Bulk Import

For large sites, paste a list of URLs (one per line) into the Bulk Import panel. All imported URLs inherit the default settings from the Sitemap Settings panel.

05
Review & Validate

Switch to the XML Preview tab to see your generated sitemap. The sidebar shows URL count, limit status, validation checks, and a priority breakdown.

06
Download & Submit

Click Download sitemap.xml to save the file, upload it to your site root, then submit the URL via Search Console or any Webmaster Tools.

Common Questions

Frequently Asked
Questions

What is an XML sitemap and do I need one? +
An XML sitemap is a file that lists the important pages on your website and helps search engines discover and crawl them efficiently. While not strictly required — search engines can crawl sites without one — a sitemap is strongly recommended for any site with more than a handful of pages, especially new sites with few inbound links, large sites, or sites with orphaned pages that aren't linked from other content.
Where should I put my sitemap.xml file? +
Place your sitemap.xml at the root of your domain: https://yoursite.com/sitemap.xml. This is the standard location that search engines check automatically. After uploading, add this line to your robots.txt file: Sitemap: https://yoursite.com/sitemap.xml — and submit the URL directly in Search Console under Indexing › Sitemaps and in Bing Webmaster Tools.
What priority should I give each page? +
Priority values range from 0.0 to 1.0 and are relative to your own site — they do not affect how your pages compare against other websites. A common convention: homepage = 1.0, key service or product pages = 0.8, blog posts and articles = 0.6, category and tag pages = 0.4, and low-priority utility pages = 0.1–0.2. Search Engine treats priority as a hint rather than a directive.
Which pages should I exclude from my sitemap? +
Only include pages you want indexed. Exclude: pages with a noindex meta tag, 404 error pages, redirect URLs (include the final destination instead), paginated archive pages beyond page 2, admin or login pages, thank-you or confirmation pages, and any duplicate content URLs (use canonical tags for those instead).
What is a sitemap index file? +
A sitemap index file is an XML file that references multiple individual sitemap files. Use one when your site exceeds 50,000 URLs or 50MB — the per-file limits. The index file itself follows a similar XML format and lists each sitemap's location. For most sites under 50,000 pages, a single sitemap.xml is sufficient.
How often should I update my sitemap? +
Update your sitemap whenever you add, remove, or significantly update pages. For active blogs or news sites, consider automating sitemap generation through your CMS — WordPress, for example, generates sitemaps automatically via plugins like Yoast or Rank Math. After updating, re-submit the sitemap URL in Search Console to prompt a recrawl.

About This Tool

What is an
XML Sitemap Generator?

The Tool

The SEO HQ XML Sitemap Generator lets you build a fully valid XML sitemap for any website without writing a line of code. Add URLs individually with custom settings or import hundreds at once via bulk paste. A live XML preview updates as you build, and the sidebar tracks URL count, validation status, and priority distribution.

Why It Matters

Sitemaps are one of the fastest ways to ensure all your important pages are discoverable by search engines. For new sites, a sitemap can dramatically speed up initial indexation. For large or complex sites, it guarantees that deep or orphaned pages are surfaced to crawlers that might otherwise miss them.

Key Features

  • Valid XML 1.0 output with correct namespace
  • Per-URL priority, changefreq, and lastmod control
  • Bulk URL import (one per line)
  • Live XML preview with syntax highlighting
  • URL count, limit tracking, and validation checks
  • One-click download as sitemap.xml

Best Practices

  • Only include canonical, indexable URLs
  • Keep the file under 50,000 URLs and 50MB
  • Reference your sitemap in robots.txt
  • Submit to Search Console or any Webmaster
  • Regenerate and resubmit after major updates
  • Use a sitemap index for sites over 50,000 pages