Rankite
ServicesResultsToolsTeamAboutBlogCareersContactFree SEO Audit
Technical

How to Make a Sitemap: 4 Methods + Submit Checklist

Home / Blog / How to Make a Sitemap: 4 Methods + Submit Checklist
How to Make a Sitemap: 4 Methods + Submit Checklist

Here is how to make a sitemap in one line: generate an XML file that lists every important URL on your site, then submit that file to Google Search Console so crawlers can find your pages faster. The fastest way to make a sitemap is to let your CMS or an SEO plugin build it automatically, then submit the URL in Search Console once and let it update itself. Most sites never need to touch a line of code. This guide walks through what a sitemap is, why it matters, the types that exist, four ways to create one, and exactly how to submit and verify it.

A sitemap will not force Google to index a page or improve where it ranks. It tells search engines which URLs you consider important and when they last changed, which speeds up discovery on large, new, or poorly linked sites. Below you get a methods comparison table, copy-paste XML, and a verification checklist so you finish with a working file Google can read.

Key takeaways

  • A sitemap is a file that lists your important URLs so search engines can discover and crawl them efficiently; it aids discovery but does not guarantee indexing.
  • The fastest method is a CMS or SEO plugin (Yoast, Rank Math) that generates and updates the file for you. Manual XML is only for small or unusual cases.
  • Submitting in Google Search Console takes under two minutes, and the "Success" status plus the coverage report confirm the file actually worked.
  • Sitemaps matter most for large sites, new domains, and pages with few internal links, because discovery is the first step before any page can earn traffic.
  • Keep each sitemap under 50,000 URLs and 50MB uncompressed, and use a sitemap index file once you cross that line.

What a sitemap is

A sitemap is a file that lists the URLs on your site you want search engines to know about, along with optional metadata like when each page was last modified. Search engines read it as a roadmap, then decide what to crawl and when. The most common format is XML, written for machines rather than people.

Think of it as a table of contents you hand to a crawler. Instead of relying only on links, Googlebot can open one file and see your full list of important URLs in seconds. According to Google Search Central's sitemaps documentation, a sitemap helps Google find pages it might otherwise miss, especially on sites where pages are not well linked to each other.

A sitemap is a suggestion, not a command. Google's documentation is explicit that using one does not guarantee every listed URL gets crawled or indexed, and that a sitemap will not improve rankings on its own. It is a discovery tool, and discovery is where visibility starts.

Why a sitemap matters for SEO

A sitemap matters because a page Google has not discovered cannot rank, and most pages already lose the visibility race. Ahrefs studied roughly one billion pages and found that about 96% of them get zero organic search traffic from Google. A sitemap will not fix weak content, but it removes one common reason a page never gets seen: the crawler never found it.

96%of pages get ZEROorganic traffic from GoogleA page Google never discovers cannot rank. A sitemap removes one common reason a page is never found.
Source: Ahrefs (study of ~1 billion pages)

That first step feeds your largest channel. BrightEdge reports that organic search drives roughly 53% of all website traffic, so anything that helps search engines find and crawl your pages protects the source of most of your visitors. On a large or fast-growing site, faster discovery means new pages start competing sooner instead of sitting in a queue.

The stakes are rising as AI answers reshape results. Google has confirmed that AI Overviews reached more than 1.5 billion users a month in 2025, which means fewer searches end in a click. When every visit is harder to win, making sure your important pages are discoverable is table stakes, not a nice-to-have.

Sitemaps matter most in four situations: your site is large (thousands of URLs), your site is brand new with few backlinks, your pages are not well linked internally, or your site uses rich media like video and images you want indexed. Small, well-linked sites benefit less, but a sitemap rarely hurts.

XML sitemap vs visual sitemap: clearing up the confusion

Before listing the types, settle a common mix-up. The phrase "sitemap" refers to two different things that share a name:

  • An SEO sitemap (usually XML) is a file you give to search engines so they can discover your URLs. This is what you submit to Google and what this guide focuses on.
  • A visual sitemap is a diagram of your site's page hierarchy, built in tools like Miro, Figma, Slickplan, or FlowMapp during website planning. It helps designers and stakeholders agree on structure before anyone writes code. It is never submitted to Google.

They serve different jobs. If your goal is faster indexing, you want the XML file. If your goal is planning information architecture for a redesign, you want a visual sitemap. Many sites build the visual version first to decide their page structure, then ship an auto-generated XML version once the site is live.

XML Sitemap vs Visual SitemapXML (SEO) SitemapA file you give to search enginesLists your URLs for discoverySubmitted to Google Search ConsoleMachine-readable formatVisual SitemapA diagram of page hierarchyBuilt in Miro, Figma, Slickplan, FlowMappUsed during website planningNever submitted to Google
Source: rankite.com

The types of sitemap

There is more than one kind of sitemap, and choosing the right one depends on what you are trying to help search engines find.

  • XML sitemap. The standard machine-readable file most people mean by "sitemap." It lists URLs with optional metadata and is the format you submit to Search Console. Per Google's documentation it is the most extensible format, supporting image, video, and news extensions.
  • Sitemap index file. A sitemap of sitemaps. Once you pass 50,000 URLs or 50MB, you split content into several XML files and list them in one index file. Large sites and most CMS platforms use this automatically.
  • RSS, mRSS, and Atom feeds. Google accepts these as sitemaps too. They are usually auto-generated by your CMS and only list recent URLs, which makes them a good supplement for fresh content rather than a full inventory.
  • Text sitemap. The simplest format Google supports: a plain .txt file with one absolute URL per line, UTF-8 encoded. Easy to maintain for small sites, but it carries no metadata.
  • HTML sitemap. A human-readable page that links to your main sections. It helps visitors navigate and can pass internal links, but it is for people, not primarily for crawlers. Keep it focused; FlowMapp notes very long HTML sitemaps (well over ~100 links) dilute their usefulness.
  • Visual sitemap. A planning diagram of your page hierarchy, built in Miro, Figma, Slickplan, or FlowMapp. Used to design site structure, not submitted to search engines.
  • Image and video sitemaps. Specialized XML (or extensions to your main XML) that give search engines extra detail about media, such as video duration or image subject. Useful for media-heavy sites.
  • News sitemap. A format for publishers in Google News, listing recent articles with publication dates. Most sites do not need one.

For the vast majority of sites, a single auto-generated XML sitemap (or index file) is all you need. Add image or video sitemaps only if media is central to how you want to be found.

FormatRead byCarries metadata?Best for
XMLSearch enginesYes (lastmod, media extensions)Most sites; the default
RSS / AtomSearch enginesLimited; recent URLs onlySupplementing fresh content
Text (.txt)Search enginesNoTiny sites, URL-only lists
HTMLHuman visitorsNoNavigation, internal links
Visual diagramYour teamN/APlanning site architecture

How to create a sitemap: 4 methods compared

There are four practical ways to make a sitemap. The right one depends on your platform and how many pages you have. Here is how they compare.

4 Ways to Make a SitemapCMS or SEO pluginVery low effort,auto-updates, freeOnline generatorLow effort, free up to~500 URLsManual XMLHigh effort, tiny sitesonlyFramework or build toolAuto-regenerates on eachbuild
Source: rankite.com
MethodBest forEffortAuto-updatesCost
CMS or SEO pluginWordPress, Shopify, Wix, Squarespace sitesVery lowYesFree
Online generatorSmall static sites, no CMS plugin availableLowNoFree up to ~500 URLs
Manual XMLTiny sites, custom edge cases, learningHighNoFree
Framework or build toolNext.js, Hugo, custom-coded sitesMediumYesFree

For most people the answer is the first row: use a plugin or your CMS and move on. The other methods exist for sites without that option or for developers who want control. Below is how each works.

Method 1: CMS and SEO plugins (easiest)

Most modern platforms generate a sitemap for you, and SEO plugins make it better. On WordPress, Yoast SEO and Rank Math both create and maintain an XML sitemap automatically, updating it every time you publish or edit a page. You usually find the file at yourdomain.com/sitemap_index.xml or yourdomain.com/sitemap.xml.

To set it up:

  1. Install and activate Yoast SEO or Rank Math from the WordPress plugin directory.
  2. Open the plugin settings and confirm the XML sitemap feature is toggled on (it is on by default in both).
  3. Visit your sitemap URL in a browser to confirm it loads and lists your pages.
  4. Copy that URL; you will submit it to Search Console in the next section.

Shopify, Wix, and Squarespace generate a sitemap automatically with no plugin needed, usually at /sitemap.xml. You cannot always edit these by hand, but you rarely need to.

Method 2: Online sitemap generators

If you run a small static site with no CMS plugin, a free online generator is the quickest route. Tools like XML-Sitemaps.com crawl your site and produce a downloadable sitemap.xml. Most free tiers cap out around 500 URLs, which is plenty for a brochure site or small blog.

The trade-off is that generators produce a static snapshot. They do not update when you add pages, so you re-crawl and re-upload whenever your content changes. Download the file, upload it to your site's root directory via FTP or your host's file manager, and confirm it loads at yourdomain.com/sitemap.xml.

For larger or custom sites, a desktop crawler like Screaming Frog gives you more control: it crawls your site, lets you exclude noindex and non-canonical URLs, and exports a clean sitemap.xml. You can also gather URLs from your CMS, Google Analytics, or a site:yourdomain.com search before building the file by hand.

Method 3: Manual XML (small sites only)

For a handful of pages, you can write the XML by hand. The structure is simple: a wrapper containing one block per page. Here is a minimal valid example:

``xml https://example.com/ 2025-12-30 https://example.com/about 2025-12-15 ``

Save it as sitemap.xml, upload it to your site's root, and verify the URL loads. The tag is the one that earns its keep, because it signals when a page changed. Google's documentation notes it ignores and , so do not waste effort on those. Three technical rules from Google's spec matter here: the file must be UTF-8 encoded, every URL must be fully qualified and absolute (not /about), and special characters in URLs must be entity-escaped (an ampersand becomes &). Google adds that is only trusted when it is consistently and verifiably accurate, so do not fake it by stamping today's date on every page. Manual editing only scales to a few dozen URLs; beyond that, use a plugin or framework.

Method 4: Frameworks and build tools

If your site is custom-coded, generate the sitemap during your build. Next.js produces a sitemap from a sitemap.ts (or .js) file in the app directory. Static site generators like Hugo, Gatsby, and Astro ship sitemap support or plugins that build the file every time you deploy. This is the cleanest option for developers because the sitemap regenerates automatically on each build, so it never drifts out of sync with your content.

Whichever method you pick, the output is the same kind of file. The next step is telling Google it exists.

Submitting your sitemap to Google Search Console

Submitting tells Google where your file lives and lets it report errors back to you. You need a verified Search Console property for your site first. Once that is done, the submission takes under two minutes.

  1. Sign in to Google Search Console and select your property.
  2. In the left menu, click Indexing, then Sitemaps.
  3. Under "Add a new sitemap," enter the path to your file, usually sitemap.xml or sitemap_index.xml.
  4. Click Submit.
  5. Wait for the status to change to Success. Google may take time to process it.

You can also point search engines to your sitemap from your robots.txt file by adding a single line: Sitemap: https://yourdomain.com/sitemap.xml. This helps other crawlers find it without a separate submission. Do both for full coverage.

Do not forget Bing. Submit the same sitemap URL in Bing Webmaster Tools (Sitemaps > Submit sitemap) so Microsoft's crawler, which also feeds some AI assistants, discovers your pages. Google's documentation also notes you can submit large or multi-site setups programmatically through the Search Console API, and that RSS and Atom feeds can ping search engines via WebSub.

Submit and verify checklist

Submitting is only half the job. Use this checklist to confirm the sitemap actually works:

  • [ ] The sitemap URL loads in a browser and shows your pages (not a 404 or error).
  • [ ] The file uses absolute URLs (https://example.com/page, not /page).
  • [ ] Every listed URL returns a 200 status, not a redirect or 404.
  • [ ] The sitemap is submitted in Search Console and shows Success.
  • [ ] The "Discovered URLs" count roughly matches your real page count.
  • [ ] The line Sitemap: appears in your robots.txt.
  • [ ] A week later, the Search Console coverage report shows pages being indexed.

When we ran this discipline for Swordfish AI, tightening crawlability and discovery alongside their wider SEO program, Swordfish AI grew revenue by 400% from organic search with Rankite. A clean sitemap was one input among many, but it is the kind of foundational fix that lets everything downstream work. If you want that foundation checked end to end, our complete SEO site audit covers crawling, indexing, and sitemap health in one pass.

Common sitemap mistakes to avoid

Most sitemap problems come from listing the wrong URLs, not from the file format itself. Watch for these:

  • Including non-canonical or noindexed URLs. Your sitemap should list only the canonical version of each page you want indexed. Listing redirects, parameters, or noindex pages sends mixed signals.
  • Letting it go stale. A manual sitemap that never updates tells Google about pages that no longer exist. Automate it where you can.
  • Listing 404s and redirects. Every URL should return a clean 200. Broken entries waste crawl budget and can trigger warnings.
  • Exceeding the limits. Keep each file under 50,000 URLs and 50MB uncompressed; split into an index file beyond that.
  • Treating it as a ranking tactic. Google's spam policies target scaled content abuse, and stuffing a sitemap with thin pages will not help. A sitemap aids discovery; it does not manufacture authority.

Fixing these is usually faster than building the sitemap in the first place. Once your file is clean and submitted, the work shifts to the pages themselves: see how to rank on Google and run through our SEO audit checklist to find what is holding individual pages back.

Frequently asked questions

Do I need a sitemap for a small website? Not strictly. Google can usually crawl a small, well-linked site without one. But a sitemap rarely hurts, it takes minutes to set up through a plugin, and it gives you a Search Console report on how discovery is going. For most sites the small effort is worth it.

Where should my sitemap be located? The convention is your site root, at yourdomain.com/sitemap.xml or yourdomain.com/sitemap_index.xml. It can technically live elsewhere, but keeping it at the root is the clearest signal and the path most tools expect.

How often should I update my sitemap? If you use a CMS or plugin, it updates itself every time you publish, so you do nothing. For manual or generator-based sitemaps, regenerate the file whenever you add, remove, or significantly change pages so it stays accurate.

Does a sitemap improve my Google rankings? No. A sitemap helps search engines discover and crawl your pages, which is a prerequisite for ranking, but it does not boost rankings on its own. Google's documentation is clear that submitting a sitemap does not guarantee indexing or higher positions.

What is the difference between an XML and HTML sitemap? An XML sitemap is for search engines and lists URLs in a machine-readable format. An HTML sitemap is a page for human visitors that links to your main sections. You submit the XML version to Search Console; the HTML version aids navigation and internal linking.

How do I know if my sitemap is working? Check the Sitemaps report in Google Search Console. A "Success" status, a discovered URL count close to your real page count, and pages appearing in the coverage report over the following weeks all confirm it is working. You can also track movement with a Google ranking tracker.

What is the difference between a visual sitemap and an XML sitemap? A visual sitemap is a diagram of your page hierarchy built in tools like Miro, Figma, Slickplan, or FlowMapp to plan a site's structure before it is built. An XML sitemap is a file you submit to search engines so they can discover your URLs. The visual version is for your team; only the XML version goes to Google.

How do I make a sitemap if I have more than 50,000 URLs? Split your URLs across multiple XML files, each under 50,000 URLs and 50MB uncompressed, then list those files in a single sitemap index file and submit the index to Search Console. Most CMS platforms and SEO plugins do this automatically once you cross the limit.

Can I submit my sitemap to Bing as well as Google? Yes, and you should. Add the same sitemap URL in Bing Webmaster Tools under Sitemaps, and include a Sitemap: line in your robots.txt so other crawlers find it too. One file works for every search engine; you just submit it in more than one place.

Do I need a sitemap if I already have good internal linking? If your site is small and every page is reachable through internal links, Google can often crawl it without a sitemap. But a sitemap still gives you a Search Console discovery report and helps on larger or frequently updated sites, so it is usually worth the few minutes it takes.

What to do next

Pick the method that matches your platform and create the file today. If you run WordPress, install Yoast or Rank Math, confirm the sitemap loads, and you are most of the way there. If you are on a custom stack, wire sitemap generation into your build so it never drifts.

Then submit it in Google Search Console, run the verify checklist above, and check back in a week to confirm pages are getting indexed. Once discovery is solid, the next gains come from the pages themselves. If you want an expert to pressure-test your crawlability, indexing, and on-page foundations in one go, start with a local SEO audit from Rankite.

Related articles

Let's grow

Ready to own page one?

Get a free, no-obligation SEO audit and a 30-minute strategy session. We'll show you exactly where the growth is hiding.

Book your free audit Explore services
Get in touch

Tell us about your project

Fill out the form and we'll get back to you within one business day. Prefer email? Write to us directly at contact@rankite.com.

Or copy our email and write to us directly: contact@rankite.com