XML Sitemap Generator – Create Sitemap

Search Engine Optimization

XML Sitemap Generator


Enter a domain name


Modified date
dd/mm/yyyy
Change frequency
Default priority
How many pages do I need to crawl?

Captcha

Crawling...
Links Found: 0


                
                

About XML Sitemap Generator

An XML sitemap is a machine-readable file that lists the preferred URLs of a website. It gives search engines a clear source from which they can discover important pages, especially when a site is large, recently launched, frequently updated, or not perfectly connected through internal links.

This free XML Sitemap Generator crawls the address you enter and prepares a sitemap from the URLs it can find. You can review the generated list and save it as an XML file. No registration is required. A sitemap supports discovery, but it does not guarantee that every submitted URL will be crawled, indexed, or ranked.

How to Use the XML Sitemap Generator

  1. Enter the complete homepage URL, including https:// and the preferred hostname.
  2. Choose whether to include a modified date. Use a custom date only when it accurately represents a meaningful page update.
  3. Select a change frequency or leave it as None. This field may be included for compatibility, although Google does not use it.
  4. Select a default priority or leave it as None. Search engines such as Google ignore sitemap priority values.
  5. Choose the maximum number of pages the tool should crawl, from 50 up to 5,000.
  6. Complete the image verification and click Generate sitemap.
  7. Review the discovered URLs. Remove unsuitable URLs before using the file.
  8. Click Save As XML File, upload the file to your website, and submit its public URL in Google Search Console.

The generator can normally find pages that are publicly accessible and connected through crawlable links. Pages hidden behind a login, blocked from crawling, loaded only after complex scripts run, or not linked from other pages may be missed. Always inspect the output instead of assuming that it represents every page on the site.

What Is an XML Sitemap?

An XML sitemap is usually stored at a public address such as https://example.com/sitemap.xml. Each entry contains a page URL inside a <loc> element. An entry may also include <lastmod> to show when that page was last significantly updated.

A standard sitemap uses the sitemap protocol namespace and full, absolute URLs. The URLs should use the same preferred protocol and hostname as the website's canonical pages. For example, if the canonical site uses HTTPS and WWW, the sitemap should not mix those URLs with HTTP or non-WWW versions.

What the Main Sitemap Fields Mean

  • loc: The complete canonical URL of the page. This is the required field.
  • lastmod: The date of the last significant content change. It should be accurate rather than automatically changed every day.
  • changefreq: A suggested update frequency in the sitemap protocol. Google ignores this value, so leaving it out is acceptable.
  • priority: A relative priority value within the website. Google ignores this value, and it does not improve rankings.

The optional fields do not give a page extra authority. A clean list of accurate canonical URLs is more useful than a file filled with artificial dates, maximum priority values, or unrealistic change frequencies.

Which URLs Should Be Included?

Include URLs that you want search engines to consider for indexing. In most cases, each URL should return a successful 200 response, contain useful public content, allow indexing, and identify itself as the canonical version.

Good candidates include important service pages, tool pages, articles, category pages, product pages, and other original content that users can reach. Use the final preferred URL after HTTPS, hostname, and path rules have been settled.

URLs Usually Best Left Out

  • Login, registration, password-reset, account, cart, or private dashboard pages.
  • URLs returning 3xx redirects, 4xx errors, or 5xx server errors.
  • Pages carrying a noindex directive.
  • Duplicate filter, tracking, session, print, or parameter URLs.
  • Non-canonical copies, including unwanted HTTP, non-WWW, WWW, or trailing-slash variants.
  • Search-result pages and thin automatically generated pages that provide little standalone value.
  • Private files or sensitive URLs that should be protected by authentication.

A sitemap is public and is not a security feature. Do not place confidential addresses in it. Removing a URL from a sitemap also does not automatically remove that page from search results; indexing controls and the page's HTTP response must be handled correctly.

Why a Sitemap Can Be Useful

Search engines can discover pages through normal links, but a sitemap provides another reliable discovery path. This is useful for websites with many pages, new sites with few external links, archives with isolated content, or sites where some important pages sit several clicks away from the homepage.

A sitemap can also make website maintenance easier. The submitted sitemap report in Search Console shows whether Google could read the file and how many URLs were discovered. That information helps with diagnosis, but a successful sitemap status does not mean that all listed pages have been indexed.

XML Sitemap Best Practices

Use Canonical, Indexable URLs

Every sitemap URL should match the version you want indexed. Keep the sitemap, canonical tag, internal links, redirects, and HTTPS/WWW preference consistent. Conflicting signals make it harder for a search engine to determine the preferred version.

Use Accurate Last-Modified Dates

Update lastmod when the main content changes in a meaningful way. A correction, substantial rewrite, product update, or important new section may justify a new date. Changes to advertisements, copyright years, navigation, or other minor sitewide elements usually do not. Avoid setting every URL to today's date each time the sitemap is generated.

Keep the File Current

Regenerate the sitemap after adding, permanently removing, or changing important URLs. Check that deleted pages disappear, redirected URLs are replaced by their final destinations, and new pages have useful internal links in addition to being listed in the sitemap.

Respect Sitemap Size Limits

A single sitemap can contain up to 50,000 URLs and must not exceed 50 MB when uncompressed. If a website exceeds either limit, divide the URLs into multiple sitemap files and list those files in a sitemap index. This generator offers a crawl limit of up to 5,000 pages per run, so larger websites may need a platform-based or server-side sitemap system.

Use Valid XML and Absolute URLs

Save the document with UTF-8 encoding and use complete URLs. Special characters in XML must be escaped correctly. After uploading the file, open its public URL in a browser and confirm that it returns HTTP 200 without redirecting to a login page or displaying a server error.

How to Submit the Sitemap to Google

  1. Upload the XML file to a public location on the same verified website.
  2. Open Google Search Console and select the correct HTTPS property.
  3. Go to Indexing > Sitemaps.
  4. Enter the sitemap path, such as sitemap.xml, and submit it.
  5. Wait for Google to read the file and check the reported status and discovered URL count.

You may also add a line such as Sitemap: https://example.com/sitemap.xml to the site's robots.txt file. Use the final public sitemap URL. You do not need to resubmit the same sitemap every day; search engines can revisit a stable sitemap address when the file changes.

Troubleshooting Common Sitemap Problems

The Generator Finds Too Few Pages

Check that important pages are linked with standard HTML links and are accessible without signing in. Confirm that robots rules, firewall settings, rate limits, and server errors are not preventing the crawler from loading pages. Orphan pages may need to be added to the website's navigation or relevant content, not merely placed in the sitemap.

Search Console Says the Sitemap Cannot Be Read

Open the exact sitemap URL in an incognito browser window. It should load publicly, use valid XML, return HTTP 200, and not be blocked by authentication. Also verify that the sitemap belongs to the same property and that the file does not contain HTML from an error page.

Pages Are Discovered but Not Indexed

This is not necessarily a sitemap error. Check each page's content quality, canonical tag, indexing directive, response status, internal links, duplication, and rendered mobile content. A sitemap can help Google find a URL, but Google still decides whether and when to crawl and index it.

The Sitemap Contains Redirects or Duplicate URLs

Replace each redirecting URL with its final canonical destination. Standardize HTTPS, WWW preference, capitalization, and trailing-slash rules. Regenerate the file after the corrections and confirm that only one preferred version of each page remains.

Frequently Asked Questions

Does an XML sitemap guarantee indexing?

No. It helps search engines discover URLs, but it does not guarantee crawling, indexing, or higher rankings.

Do small websites need a sitemap?

A small, well-linked website may be discovered without one, but a clean sitemap is still useful for monitoring, future growth, and confirming preferred URLs.

Should every URL have priority 1.0?

No. Google ignores the priority field. Selecting 1.0 for every page provides no ranking advantage.

Should I include change frequency?

It is optional. Google ignores changefreq, so you may leave it as None. Accurate content and modification dates matter more.

Can a sitemap replace internal links?

No. Important pages should still be connected through useful navigation and contextual internal links. A sitemap is an additional discovery method, not a replacement for website structure.

How often should I regenerate the sitemap?

Update it when important URLs are added, removed, or changed. The right schedule depends on how often the site changes; there is no benefit in publishing false daily changes for static pages.

Where should the sitemap file be uploaded?

A root-level address such as https://example.com/sitemap.xml is simple and widely used. If it is placed elsewhere, remember that a sitemap normally affects URLs within its directory scope unless submitted and configured appropriately.

Use the generated file as a reviewed technical map of your preferred public URLs. Keep it consistent with the real website, submit it through Search Console, and treat indexing issues as page-level quality or technical problems rather than assuming that the sitemap alone can solve them.