Loading...

XML Sitemap Generator

Generator Mode
Website URLs
Enter the full URLs you want to include in your sitemap.

Optional Settings
Custom URLs

Output: sitemap.xml

About XML Sitemaps

What is an XML Sitemap?

An XML sitemap is a file that lists all important pages of your website, helping search engines discover and crawl your content more efficiently.

Sitemap Elements

  • <loc>: The URL of the page (required)
  • <lastmod>: When the page was last modified
  • <changefreq>: How often the page changes
  • <priority>: Relative importance (0.0-1.0)

Sitemap Limits

  • Maximum 50,000 URLs per sitemap
  • Maximum 50MB uncompressed file size
  • Use sitemap index for larger sites

Best Practices

  • Submit your sitemap to Google Search Console
  • Add sitemap URL to your robots.txt file
  • Update sitemap when adding new pages
  • Only include canonical URLs

What is XML Sitemap Generator?

XML Sitemap Generator creates a sitemap.xml file that lists all your website pages. Search engines like Google and Bing use this file to discover and index your content faster and more efficiently.

Why Would You Need to Create an XML Sitemap?

A sitemap helps search engines understand your site structure. Here is when this tool is essential:

  • New website launch: Help Google discover all your pages from day one instead of waiting for natural crawling
  • Large websites: Sites with hundreds of pages need sitemaps to ensure nothing gets missed
  • Poor internal linking: If some pages have few links pointing to them, a sitemap ensures they still get found
  • Fresh content: Blogs and news sites can signal new posts to search engines immediately
  • E-commerce stores: Product pages change frequently and need regular re-crawling
  • SEO optimization: Control which pages get priority and how often they should be checked

How to Create an XML Sitemap - Step by Step

  • Choose your mode: Use Simple Mode for a quick list or Advanced Mode to set individual page options
  • Enter your URLs: Type or paste your website URLs, one per line
  • Set defaults: Choose default priority (0.0-1.0) and change frequency for all URLs
  • Configure options: Select which elements to include (lastmod, changefreq, priority)
  • Generate sitemap: Click the button to create your XML
  • Download and upload: Save the sitemap.xml file and upload it to your website root

Key Features

  • Two input modes: Simple text list or advanced table with individual settings per URL
  • Full control: Set priority, change frequency, and last modified date for each page
  • Validation: Automatic checking for valid XML structure and sitemap limits
  • Standard compliant: Generates sitemaps following the official sitemaps.org protocol
  • Instant download: Download your sitemap.xml file with one click
  • Size tracking: Shows URL count and file size to stay within limits

Tips for Best Results

  • Only include canonical URLs - avoid duplicate content and parameter variations
  • Set homepage priority to 1.0 and decrease for deeper pages
  • Use accurate changefreq - do not set daily if the page rarely updates
  • Keep sitemaps under 50,000 URLs - create multiple sitemaps for larger sites
  • Submit your sitemap to Google Search Console after uploading
  • Add sitemap location to your robots.txt file

Frequently Asked Questions

Upload sitemap.xml to your website root directory. It should be accessible at example.com/sitemap.xml
Priority tells search engines the relative importance of pages on your site. Use 1.0 for your homepage, 0.8 for main categories, and 0.5-0.6 for regular pages.
Update whenever you add or remove pages. For blogs, consider automating sitemap generation to include new posts.
While Google can find sitemaps automatically, submitting through Search Console speeds up discovery and lets you monitor indexing status.

About XML Sitemap Generator

Create a standards-compliant sitemap.xml from a list of full website URLs, then copy or download the generated XML.

The generator does not crawl your website. You stay in control by supplying every URL in basic mode or configuring each entry in advanced mode.

Key features

  • Two input modes: Paste one URL per line for a quick sitemap or add individual URL rows in advanced mode.
  • Optional sitemap metadata: Set last modified dates, change frequency and priority globally or per URL.
  • Immediate XML output: Review the generated XML in the editor, copy it or download it as a file.

How to use XML Sitemap Generator

Build and export a sitemap.xml from URLs you provide.

  1. Choose an input mode Use basic mode for a URL list or enable advanced mode for settings on each URL.
  2. Enter website URLs Paste full URLs one per line, or add them individually in the advanced URL table.
  3. Configure optional metadata Select last modified date, change frequency and priority where those values are useful.
  4. Review the XML Check the generated sitemap in the output editor and correct any invalid or unwanted URL.
  5. Copy or download Copy the XML or download sitemap.xml, then upload it to your website.

Usage tips

  • Use full canonical URLs, including https://, and avoid duplicate or parameter-only versions of the same page.
  • A sitemap is limited to 50,000 URLs and 50 MB uncompressed; use a sitemap index when a site exceeds either limit.
  • Upload sitemap.xml to your site, reference it from robots.txt and submit it through the search engine webmaster console.

Frequently asked questions

No. It generates XML only from the URLs you enter, which prevents unexpected pages from being added.
The usual location is the website root, such as https://example.com/sitemap.xml. You can then reference it in robots.txt and submit it to search engines.
One sitemap can contain up to 50,000 URLs and must not exceed 50 MB when uncompressed. Larger sites should use multiple sitemaps and a sitemap index.
No ranking improvement is guaranteed. These optional values are hints, and search engines may ignore them.
Regenerate it after adding, removing or changing important canonical pages, and keep the published file synchronized with the site.