Home › Blog › What Is a Sitemap? How to Create and Submit It to Google

What Is a Sitemap? How to Create and Submit It to Google

By Umar Hayat · Updated 4 November 2026

A sitemap is a file that lists the important pages of your website. It helps search engines find your pages faster, especially on a new site that has few links from other places.

What a sitemap looks like

Most sitemaps are an XML file named sitemap.xml at the root of your site, for example yoursite.com/sitemap.xml. It contains one entry per page with the address and, optionally, the date it was last changed.

How to create one

If you use WordPress, Wix or Shopify, a sitemap is usually made for you. For a hand-made site, you can write the file yourself or use a free generator, then upload it to the main folder of your site. One file can hold up to 50,000 addresses.

How to submit it

Open Google Search Console, choose your site, and go to Sitemaps in the left menu. Type sitemap.xml in the box and press Submit. After a few minutes the status should say Success.

Also add it to robots.txt

Add one line to your robots.txt file that starts with the word Sitemap and then the full address of the file. This lets other search engines find it as well.

Common mistakes

What a sitemap cannot do

A sitemap does not guarantee that Google will index every page. It only helps Google discover them. Good content and internal links are still needed.

Frequently asked questions

Do small websites need a sitemap?

A very small site with good links between pages may be found without one, but a sitemap is easy to add and does no harm.

How long until Google reads my sitemap?

It can take from a few hours to a few days. Check the Sitemaps report in Search Console for the status.

Related articles

Free tools: Free website checker in Urdu · Free website speed test · Free SEO checker in Roman Urdu

Check my website free