Skip to main content
UFOZoo

XML Sitemap Generator: Create Sitemaps for Google Online

XML sitemap generator online: create sitemaps with priority, change frequency, and lastmod for Google and Bing submission.

Updated 2026-08-16

Related Tools

Features

  • Real-time XML sitemap generation as you add URLs: no manual generation step needed
  • Multiple priority levels from 0.0 to 1.0 to signal page importance to search engines
  • Change frequency options: always, hourly, daily, weekly, monthly, yearly, and never
  • Last modified date picker for each URL to inform search engines of content freshness
  • Bulk URL input: paste multiple URLs at once for rapid sitemap building
  • URL validation ensures only properly formatted URLs are included in the sitemap
  • Duplicate URL detection: automatically flags duplicate entries in your sitemap
  • One-click copy ready XML output or save as .xml file for direct placement on your site root
  • Preset templates (Blog, Business, E-commerce) to quickly pre-populate common URL structures
  • File size estimation to keep your sitemap within Google's limits
  • Automatic sitemap index generation when exceeding 50,000 URLs
  • Proper XML namespace formatting following the sitemaps.org protocol

How to Use

  1. 1Enter a page URL in the input field, then set its priority and change frequency.
  2. 2Optionally set a last modified date to tell search engines when the content was updated.
  3. 3Click the Add button or press Enter to add the URL to your sitemap list.
  4. 4Use preset templates (Blog, Business, E-commerce) to quickly add common URL structures by entering your site's base URL.
  5. 5Repeat for each page on your site, or use Bulk Add to paste multiple URLs at once. Configure default priority and change frequency before importing.
  6. 6Review the generated XML output on the right panel. It updates automatically as you add URLs.
  7. 7Click the Copy button to copy the XML, or use the Download button to save as a .xml file.
  8. 8Upload the sitemap to your site root (e.g., https://example.com/sitemap.xml) and submit to Google Search Console.

Frequently Asked Questions

What is an XML sitemap?

An XML sitemap is a file that lists all important pages on your website and tells search engines like Google when each page was last updated, how often it changes, and its relative importance. It helps search engines crawl and index your site more efficiently, especially for large or complex websites.

Is there a maximum number of URLs in a sitemap?

Yes. A single sitemap file can contain a maximum of 50,000 URLs and must be no larger than 50MB (uncompressed). If your site exceeds these limits, this tool automatically generates a sitemap index file that references multiple sitemap parts. You need to upload all parts to your server.

What do priority values mean?

Priority values range from 0.0 to 1.0 and indicate the relative importance of a page compared to other pages on your site. A value of 1.0 indicates the most important page (typically your homepage), while 0.1 indicates the least important. Priority only affects crawling priority within your own site, not ranking in search results.

What is change frequency?

Change frequency tells search engines how often a page is likely to change. Options include always (for real-time content like stock tickers), hourly, daily, weekly, monthly, yearly, and never (for archived content). This is a hint, not a directive: Google may crawl more or less frequently than specified.

Do I need a sitemap for my website?

You need a sitemap if your site is large (hundreds of pages), has many orphaned or isolated pages not linked internally, is new with few external backlinks, or uses rich media content like images and videos. Small sites with good internal linking may not need one, but having a sitemap never hurts SEO.

Is the generated XML valid for search engines?

Yes. The generated XML follows the official sitemaps.org protocol with proper namespace declarations. It includes the required <loc> element and optional <priority>, <changefreq>, and <lastmod> elements. The output can be submitted directly to Google Search Console, Bing Webmaster Tools, and other search engines.

Can I include images and videos in my sitemap?

Yes. Google supports image and video sitemap extensions using the <image:image> and <video:video> namespaces. This tool generates standard XML sitemaps. For image and video sitemaps, additional namespace declarations and elements are needed. Consider using specialized sitemap tools for rich media content.

What is the difference between a sitemap and robots.txt?

A sitemap tells search engines which URLs to crawl and index, while robots.txt tells them which URLs not to crawl. They serve complementary roles: robots.txt controls crawler access (and should not be used to block indexing; use noindex for that), while a sitemap actively promotes pages for crawling and indexing.

What are preset templates?

Preset templates provide ready-made URL structures for common website types. Choose from Blog (homepage, about, blog, contact), Business (homepage, about, services, contact), or E-commerce (homepage, products, categories, about). Each template comes with recommended priority and change frequency values. When you select a template, simply enter your site's base URL and all URLs are added automatically.

How does duplicate URL detection work?

The tool automatically checks all added URLs for duplicates by comparing normalized URLs (case-insensitive). Duplicate entries are flagged with a warning icon in the list, and a validation status indicator at the top shows the total number of duplicates found. You can remove duplicate entries to keep your sitemap clean.

What is the estimated file size for?

The file size estimate shows the byte size of your generated XML sitemap, displayed in the status bar alongside URL count. This helps you ensure your sitemap stays within Google's 50MB uncompressed size limit. The estimate updates in real-time as you add or remove URLs.

Can I save the sitemap as a file?

Yes. In addition to copying the XML to your clipboard, you can save the generated sitemap directly as a .xml file using the save button next to the copy button. The file is named 'sitemap.xml' and can be placed directly on your web server.

Why isn't my sitemap being indexed by Google?

Google treats sitemaps as suggestions, not guarantees. Common blockers: the sitemap URL is blocked by robots.txt, the domain in the sitemap differs from the one in Search Console (http vs https, www vs non-www), URLs return errors (404/500), the file is over 50,000 URLs or 50MB (split it), or the sitemap was never submitted. Use Search Console's Sitemaps report to submit it and check the status. Indexing itself still depends on content quality and crawl budget; a sitemap only helps discovery.

Do I need to regenerate and resubmit the sitemap every time I publish a new page?

Yes, ideally. Search engines re-fetch sitemap.xml on a schedule (Google roughly daily), so a page that only exists in the sitemap can still take days to be discovered. Best practice: regenerate after publishing (this tool updates in real time as you add URLs), upload to the same URL, and confirm in Search Console's Sitemaps report; or better, use a script or CMS plugin that maintains the sitemap automatically so you never have to remember. Pages with strong internal links get found either way; the sitemap shortens the lag.

Can my sitemap include redirecting or error URLs?

It shouldn't. A sitemap should list URLs that return 200: pages that 301-redirect should be listed under their final destination (or dropped), and 404/410 URLs should be removed entirely. Every dead URL wastes crawl budget and shows up as an error in Search Console's coverage report. After a migration, regenerate the sitemap from the new URL list and check the old URLs' status codes first. If you must keep both during a transition, keep the old ones in a separate sitemap file you plan to retire.

If I don't reference the sitemap in robots.txt, will Google still find it?

Yes, Google discovers sitemaps through Search Console submission, which is the official channel and does not require robots.txt. Referencing it in robots.txt (Sitemap: https://yourdomain.com/sitemap.xml) is a secondary discovery aid for some crawlers, and it costs one line, but it is not a requirement, and its absence does not stop indexing. The one thing that does matter: the sitemap must be reachable (200, not blocked by robots.txt) once submitted.

I filled in the wrong priority or change frequency, will I be penalized?

No penalty. Both fields are hints, not directives: Google ignores priority almost entirely and treats change frequency as a loose suggestion, so wrong values cannot get you penalized. Worst case they are simply ignored. What is worth fixing is lastmod: a wrong or stale modification date can slightly mislead crawl scheduling. Regenerate with corrected values and re-upload to the same URL; Search Console picks up the new file on its next fetch.