Home / Glossary / What is a sitemap?

Glossary

What is a sitemap?

A sitemap is a file that lists the pages of a website so search engines can find and crawl them all. The usual format is sitemap.xml — a simple XML list of URLs, with optional notes on when each page was last updated.

What is a sitemap?

A sitemap is a map of a website written for search engines. It lists the URLs a site wants crawled, so a crawler does not have to discover every page by following links alone. One sitemap file can hold up to 50,000 URLs and must stay under 50 MB uncompressed; larger sites split their map into several files and list them in a sitemap index file.

How sitemaps work

A site owner places sitemap.xml at the site root and submits it in the search engine's webmaster tools. When a crawler visits, it reads the list and adds any new or changed URLs to its crawl queue. That is especially useful for new pages, pages buried deep in the site, and pages with few or no incoming links. A sitemap does not guarantee a page will be indexed — the search engine still decides what to show — but it makes sure the crawler knows the page exists in the first place.

XML sitemap vs HTML sitemap

An XML sitemap is written for crawlers: a machine-readable list of URLs, usually at /sitemap.xml, that visitors never see. An HTML sitemap is a normal web page that lists the site's main pages for human visitors, helping people find content and giving crawlers another path through the site. The two serve different audiences, and many sites keep both. The XML file is the one that matters for indexing; the HTML page is a convenience for visitors and a backup route for crawlers.

When you need a sitemap

Every website benefits from a sitemap, and three kinds of sites need one most: new sites with few links pointing to them, large sites with hundreds of pages, and sites where important pages are hard to reach by links alone. Keep the sitemap fresh — add new pages when they go live, remove deleted ones, and list only pages that return a successful response. A sitemap full of dead or redirected URLs wastes the crawler's time and can make it visit less often.

Explore the hub. Browse every free app, tool and guide on FreeAppsHub from one place.