Home / SEO Tools / XML Sitemap Generator
FREE TECHNICAL SEO TOOL

Generate Your XML Sitemap In Seconds.

Make it easier for search engines to discover your website pages. Create a search-engine-friendly XML sitemap, organize your URLs, and download your sitemap file instantly.

✓ 100% Free Tool
✓ Instant XML Generation
✓ Easy Download
✓
XML Ready Sitemap structure
YOUR-WEBSITE.COM / SITEMAP.XML
•••
XML
sitemap.xml XML Sitemap Document
VALID FORMAT
01 <?xml version="1.0"?>
02 <urlset
03 xmlns="sitemaps.org/..."
04 >
05 <url>
06 <loc>https://example.com/</loc>
07 <priority>1.0</priority>
08 </url>
09 <url>
10 <loc>https://example.com/about/</loc>
11 </url>
12 ...
13 </urlset>
↓
sitemap.xml Ready to download
01 CREATE ORGANIZE DOWNLOAD
HELP SEARCH ENGINES DISCOVER YOUR WEBSITE
BUILD GENERATE OPTIMIZE
FREE TECHNICAL SEO TOOL

XML Sitemap Generator

Create an XML sitemap for your website in seconds. Add your page URLs, configure sitemap settings, and download your file ready for your website.

01

Website Information

Required
Enter your website's main domain.
02

Add Website URLs

Required
Enter one URL per line. 5 URLs
Examples: /about/ /blog/ https://example.com/contact/
03

Sitemap Settings

Optional
Only add a date if it accurately represents when the pages were last modified.
This is a hint, not a directive that search engines must follow.
Priority is relative to other URLs on your website.
LIVE XML PREVIEW

Your Sitemap

Ready
XML sitemap.xml
5 URLs
i

Review your sitemap before publishing. This tool generates XML from the URLs you provide; it does not crawl or upload files to your website.

↗
0 Valid URLs
✓
0 Unique URLs
!
0 Skipped URLs
Google Sitemap Guidelines

A standard sitemap can contain up to 50,000 URLs or 50 MB (uncompressed). Larger websites should use a sitemap index with multiple sitemap files.

View Google's Sitemap Documentation ↗
100% Free Browser-based generation
SEO Friendly Standard XML sitemap format
Instant Download Ready to publish
XML
Website Sitemap Organized URL structure
SITEMAP
⌂
https://example.com/ Website Homepage
ROOT
↗
/about/ About Page
URL
↗
/services/ Services Page
URL
↗
/blog/ Blog Archive
URL
↗
/contact/ Contact Page
URL
UNDERSTANDING XML SITEMAPS

What Is an XML Sitemap And Why Does Your Website Need One?

An XML sitemap is a file that lists the important URLs on your website, helping search engines discover pages they may want to crawl. It provides useful information about your website's content and makes important URLs easier to identify.

Whether you manage a business website, WordPress blog, or ecommerce store, a properly maintained sitemap can support your technical SEO and help search engines understand your website's content structure.

01
Help Search Engines Discover URLs

Provide search engines with a list of important pages on your website.

02
Support Website Crawling

Give crawlers another way to find pages, especially on larger or frequently updated websites.

03
Share Important Page Information

Include optional metadata such as accurate last modification dates.

Create Your XML Sitemap →
UNDERSTAND THE STRUCTURE

XML Sitemap Tags Explained

Every XML sitemap follows a structured format. Learn what the essential tags mean and how they help search engines understand the URLs listed in your sitemap.

sitemap.xml XML
01 <?xml version="1.0" encoding="UTF-8"?>
02 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
03
04 <url>
05 <loc>https://example.com/</loc>
06 <lastmod>2026-11-08</lastmod>
07 <changefreq>weekly</changefreq>
08 <priority>1.0</priority>
09 </url>
10
11 </urlset>
<loc> REQUIRED

Location of the URL

Specifies the full URL of the page you want search engines to discover. Every URL entry must contain this element.

https://example.com/about/
<lastmod> OPTIONAL

Last Modified Date

Indicates when the page was last significantly updated. Use an accurate date that reflects the actual modification.

2026-11-08
<changefreq> OPTIONAL

Expected Change Frequency

Historically described how often a page might change. Google ignores this tag, so it is not necessary for Google SEO.

daily / weekly / monthly
<priority> OPTIONAL

Page Priority

Provides a relative priority value between 0.0 and 1.0 within your website. Google ignores this tag.

0.0 – 1.0
i

SEO tip: The <loc> element is required, while the other elements are optional. For Google, an accurate <lastmod> value is more useful than <changefreq> or <priority>.

BUILD A BETTER SITEMAP

XML Sitemap Best Practices

A sitemap should do more than list URLs. Follow these practical guidelines to keep your sitemap organized, accurate, and useful for search engines.

✓

What to Include

Important URLs worth discovering

DO THIS
✓
Canonical Website URLs

Include the preferred version of each important page.

✓
Indexable Pages

List pages that are accessible and eligible for indexing.

✓
Important Content

Add useful service pages, products, articles, and categories.

✓
Accurate Last Modified Dates

Use genuine modification dates when you provide lastmod.

✓
HTTPS URLs

Use your preferred secure domain and consistent URL format.

×

What to Avoid

URLs that create sitemap problems

AVOID THIS
×
Redirecting URLs

Prefer the final destination URL instead of redirecting URLs.

×
Broken or Error Pages

Do not list URLs that return 404 or server error responses.

×
Noindex Pages

Exclude pages that explicitly tell search engines not to index them.

×
Duplicate URL Variations

Avoid unnecessary parameter, tracking, and duplicate URLs.

×
Unnecessary External URLs

Keep your sitemap focused on URLs belonging to your website.

i
Remember: A sitemap is not an indexing guarantee.

Submitting a sitemap helps search engines discover URLs, but inclusion does not guarantee crawling, indexing, or higher rankings. Keep your sitemap aligned with your canonical and indexation strategy.

AFTER GENERATING YOUR SITEMAP

Submit Your XML Sitemap to Google Search Console

Once your sitemap is ready and uploaded to your website, submit its URL through Google Search Console to help Google discover your website's important pages.

search.google.com/search-console
G Search Console
Website property example.com ⌄
Overview Performance URL inspection Sitemaps Page indexing
Sitemaps ›

Add a new sitemap

Enter sitemap URL
https://example.com/ sitemap.xml
Submit
Sitemap Status
sitemap.xml Submitted
✓
Submission walkthrough Illustrative Search Console interface
01

Generate Your XML Sitemap

Use our free generator to create your sitemap.xml file. Review the URLs before downloading it.

02

Upload It to Your Website

Upload the downloaded file to your website's root directory so it can be accessed at a URL such as https://example.com/sitemap.xml.

03

Open Google Search Console

Visit Google Search Console, select your verified website property, and open the Sitemaps section.

04

Submit Your Sitemap URL

Enter your sitemap path, click Submit, and check the reported status in Search Console.

Open Google Search Console ↗
!
Important: Generate, upload, then submit.

Our browser-based generator creates the XML file on your device. It does not automatically upload the file to your website or submit it to Google. You must complete those steps separately.

TROUBLESHOOTING GUIDE

Common XML Sitemap Errors And How to Fix Them

Sitemap errors can prevent search engines from accessing or properly processing your submitted URLs. Learn how to identify common problems and keep your sitemap healthy.

404
URL ERROR

URLs Returning 404 Errors

Your sitemap contains pages that no longer exist or return a not-found response.

How to fix: Remove deleted URLs or restore the intended pages. Use appropriate redirects where a replacement page exists.
CHECK URLS
301
REDIRECT ERROR

Redirecting URLs in Your Sitemap

Some sitemap entries redirect visitors or search engine crawlers to different URLs.

How to fix: Replace redirecting URLs with their final destination URLs, provided those destinations are canonical and indexable.
UPDATE URL
XML
FORMAT ERROR

Invalid XML Formatting

Missing closing tags, incorrect characters, or malformed XML structure can stop a sitemap from being processed.

How to fix: Validate the XML structure, check that tags are properly nested, and escape special characters correctly.
VALIDATE XML
NO
INDEXING CONFLICT

Noindex or Non-Canonical Pages

Your sitemap lists pages that are blocked from indexing or specify a different canonical URL.

How to fix: Review robots directives and canonical tags. Include the preferred canonical URLs that you want search engines to discover.
REVIEW PAGES
URL
ACCESSIBILITY ERROR

Sitemap Cannot Be Accessed

Your sitemap file may be missing, incorrectly uploaded, or returning an access or server error.

How to fix: Check the sitemap URL in your browser, verify file permissions, and investigate server or firewall restrictions.
CHECK ACCESS
✓
Keep Your Sitemap Clean and Updated

Review your sitemap after major website changes, remove outdated entries, and check Search Console for reported sitemap issues.

Generate Sitemap →
GOT QUESTIONS?

XML Sitemap FAQs

Find answers to common questions about XML sitemaps, website crawling, indexing, and using our free sitemap generator.

?

Still Confused About XML Sitemaps?

Whether you're creating your first sitemap or fixing an existing one, these answers will help you understand the process.

Create Your Sitemap →
FREE TOOL No registration required
What is an XML sitemap?
An XML sitemap is a structured file that lists important URLs on your website. It helps search engines discover pages and provides additional information, such as when a page was last modified.
Is an XML sitemap important for SEO?
An XML sitemap can support technical SEO by helping search engines discover important URLs. It is particularly useful for large websites, new websites, and sites with complex internal linking. However, having a sitemap does not directly guarantee higher rankings.
How do I create an XML sitemap for my website?
Enter your website URL into our free XML Sitemap Generator, add the page URLs you want to include, choose any optional metadata, and generate your sitemap. You can then download the resulting sitemap.xml file.
Where should I upload my sitemap.xml file?
Upload the sitemap.xml file to your website's root directory. For example, it should be accessible at https://example.com/sitemap.xml. Make sure the file is publicly accessible.
Does Google automatically find my XML sitemap?
Google may discover your sitemap through a reference in your robots.txt file or other discovery methods. You can also submit its URL directly through Google Search Console to help Google find it.
Does submitting a sitemap guarantee indexing?
No. Submitting a sitemap helps Google discover URLs, but it does not guarantee that Google will crawl or index every page. Pages must also meet Google's technical and quality requirements.
How many URLs can an XML sitemap contain?
A standard sitemap file can contain up to 50,000 URLs or 50 MB when uncompressed. Larger websites can use multiple sitemap files and a sitemap index file.
Do I need to update my sitemap regularly?
Yes. Keep your sitemap updated when important pages are published, removed, or changed. Ensure that it reflects your current canonical and indexable URLs.
Can I create an XML sitemap without WordPress?
Yes. An XML sitemap works with WordPress, Shopify, custom-built websites, and other platforms. You can use our browser-based generator to create one without installing a plugin.
Is this XML Sitemap Generator free to use?
Yes. TradeScaleHub's XML Sitemap Generator is free to use. You can enter URLs, generate XML, preview the result, copy the code, and download your sitemap without creating an account.
YOUR NEXT STEP IN TECHNICAL SEO

Make Your Website Easier to Discover.

Create a clean XML sitemap, help search engines discover your important pages, and take another step toward a stronger technical SEO foundation.

Generate Your Free Sitemap → Free to use. No registration required.
✓ Instant XML generation ✓ Easy file download ✓ Browser-based tool
XML FILE
sitemap.xml
<urlset xmlns="...">
<url>
<loc>example.com</loc>
</url>
</urlset>
✓ Ready to download
↗
Search Ready Organized URLs
✓
100% Free No sign-up needed

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Privacy & Cookies Policy

Adblock Detected

Please support us by disabling your AdBlocker extension from your browsers for our website.