XML Sitemap Generator

Create a sitemap.xml listing your site's pages, helping search engines discover and crawl them. No signup. Ideal for supporting your site's SEO and crawling.

Remove Ads
Remove Ads
Just enter your website URL to create a sitemap

Share on Social Media:

An XML sitemap generator builds the sitemap.xml file that lists your website's pages for search engines. This one needs just one thing from you: your website's URL. Paste it in, click Generate Sitemap, and the tool crawls your site and returns a ready-to-download sitemap.xml with every page it found. It is free, needs no account, and works on any device.

The crawl runs on the server, not in your browser — you enter the URL and the tool fetches your site and follows its internal links. The result is plain XML you can copy or download as sitemap.xml, upload to your site, and submit to Google Search Console.

On this page

  1. How to Generate an XML Sitemap Step by Step
  2. What an XML Sitemap Is and Why It Helps
  3. A Sitemap Versus No Sitemap
  4. Who Uses an XML Sitemap Generator
  5. Pro Tips for Sitemaps
  6. Common Sitemap Mistakes to Avoid
  7. Related Tools You May Need Next
  8. Frequently Asked Questions

How to Generate an XML Sitemap Step by Step

  1. Enter your full website URL. Type or paste it into the box above, including https:// — for example https://www.example.com. A bare domain without https:// will not submit: your browser asks for a full URL ("Please enter a URL.") before anything is sent (the server's own message for an invalid address is "The url must be a valid URL.").
  2. Click Generate Sitemap. There are no settings to choose: one URL in, one sitemap out.
  3. Wait for the crawl. The tool fetches your homepage and follows the links on your site. A small site takes a few seconds; a 15-page site took about 7 seconds in our test.
  4. Check the result. The generated XML appears in the Result box. Make sure it lists your pages — if the box is empty, the URL may not load, so check it in a browser first.
  5. Copy or download it. Use Copy to Clipboard to paste the XML into a file, or Download Sitemap to save it directly as sitemap.xml.
  6. Upload it to your site. Put sitemap.xml at your site's root, so it is reachable at yoursite.com/sitemap.xml.
  7. Submit it to Google. In Google Search Console, go to Sitemaps and submit your sitemap URL so Google knows about it.

A website crawled into a sitemap file with a tree of pages and a checkmark

What an XML Sitemap Is and Why It Helps

An XML sitemap is a file, usually called sitemap.xml, that lists the pages of your website in a format search engines understand. Search engines normally discover pages by following links, but a sitemap hands them an explicit list, which helps them find pages that are new, buried deep in your site, or linked from few places. A sitemap does not guarantee that a page will be indexed — indexing is Google's decision — but it makes discovery easier, especially for new or growing sites.

Here is what this tool's output actually contains:

Part of the fileWhat it is
XML declaration<?xml version="1.0" encoding="UTF-8"?> at the top of the file
<urlset>The container for the whole sitemap, using the sitemap protocol namespace
<url>One block per page found on your site
<loc>The full URL of one page, for example https://example.com/about-us/

That is everything the file contains: one <loc> entry per page. It does not add a last-modified date, a change frequency, or a priority value to any page — the sitemap protocol makes those optional, and this tool leaves them out. If you want them, add them by hand after downloading. Only pages on your own site are listed; links to other websites are left out.

Worked example. We ran the tool on https://purexisbeauty.com and it returned 15 URLs in about 7 seconds: the homepage, About Us, FAQs, Our Science, Blog, Contact Us, Terms, Privacy Policy, Shipping Info, Return Policy, Accessibility, Disclaimer, and the three product pages (Tranexamic Acid Brightening Serum, Retinol Anti-Aging Cream, Salicylic Acid Face Wash). Running it on https://example.com returned just 1 URL — the homepage — because that site has only one page. The number of URLs in your sitemap is simply the number of pages the crawler can reach from your homepage.

A laptop showing a website turned into a sitemap tree with a crawler

A Sitemap Versus No Sitemap

AspectWith a sitemapWithout a sitemap
Page discoverySearch engines get an explicit list of your pagesSearch engines rely only on following links
New pagesListed as soon as the sitemap is updated and resubmittedFound only when a crawler follows a link to them
Deep or rarely linked pagesListed directly, so they are easier to findEasy to miss if few pages link to them
ControlThe crawler lists the pages it reaches from your homepageYou have no direct list to offer crawlers
GuaranteeNone — a sitemap helps discovery, not indexingNone — pages can still be found and indexed
Best practiceRecommended by Google for all sitesWorks, but leaves a useful aid unused

One practical limit comes from the sitemap protocol itself, not from this tool: a single sitemap file can list at most 50,000 URLs and must be no larger than 50 MB uncompressed. Sites bigger than that split their pages across several sitemaps and list them in a sitemap index file. Most small and medium sites never come close to that limit.

Who Uses an XML Sitemap Generator

Website owners launching a new site. A new site has few or no incoming links, so Google may take a long time to find its pages. A sitemap submitted in Search Console gives Google the full list on day one.

Bloggers and small businesses adding pages. Every new post or product page should appear in the sitemap. Regenerate it after adding pages so the list stays current.

People managing a site's SEO. Generating and submitting a sitemap is a standard step in any SEO checklist, alongside a robots.txt file and good meta tags.

Developers and agencies. When a site is rebuilt or moved, a fresh sitemap confirms which URLs exist now and helps search engines pick up the new structure.

Pro Tips for Sitemaps

Use the full URL with https://. Your browser will not submit a bare domain such as example.com — it asks for a full URL first. Always include the scheme: https://www.example.com.

Check the result before you download. The result box lists every page found. If it is empty, the URL may be wrong or the site may not load — fix that first instead of downloading an empty sitemap.

Keep it for small and medium sites. The crawl runs on the server and takes longer as a site grows. A 15-page site took about 7 seconds, but a site with several hundred pages timed out in our test. For a very large site, generate the sitemap in sections or use a dedicated crawler instead.

Regenerate after changes. A sitemap is a snapshot. When you add, remove, or rename pages, generate a fresh one and replace the old file.

Upload it to the root. Search engines expect to find it at yoursite.com/sitemap.xml. A file buried in a subfolder is harder to find and easier to forget.

Submit it, don't just upload it. Uploading the file is only half the job. Submit the sitemap URL in Google Search Console (and Bing Webmaster Tools) so the search engines know it exists.

A website's pages organised into a sitemap file with a checkmark

Common Sitemap Mistakes to Avoid

Entering the URL without https://. The tool needs a complete, valid URL. example.com fails validation; https://example.com works.

Downloading an empty sitemap. If the URL returns an error page, the tool returns an empty sitemap with no warning. Always look at the result first and confirm your pages are listed.

Expecting dates and priorities. This generator lists page URLs only. It does not add last-modified dates, change frequencies, or priority values, so don't go looking for them in the file.

Generating the sitemap and never uploading it. A sitemap sitting on your computer helps nobody. It only works once it is on your site and submitted to search engines.

Letting the sitemap go stale. An old sitemap that lists deleted pages and misses new ones misleads crawlers. Regenerate it whenever your site changes.

Assuming a sitemap guarantees indexing. A sitemap helps Google discover pages. Whether Google indexes them depends on the pages themselves — their quality, uniqueness, and usefulness.

Related Tools You May Need Next

Robots.txt Generator — tell search engines which parts of your site they may crawl, to go with your sitemap. Meta Tag Generator — build the title and description tags for the pages your sitemap lists. SEO Report — check a page's SEO health before you ask search engines to crawl it. SERP Checker — see where a page ranks after it has been discovered and indexed. Google Cache Checker — check whether Google has cached a page from your sitemap. Domain Age Checker — check how old a domain is when assessing a site. Keyword Density Checker — check the keyword use on a page you want search engines to find.

Frequently Asked Questions

How do I generate an XML sitemap?

Enter your full website URL, starting with https://, and click Generate Sitemap. The tool crawls your site and shows the sitemap XML, which you can copy or download as sitemap.xml.

Is this XML sitemap generator free?

Yes. It is free with no account and no signup — enter a URL and download the sitemap.

What does the generated sitemap contain?

One <loc> entry per page found on your site, inside a standard <urlset>. It does not include last-modified dates, change frequencies, or priority values.

Do I need to list my pages myself?

No. You enter only your homepage URL; the tool crawls your site and finds the pages by following your internal links.

Where do I put the sitemap.xml file?

Upload it to your website's root folder so it is reachable at yoursite.com/sitemap.xml, then submit that URL in Google Search Console.

Does a sitemap guarantee my pages will rank or be indexed?

No. A sitemap helps search engines discover your pages, but indexing and ranking depend on the pages themselves.

Why is my sitemap empty?

Usually the URL was wrong or the page does not load. Check that the URL opens in a browser, include https://, and try again. A URL that returns an error page produces an empty sitemap.

Can it generate a sitemap for a very large website?

It works best for small and medium sites. A 15-page site took about 7 seconds, but a site with several hundred pages timed out in our test, so very large sites need a dedicated crawler or a sitemap split into sections.

How often should I update my sitemap?

Every time you add, remove, or rename pages. Generate a fresh file, replace the old one, and resubmit it in Search Console.