Skip to content
Free tool

Sitemap Generator: create sitemap.xml

Use the free Sitemap Generator to create your sitemap.xml from a URL list or an existing sitemap: add a domain, remove duplicates and URLs from other domains, then copy or download the file. No sign-up required; everything runs in your browser.

Built by Luca Stanek

Sitemap ready? Put your website online with fast, reliable web hosting.

Completes addresses without a domain, such as /kontakt.

One address per line, optionally followed by date, frequency, and priority. You can also paste an existing sitemap.xml.

Options

Standardizes /blog and /blog/. Files and the homepage remain unchanged.

Last modified date (lastmod) for all URLs

It's better to use an actual date for each page, specified after the address.

From 0.0 to 1.0. Leave blank if you don't need it.

The finished sitemap appears below the options. Go directly to output

Your sitemap

0 addresses

Enter your page URLs on the left. The finished sitemap.xml will appear here. Click “Insert example” to see what it looks like.

How it works

How to create your sitemap.xml with the Sitemap Generator

From pasting URLs to submitting the file, with no sign-up or installation.

Step 1

Enter domain

Enter your domain in the “Your domain” field, for example example.com. The tool uses it to complete URLs without a domain, such as /contact. If you leave the field blank, it uses the domain of the first full URL.

Step 2

Paste URLs

Paste your page URLs, one per line, or the contents of an existing sitemap.xml. After a space or vertical bar, you can specify a date, frequency, and priority. “Insert example” shows you how.

Step 3

Choose options

Choose whether the tool enforces HTTPS, excludes other domains, removes parameters, sorts alphabetically, and standardizes trailing slashes. Setting lastmod, changefreq, and priority for all URLs is optional.

Step 4

Check notices

Below the output, the tool reports removed duplicates, URLs from other domains, mixed protocols, invalid dates, and the splitting of large lists. Correct your list if necessary.

Step 5

copy or download sitemap.xml

Copy or download the finished file. If the list was split, download each file separately from its tab, including the sitemap index.

Step 6

Upload and submit

Upload the file to your domain’s root directory, add the robots.txt line provided by the tool, and submit the sitemap.xml in Google Search Console and Bing Webmaster Tools.

Example result

Sitemap example: What a sitemap.xml looks like

Enter addresses and get a ready-to-use sitemap.xml. An example:

Input (domain: example.com):

/
/produkte
/produkte/gameserver | 2026-09-18
/blog/sitemap-erstellen | 2026-10-01
https://example.com/kontakt

Output (sitemap.xml):

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
  </url>
  <url>
    <loc>https://example.com/produkte</loc>
  </url>
  <url>
    <loc>https://example.com/produkte/gameserver</loc>
    <lastmod>2026-09-18</lastmod>
  </url>
  <url>
    <loc>https://example.com/blog/sitemap-erstellen</loc>
    <lastmod>2026-10-01</lastmod>
  </url>
  <url>
    <loc>https://example.com/kontakt</loc>
  </url>
</urlset>

Checks

What the Sitemap Generator checks for you

Before creating sitemap.xml, the tool cleans up your list and shows what it changed or omitted below the output.

Duplicate URLs

Each URL appears only once in the file. The tool tells you how many duplicates it removed.

Other domains

By default, the tool excludes URLs on other domains. It treats www.example.com and example.com as different domains.

HTTP and HTTPS

“Enforce HTTPS” is enabled by default. If you turn it off, the tool flags URLs that use a different protocol from your domain.

Parameters and fragments

The tool always removes the part after #. It can remove parameters after the question mark if you choose; otherwise, it flags them.

Last modified date (lastmod)

The tool omits invalid dates and flags future dates. If all URLs have the same date, it lets you know.

Automatic sitemap index

If a file exceeds 50,000 URLs or 50 MB, the tool splits it into sitemap-1.xml, sitemap-2.xml and so on, with a sitemap index named sitemap.xml.

Invalid entries

The tool skips unreadable lines, entries such as mailto: or tel:, and URLs longer than 2,048 characters, and tells you how many it skipped.

Line for robots.txt

Below the output, you’ll find a ready-to-copy line containing Sitemap: and your domain.

Which method?

Need a sitemap generator?

That depends on how your website is built.

WordPress

WordPress automatically generates a sitemap at /wp-sitemap.xml. SEO plugins such as Yoast or Rank Math create their own.

Shopify, Wix, Squarespace

The sitemap is generated automatically at /sitemap.xml. All you need to do is submit it.

Static or custom-built page

That's where this generator comes in. Paste in the addresses, check them, and upload the file.

Large page with changing content

Generate the sitemap during the build or with a crawler such as Screaming Frog. You can check and clean up the result here.

After creation

Upload and submit a sitemap.xml

1. Upload

Place sitemap.xml in your domain's root directory, usually public_html, htdocs, or httpdocs.

2. Add it to robots.txt

Add this line to your robots.txt. The tool displays the ready-to-use line below the output.

Sitemap: https://example.com/sitemap.xml

3. Submit to search engines

Submit the URL to Google Search Console and Bing Webmaster Tools.

Google's guide

Discover more

More tools

FAQ

Frequently asked questions

Quick answers about sitemap.xml and this tool.

The sitemap.xml is a list of your website's pages in XML format. Search engines use it to find new and updated pages faster. It is especially useful for large or new sites and sites with many poorly linked subpages. A small, well-linked site is usually found without one. It never hurts to have one.

The generator is free to use without signing up. Nothing is stored: everything runs in your browser, your URLs are not sent to a server or placed in the address bar.

No. The tool only knows the URLs you paste and checks them for duplicates, other domains, and invalid entries. That means there is no page limit, and it also works for pages that are not online yet. You can get a URL list from your CMS, your shop, or Google Search Console.

Yes. Paste the contents of your sitemap.xml: the tool imports loc, lastmod, changefreq, and priority, removes duplicates, and flags other domains, mixed protocols, and invalid dates and values. If it detects a sitemap index, it asks you for the page URLs. It does not check whether the URLs are reachable because it does not visit them.

Maximum 50,000 addresses and 50 MB uncompressed per file. For larger lists, the generator automatically splits them and creates a sitemap index named sitemap.xml. Upload all files and submit only the index.

Google ignores changefreq and priority, so the tool leaves them out by default and notifies you if you set them. Search engines only use lastmod if it is accurate. Add each page’s actual last-modified date after its URL in YYYY-MM-DD format, for example /blog | 2026-10-01. If every URL has the same date, the tool will notify you.

Place it in your domain’s root directory so it is accessible at https://example.com/sitemap.xml. It may contain only URLs from the same domain and using the same protocol. Then enter its URL under “Sitemaps” in Google Search Console and Bing Webmaster Tools, and add the Sitemap: line shown by the tool to your robots.txt. Google’s old ping endpoint is no longer available.

Try /sitemap.xml and /sitemap_index.xml after the domain, or /wp-sitemap.xml for WordPress. The path is often listed in robots.txt on a line starting with Sitemap:. For your own site, Google Search Console shows submitted files under “Sitemaps”.

An XML sitemap is a file for search engines containing your page URLs. An HTML sitemap is a regular page that shows visitors the site's structure. A visual sitemap is a diagram for planning a website. This generator creates XML sitemaps.

Any more questions?

Contact Support
Your website needs a home

Looking for hosting for your website?

Fast, reliable web hosting with full SSH access.

4.4/5 Trustpilot32,000+ Active serversSince 2010

No setup. No risk. Online in seconds.

Flexible TermCancel anytimeOnline in 60 seconds

Looking for more tools? View all developer tools