New: 500+ free SEO and AI search tools, no sign-up.Explore tools →

How to Use the XML Sitemap Generator (Step by Step Guide)

By Hasnain Sanmal
XML Sitemap Generator: how to fill in the tool

This guide explains how to use XML Sitemap Generator, step by step, with screenshots of the real tool. It is written for site owners, developers and SEOs who look after crawling, indexing and site health. This XML sitemap generator turns a list of page URLs into a valid sitemap.xml file with optional lastmod, changefreq and priority, ready to upload and submit to Google Search Console.

Quick answer: To use the XML Sitemap Generator, open the free tool, paste the your URLs, enter the last modified, choose the change frequency and choose the priority, then copy the text it creates. Everything runs in your browser, so there is no sign up and nothing you type is stored on a server.

how to use XML Sitemap Generator: XML Sitemap Generator with example inputs
Screenshot of the live XML Sitemap Generator with its example values.

What is the XML Sitemap Generator?

Paste your page URLs and get a valid sitemap.xml with lastmod, changefreq and priority, ready for Google Search Console.

Quick answer: An XML sitemap is a file that lists the URLs you want search engines to find, with optional last modified dates. One sitemap can hold up to 50,000 URLs or 50 MB uncompressed. Paste your URLs into the XML sitemap generator, download sitemap.xml, upload it to your site root and submit it in Search Console.

How to use XML Sitemap Generator step by step

  1. Step 1: Open the XML Sitemap Generator

    Go to the XML Sitemap Generator on hasnainsanmal.com. It loads with example values already filled in, so you can see how it works straight away. It works the same way on a phone, tablet or computer.

  2. Step 2: Paste Your URLs

    Paste or type your text into Your URLs (0 URLs). The example starts with: https://example.com/
    https://example.com/about/
    https://exam.

  3. Step 3: Enter Last modified

    In the Last modified box, type your own figure. The example uses 2026-11-02, which you can replace.

  4. Step 4: Choose Change frequency

    Choose an option from Change frequency. Options include None, daily, weekly and monthly. The example uses weekly.

  5. Step 5: Choose Priority

    Choose an option from Priority. Options include Auto (home 1.0), None, 1.0 and 0.8. The example uses Auto (home 1.0).

  6. Step 6: Read the results

    The output appears inside the tool card. Change any input to compare different scenarios.

    XML Sitemap Generator results example
    Screenshot of the XML Sitemap Generator results.
  7. Step 7: Copy or download the output

    Use Copy and Download sitemap.xml to take the result into your document, CMS, spreadsheet or report.

What does each field in the XML Sitemap Generator mean?

Field What to enter Example
Your URLs Text, one item per line where asked https://example.com/
https://example.com/about/
https://exam
Last modified Your text 2026-11-02
Change frequency Choose one option (None, daily, weekly and more) weekly
Priority Choose one option (Auto (home 1.0), None, 1.0 and more) Auto (home 1.0)

What does a worked example look like?

With the example inputs (Last modified: 2026-11-02, Change frequency: weekly and Priority: Auto (home 1.0)), the XML Sitemap Generator returns: <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> </urlset>

Replace the example with your own input to get your own result, then review it before you use it.

How do you get the best results from the XML Sitemap Generator?

  • Quick answer
  • What is a XML Sitemap Generator?
  • How to use the XML Sitemap Generator
  • Re-check after every theme, plugin or server change.
  • Confirm fixes in Google Search Console with URL Inspection.

For background, read the Google crawling and indexing documentation. If you are working on a related task, our guide on how to use the Hreflang Tag Generator walks through it the same way. You can also browse all free Technical SEO Tools.

What mistakes should you avoid with the XML Sitemap Generator?

  • Testing on a staging copy and forgetting that the live site has different rules.
  • Fixing one URL and not checking the template that created the problem.
  • Changing URLs without adding 301 redirects.

Key terms

Indexing
The process in which Google stores a crawled page in its index so it can appear in search results. A page must be crawlable, return a 200 status code and not carry a noindex tag before it can be indexed.
XML sitemap
A file that lists the URLs you want search engines to find, often with last modified dates. Submitting it in Google Search Console helps new and deep pages get discovered faster, although it does not guarantee indexing.
Google Business Profile
The free Google listing that shows a local business in Maps and the local pack, with its address, hours, photos and reviews. A complete, accurate profile and genuine reviews are key local ranking factors.
HTML
HyperText Markup Language, the standard language that structures web pages with elements such as headings, paragraphs, links and images. Search engines read the HTML to understand page content, links and metadata.
Search engine optimisation
The practice of improving a website so it ranks higher in unpaid search results. It covers technical health, on-page content, links and user experience, and it follows Google Search Essentials rather than shortcuts.

Related free tools

Frequently asked questions

Is the XML Sitemap Generator free to use?

Yes. The XML Sitemap Generator is completely free, with no sign up, no daily limit and no watermark. It is one of more than 500 free SEO and marketing tools on hasnainsanmal.com.

Is my data stored when I use the XML Sitemap Generator?

No. The XML Sitemap Generator runs in your browser with JavaScript, so the values and text you enter are processed on your own device and are not sent to or saved on our server.

How accurate is the XML Sitemap Generator?

It creates a solid first draft from your inputs. Always review and edit the output so it is accurate, specific and sounds like you before you publish or send it.

Does the XML Sitemap Generator work on a phone?

Yes. The tool is built for screens from 360 pixels wide, so you can use the XML Sitemap Generator on a phone, tablet or computer in any modern browser.

Can I use the XML Sitemap Generator for client work?

Yes. You can use the results for your own sites and for client projects. Check the output first, and keep a note of the inputs you used so you can repeat the check later.

What should I do after using the XML Sitemap Generator?

Apply the result on your page, campaign or document, then measure the effect. If you would like expert help, see the SEO services or message Hasnain on WhatsApp for a free recommendation.

How we checked this guide: every step and screenshot was taken from the live XML Sitemap Generator on 2 November 2026. Further reading: Google SEO Starter Guide.

Hasnain Sanmal
Hasnain Sanmal

SEO and guest post outreach specialist with 2000+ completed orders and a list of 1000+ hand-picked, high-authority websites. More about me

Need high-authority backlinks?

Get niche-relevant guest posts from my own outreach list of 1000+ websites.

Chat on WhatsApp

More to read

All articles