What Is a Sitemap? Meaning, Types, Examples and How to Create One

Key takeaways
- A sitemap is a file that lists the important pages of a website so search engines can find and crawl them.
- Search engines find pages in two main ways.
- An XML sitemap looks like code but it is only a plain list of pages.
- Many small business owners skip sitemaps because their site looks simple.
A sitemap is one of the simplest SEO tools you can set up for your website. It tells search engines exactly which pages exist on your site and how to find them. Without a sitemap Google and other search engines have to discover your pages on their own. This can take longer and some pages may get missed completely.
If you run a website, blog or online store, understanding sitemaps helps you get indexed faster. It also helps you spot crawling issues before they hurt your rankings. In this guide we cover what a sitemap is and what one looks like. You will see the main types and find out if you really need one. Then we walk through how to find, create and submit one step by step.
What Is a Sitemap?
A sitemap is a file that lists the important pages of a website so search engines can find and crawl them. Most sitemaps are XML files kept at yoursite.com/sitemap.xml. Each entry holds a page URL and can include the date that page last changed.
If you typed what is sitemap into Google after spotting the Sitemaps report in Search Console, this XML file is what it refers to. The word has two other uses as well. An HTML sitemap is a normal page that helps visitors find their way around a site. A visual sitemap is a diagram teams use to plan a website before it is built.
For SEO the XML sitemap matters most because it works like a map for search engine bots. When Google crawls your site it uses this file to understand your site structure and find pages it might otherwise miss.
A sitemap does not guarantee ranking because it only tells search engines which pages exist and which ones you want in search. Google treats it as a hint so some URLs may still be skipped. Ranking then depends on content quality, backlinks and page experience.
Sitemap Key Facts at a Glance
Usual address: yoursite.com/sitemap.xml or yoursite.com/sitemap_index.xml
Format: an XML file saved in UTF-8 that follows the open sitemaps.org protocol
Size limit: 50,000 URLs or 50 MB uncompressed per file
Large sites: split pages across several files listed in one sitemap index
Core tags Google reads: the page URL and an accurate last modified date
Tags Google ignores: priority and changefreq
Where to submit: Google Search Console and Bing Webmaster Tools plus a line in robots.txt
What it cannot do: force indexing or lift rankings on its own
How Does a Sitemap Work?
Search engines find pages in two main ways. They follow links from pages they already know and they read the sitemaps that site owners share with them. Links alone can miss pages buried deep in a site and orphan pages that have no internal links at all.
Search engines also limit how much they crawl each site and this limit is called crawl budget. It rarely matters on a small site. On a site with thousands of URLs a sitemap helps bots spend that budget on the pages you care about.
What Happens After a Search Engine Reads Your Sitemap
The bot finds your sitemap through Search Console or the Sitemap line in robots.txt
It reads every URL in the file along with any lastmod dates
It compares that list with the pages it already knows
New and recently changed pages join its crawl queue
The bot crawls those pages when it has capacity
Google then decides which crawled pages are good enough to index
Why Search Engines Use a Sitemap
Search bots have limited time and resources to crawl each site
A sitemap gives bots a direct list instead of making them guess links
It helps new pages get discovered faster after publishing
It flags update dates so search engines know what content changed
It supports large sites where some pages have few or no internal links pointing to them
What Does a Sitemap Look Like? (XML Sitemap Example)
An XML sitemap looks like code but it is only a plain list of pages. Here is a small example for a site with two pages.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.example.com/</loc>
<lastmod>2026-09-01</lastmod>
</url>
<url>
<loc>https://www.example.com/services/seo/</loc>
<lastmod>2026-08-18</lastmod>
</url>
</urlset>
Each page sits inside its own url block and a basic file needs nothing more.
Sitemap Tags Explained
urlset: wraps the whole file and names the protocol it follows
url: holds the details for one page
loc: the full page address and the only required tag inside url
lastmod: the date the page content last changed in a meaningful way
changefreq: a guess at how often the page changes that Google ignores
priority: a score from 0.0 to 1.0 for page importance that Google also ignores
Special versions add extra tags on top of these. Image sitemaps add image details and video sitemaps add a title, description and thumbnail. Sites in more than one language can add hreflang links that connect each language version of a page.
Why a Sitemap Matters for Your Website
Many small business owners skip sitemaps because their site looks simple. But even a five page website benefits from one. Search engines still need a clear signal about which pages to index and when they change.
If your site is not ranking the way it should, a missing or broken sitemap could be part of the problem. Our post on why a website may not rank on Google covers other common causes alongside this one.
Main Benefits of Adding a Sitemap
Faster indexing for new pages and blog posts
Better crawling for large or complex websites
A direct path to orphan pages that have no internal links
Early warning for broken links or missing pages through Search Console
A clear list of the pages you actually want in search results
Support for image and video content to show up in search results
Quicker recrawls of updated pages when your lastmod dates are accurate
Do You Really Need a Sitemap?
Google's own guidance says a site with about 500 pages or fewer may not need one as long as every page is linked from your menus or other pages. Even then it costs nothing and most platforms build one for you. So for most business websites the practical answer is yes.
You Should Have a Sitemap If
Your site has hundreds or thousands of pages
Your site is new and few other websites link to it yet
You publish often on a blog, news section or online store
Some pages sit deep in the site or have weak internal links
Images or videos bring you a good share of search traffic
You serve pages in more than one language or country
You Can Probably Skip It If
Your site has only a handful of pages that all link to each other
Every page is reachable from the homepage in a few clicks
You have no image, video or news content that needs its own sitemap
Types of Sitemaps You Should Know
Sitemaps come in a few formats. Each one suits a different reader or type of content.
Common Sitemap Types
XML Sitemap: the standard format read by search engine bots
HTML Sitemap: a page made for human visitors to navigate your site
Visual Sitemap: a diagram used to plan or audit a site's structure
Image Sitemap: helps search engines find and index images separately
Video Sitemap: gives details like duration and thumbnail for video content
News Sitemap: helps news publishers get articles from the last two days indexed fast
Sitemap Index: a file that links to multiple sitemaps on large sites
Text Sitemap: a plain .txt file with one URL on each line
RSS or Atom Feed: a blog feed that Google also accepts as a sitemap
XML Sitemap vs HTML Sitemap
These two are often confused because they share the word sitemap. But they serve completely different audiences.
An XML sitemap is built for machines so search engine bots can crawl your site faster. An HTML sitemap is built for people as a normal webpage that visitors can click through to explore your site structure. Most sites link to it from the footer where people expect to find it. Our guide to footer design for UX and SEO shows how it fits with other footer links. Some sites use both together for the best result.
Feature | XML Sitemap | HTML Sitemap | Visual Sitemap |
Made for | Search engine bots | Website visitors | Your team and clients |
Format | Code file (.xml) | Normal web page | Diagram or chart |
Where it lives | yoursite.com/sitemap.xml | A page linked from the footer | A planning tool or document |
Main job | Get pages crawled and indexed | Help people find pages | Plan or audit site structure |
Submitted to Google | Yes through Search Console | No | No |
Key Differences
Search engines read the XML version while visitors read the HTML version
The XML file uses code while the HTML page looks like any other page
You submit the XML file in Search Console but link the HTML page in your footer or navigation
XML files update automatically on most platforms while HTML pages often need manual updates
Both can exist on the same website without conflict
What Is a Visual Sitemap?
A visual sitemap is a diagram of your website drawn as boxes and lines. The homepage sits at the top with main sections branching out below it and deeper pages under those. Search engines never see this diagram because it is a planning tool for people.
Teams use these diagrams before they build or redesign a site. Designers, developers, writers and SEO specialists can agree on every page and where it sits before anyone writes code. If you are planning a new website it is usually the first document worth making. It also helps with audits because weak spots in the navigation show up quickly on one screen.
What a Visual Sitemap Helps You Plan
The full list of pages the site needs
Which pages belong under which section
How many clicks each key page is from the homepage
What goes in the main menu and the footer
Clean URL paths for every section
Missing pages and content gaps
Which old URLs need redirects during a redesign
What to Include in a Good Sitemap
A sitemap is only useful if it contains accurate and relevant information. Adding the wrong pages can confuse search engines instead of helping them.
Not sure if a page belongs? Run it through our free on page SEO checker to see if it is indexable and which canonical tag it uses.
Sitemap Checklist
All indexable pages you want search engines to find
Full URLs that start with https and match your main domain version
A correct last modified date for each URL
Canonical URLs only (the main version of each page) with no duplicates
No pages blocked by robots.txt or marked noindex
No broken links or redirect chains
No more than 50,000 URLs or 50 MB in any single file
No priority or changefreq tags needed since Google ignores both
Pages to Leave Out of Your Sitemap
Pages that redirect to another URL
Pages that return a 404 or other error
Thank you, cart, checkout and login pages
Internal search results plus filter and tracking URLs
Staging or test copies of your site
Thin tag or archive pages you do not want ranking
How to Find a Website's Sitemap
You may want to check your own sitemap or look at a competitor's to see how their site is organized. Most sitemaps sit at a predictable address.
Quick Ways to Find Any Sitemap
Add /sitemap.xml to the end of the domain in your browser
Try /sitemap_index.xml or /wp-sitemap.xml if the first one fails
Open /robots.txt and look for a line that starts with Sitemap:
Check the Sitemaps report in Google Search Console for your own site
Search Google for site:example.com filetype:xml
Look in your CMS or SEO plugin settings or ask your developer
Default Sitemap Addresses on Popular Platforms
WordPress (built in since version 5.5): /wp-sitemap.xml
WordPress with Yoast SEO or Rank Math: /sitemap_index.xml
Shopify, Wix and Squarespace: /sitemap.xml created automatically
Webflow: /sitemap.xml once the auto sitemap option is switched on in SEO settings
Blogger: /sitemap.xml
Next.js: /sitemap.xml built from an app/sitemap file or a package like next-sitemap
How to Create a Sitemap Step by Step
Creating a sitemap is easier than most people expect. Most modern website platforms can generate one automatically.
Steps to Build Your Sitemap
Check if your CMS or platform already generates one automatically
If not, use a sitemap generator plugin or tool suited to your platform
Review the generated file and remove any pages you do not want indexed
Save the file as sitemap.xml in your site's root folder
Add the line Sitemap: https://yoursite.com/sitemap.xml to your robots.txt file
Open the file in a browser to confirm it loads without errors
Move to a sitemap index once you pass 50,000 URLs
For a detailed walkthrough with platform steps and code samples, our guide on how to create an XML sitemap and submit it to Google breaks down each step further.
How to Submit Your Sitemap to Google Search Console
Creating the file is only half the job because you still need to tell Google where to find it. This step speeds up discovery instead of waiting for organic crawling.
Submission Steps
Log in to Google Search Console for your verified property
Open the Sitemaps section from the left sidebar
Enter your sitemap URL such as sitemap.xml
Click Submit and wait for Google to process it
Check back after a few days to confirm the status shows success
Fix any errors Search Console reports and resubmit if needed
What Your Sitemap Status Means
Success: Google read the file and queued its URLs for crawling
Has errors: Google read the file but found problems in some entries
Couldn't fetch: Google could not load the file at all
A Couldn't fetch status usually points to a wrong URL, a server error or a file blocked by robots.txt. Also compare the discovered pages count with the number you expect since a big gap means some pages are not being picked up.
Other Ways to Share Your Sitemap
Add the Sitemap line to robots.txt so every search engine can find it
Submit it in Bing Webmaster Tools since Bing results also power Microsoft Copilot
Use IndexNow to alert Bing and other supporting engines the moment a page changes
Large sites can submit sitemaps through the Search Console API
Ignore old guides that tell you to ping Google since Google shut that ping address down in late 2023
Sites that update content often should recheck this regularly. Our website maintenance and security service covers this kind of ongoing technical upkeep for growing sites.
Sitemap vs Robots.txt: What Is the Difference?
People mix up these two files because both sit in the root folder and both speak to bots. They do opposite jobs. A sitemap says here are the pages I want you to find while robots.txt says here are the areas you should not crawl.
Question | Sitemap | Robots.txt |
Main job | Lists pages you want crawled | Blocks areas you do not want crawled |
File name | sitemap.xml | robots.txt |
Format | XML | Plain text rules |
Effect on indexing | Helps pages get discovered | Controls crawling but not indexing |
How they connect | Listed inside robots.txt | Points bots to the sitemap |
How the Two Files Work Together
Add a Sitemap line to robots.txt so any bot can find it
Never list a URL in your sitemap that robots.txt blocks
Use a noindex tag and not robots.txt when you want a page kept out of search results
Keep both files at the root of your domain
Common Sitemap Mistakes to Avoid
Even a well built sitemap can cause problems if it is set up incorrectly. These mistakes are common and easy to miss.
Mistakes That Hurt Your Rankings
Including pages that are blocked by robots.txt
Listing pages marked as noindex
Forgetting to update the sitemap after site changes
Adding duplicate or non canonical URLs
Leaving broken or redirected links inside the file
Never submitting the sitemap to Search Console after creating it
Stamping today's date as lastmod on every page even when nothing changed
Mixing http with https or www with non www versions of URLs
Leaving staging or test URLs in the live file
A full technical review can catch these issues early. Our technical SEO audit checklist covering 47 issues is a good reference point to run through your site.
What We Learned From Rebuilding Our Own Website
In 2026 we rebuilt the Digisutra Solutions website and cut it from several hundred pages down to under 100. After launch Search Console kept flagging large numbers of old removed URLs as 404 and soft 404. That is normal after a big cleanup and it shows why the sitemap should list only live pages so Google spends its crawling on what exists now. After any redesign:
Replace the old sitemap with one that lists only live URLs
Add 301 redirects for old pages that have a close new match
Let removed pages with no match return a 404 or 410
Resubmit the new file and watch the Pages report in Search Console
Sitemap Tips for AI Search and Google Overviews
Google AI Overviews and AI Mode build their answers from pages already in Google's index. Google says a page only needs to be indexed and eligible to show a snippet with no special AI file or markup required. So a sitemap helps AI visibility the same way it helps normal search by getting your pages found and indexed first.
Other AI tools work in a similar way. ChatGPT search and Perplexity use their own crawlers such as OAI-SearchBot and PerplexityBot. Microsoft Copilot leans on Bing. Many crawling tools that feed AI apps also start from sitemap.xml to discover URLs.
How Sitemaps Help AI Platforms Find Your Content
A clean sitemap helps Google and AI crawlers reach the pages that AI answers can cite
Submitting to Bing Webmaster Tools helps your pages show up in Copilot answers
AI crawlers can only use your sitemap if robots.txt lets them in so check you are not blocking OAI-SearchBot or PerplexityBot by mistake
Honest lastmod dates tell crawlers which pages really changed
Clean site architecture reduces the chance of AI tools missing key pages
An llms.txt file is optional and does not replace a sitemap since Google says its AI features need no special AI text files
Conclusion
A sitemap is a small file that makes a big difference in how search engines see your website. It will not fix every SEO problem on its own but it removes one of the biggest barriers to getting found. Small blogs and large online stores both gain when the sitemap stays accurate and up to date. Start by checking if you already have one then remove pages that do not belong and resubmit it through Search Console.
Frequently Asked Questions
What is a sitemap in simple words?
A sitemap is a file that lists the pages on your website so search engines can find and crawl them easily.
Do I really need a sitemap for a small website?
Not always. Google says a well linked site with about 500 pages or fewer can manage without one. Most platforms create one for free so it is still worth having.
What is the difference between a sitemap and robots.txt?
A sitemap lists pages you want indexed. Robots.txt tells bots which pages or folders they should not crawl.
How often should I update my sitemap?
Update it whenever you add, remove or change important pages. Most platforms do this automatically.
Can a sitemap improve my Google ranking directly?
No. A sitemap helps with indexing and discovery. Ranking still depends on content quality, speed and backlinks.
Where should I place my sitemap file?
Your sitemap should sit in your site's root folder, usually as yoursite.com/sitemap.xml.
How do I check if my sitemap is working?
Open the sitemap URL in a browser to confirm it loads. Then check its status in the Sitemaps report inside Google Search Console.
What happens if my sitemap has errors?
Search Console will flag the errors. Pages with issues may get skipped during crawling until you fix them.
Should I include every single page in my sitemap?
No. Only include pages you want indexed. Leave out duplicate, noindex, redirected or blocked pages.
Is an HTML sitemap still useful today?
Yes for larger sites. It helps visitors find pages and gives search engines another path to them.
What does sitemap.xml mean?
It is the standard file name for an XML sitemap. The .xml part shows the file is written in XML which search engines read easily.
How many URLs can one sitemap hold?
One sitemap can hold up to 50,000 URLs or 50 MB uncompressed. Bigger sites split their URLs across several files and list them in a sitemap index.
Does Google use priority and changefreq tags?
No. Google ignores both tags. It uses the lastmod date only when that date is accurate.
How do I find the sitemap of any website?
Type the domain followed by /sitemap.xml in your browser. If that fails check the site's robots.txt file for a Sitemap line.
What is a visual sitemap?
A visual sitemap is a diagram that shows every page of a website and how the pages connect. Teams use it to plan a new site or fix the navigation on an old one.
About the author

Sr. SEO Executive · 3 years' experience
Harsh Rajput is a Senior SEO Executive with 3+ years of experience in SEO, digital marketing and AEO/GEO strategy. He leads a team of SEO executives at Digisutra Solutions, handling keyword research, technical SEO, on-page/off-page optimization, link building and content strategy, while helping brands rank in Google AI Overviews and LLM platforms like ChatGPT, Claude and Gemini. He has worked with clients across India, USA, UAE, and Australia in industries like e-commerce, finance and technology.
Reader reviews

Up next · SEO & AI search · 21 min
Technical SEO Audit Checklist Covering 47 Issues That Can Hurt Your Rankings

Related · AI automation · 20 min
What Custom AI Development Means for a Business
