A website can have great pages and still stay hard to find. Search engines do not guess which pages matter on a site. They need a clear list, and that list is called a sitemap. An XML sitemap is a simple file that tells a search engine which pages exist on your site, when each page was last changed, and how often it usually changes.
Many site owners skip this step because it sounds technical. It is not. You do not need to install anything, and you do not need to write code by hand. You list your page links, a tool turns them into the right file, and you hand that file to the search engine. The whole job takes a few minutes once you know the steps.
This article shows you how to generate an XML sitemap online free, what goes inside the file, and how to send it to a search engine once you have it. It uses the XML Sitemap Generator on ToolMint Hub, which runs in your browser and needs no account.
Table of Contents
- What an XML sitemap is
- Why a sitemap matters for your site
- What goes inside the file
- How to generate an XML sitemap online free, step by step
- Change frequency and priority, explained in plain words
- How to send your sitemap to a search engine
- How to check that your sitemap works
- Mistakes that make a sitemap useless
- What the tool cannot do
- Frequently asked questions
What an XML sitemap is
An XML sitemap is a text file written in XML, a format that machines read with ease. Each page on your site gets one entry in the file, and each entry holds the page link plus a few extra facts about that page. Search engines read the file to learn which pages exist, so they can visit them and add them to their index.
Think of it as a map you hand to a visitor who has never been to your town. Without the map, the visitor can still wander around and find the main streets, but the small lanes stay hidden. With the map, every street is listed in one place. A sitemap does the same for the pages on your site, including the ones that sit a few clicks away from the home page and get few visitors.
The file is not meant for people to read. Visitors to your site will never see it, and it does not change how your pages look. It sits quietly at an address like yoursite.com/sitemap.xml, and only search engines and site tools ask for it. That is its whole job, and it does it well.
A sitemap is not the same as the menu on your site. The menu helps people move around. The sitemap helps search engines find pages. A site needs both, and one cannot replace the other.
Why a sitemap matters for your site
The first reason is discovery. A new site has no history, and search engines may take a long time to find all its pages by following links alone. A sitemap hands them the full list on day one. That does not force them to index every page, but it removes the excuse that a page was never found.
The second reason is deep pages. Most sites have pages that sit far from the home page. A blog post from two years ago, a help page, or a tool page with no links pointing at it can stay unseen for months. When the page is listed in the sitemap, the search engine knows it exists even if nothing on the site links to it.
The third reason is fresh content. When you publish a new page or change an old one, the sitemap carries the date of the change. Search engines use that date to decide when to come back and look again. A page with a recent date in the sitemap is more likely to be checked soon than a page the search engine last saw months ago.
There is also a quiet benefit for site owners. Once the sitemap is in place, you can watch how many of its pages the search engine has indexed. If the number stays low, you know there is a problem to look into. Without a sitemap, you are guessing.
A sitemap will not lift a weak page to the top of the results. It will not fix thin content or slow pages. What it does is make sure your pages get a fair chance to be seen. For a small site, that chance matters a lot.
What goes inside the file
Every entry in an XML sitemap starts with a loc tag, which holds the full link of the page. That is the one part every entry must have. Around it sit three optional parts that give the search engine more detail.
The first is lastmod, the date the page was last changed. Write it as a plain date, like 2026-11-30. Search engines use this date to spot pages that changed since their last visit. If you set a wrong date, the search engine learns to ignore your dates, so keep them honest.
The second is changefreq, a word that says how often the page usually changes. Common values are daily, weekly, and monthly. A news page or a blog home page might change daily. A product page might change weekly. A page that rarely changes, like a contact page, can sit at monthly or yearly.
The third is priority, a number from 0.0 to 1.0 that says how important the page is compared with the other pages on your site. The home page often gets 1.0, main pages get 0.8, and smaller pages get lower numbers. The number only compares pages on your own site. It does not compare your site with other sites, and a high number will not push a page above better pages elsewhere.
Here is what one entry looks like when the tool builds it. Four page links go in, and four entries come out, each with its own lastmod date, changefreq value, and priority number.
How to generate an XML sitemap online free, step by step
The job is short. Here is the usual flow with the XML Sitemap Generator on ToolMint Hub.
First, gather your page links. Open your site and copy the full link of each page you want in the sitemap, starting with the home page. Put each link on its own line. A small site might have ten links. A larger one might have fifty. Take the links from your own site only, and skip pages you do not want search engines to show, like admin pages or thank you pages after a form.
Next, open the tool and paste your links into the box, one per line. This tool builds the sitemap from the links you paste. It does not crawl your site on its own, so the list you paste is the list that ends up in the file. Check the list once before you go on, because a typing error in a link will land in the file as well.
Then set the three details for your pages. The tool fills in sensible defaults, weekly for changefreq and 0.8 for priority, with the current date as lastmod. If your pages change at a different pace, change the values to match. A blog home page that gets a new post every day fits daily better than weekly. A page that has not changed in a year fits yearly better than weekly.
Now tap Generate. The tool builds the full XML file in a moment. You will see the result on the page, starting with the XML header and then one url entry per page. Read through the first entry to check that the link, the date, and the values look right.
Finally, copy the result or download it. The tool has a Copy Output button and a Download Result button. Save the file with the name sitemap.xml. That name matters, because search engines look for it at that address by habit, and it keeps the setup simple.
Change frequency and priority, explained in plain words
Changefreq and priority cause the most confusion in a sitemap, so it helps to see them as hints, not orders. Search engines treat them as suggestions about your site, and they make their own choice in the end.
Changefreq is a guess about the future. It says how often the page is likely to change, not how often it changed in the past. If you set a page to daily but it changes once a year, the search engine will stop trusting the value. If you set a fast changing page to yearly, the search engine may come back too late. Match the value to the real pace of the page.
Priority is a guess about weight inside your own site. Give your most important pages the higher numbers and your least important pages the lower ones. Do not set every page to 1.0. When every page claims to be the most important, the numbers stop meaning anything, and the search engine ignores them.
For most small sites, the defaults work well. Home page at 1.0, main pages at 0.8, the rest at 0.5 or lower. Weekly fits most pages that get small edits now and then. Start with that pattern, and change it only where you know a page behaves differently.
How to send your sitemap to a search engine
A sitemap file sitting on your computer helps nobody. It has to live on your site, at an address the search engine can reach. Upload sitemap.xml to the main folder of your site, the same folder that holds your home page. Then open the file in your browser at yoursite.com/sitemap.xml to check that it loads.
Next, tell the search engine where the file is. In Search Console, open the Sitemaps section and add the address of your file. The tool will fetch it and report back. A success message means the file was read. If it reports an error, read the message carefully, because it usually points at the exact line that broke.
After you submit it, give it time. Search engines do not index every listed page at once. They work through the list over days and weeks. Check back after a week to see how many pages from the sitemap are now indexed, and which ones are still waiting.
When you add new pages later, update the file. Add the new links, refresh the lastmod dates for pages you changed, and upload the file again. You do not need to submit it again each time in most cases, because the search engine checks the file on its own schedule once it knows where it is. A fresh upload is still good practice after a big change.
How to check that your sitemap works
Open the file in a browser first. You should see clean XML text with one url entry per page. If the browser shows an error instead, the file has a broken tag or a bad character, and you need to build it again.
Check that every link in the file returns a working page. A link that leads to a missing page wastes the search engine's time and weakens trust in the file. Walk through the list, or use a link checker, and remove or fix any link that does not load.
Look at the size of the file too. A single sitemap should stay under fifty thousand links. Most small sites never come close to that number. If your site grows past it, split the list into more than one sitemap file and add a sitemap index file that points at them.
Finally, watch the search engine's report for the file. It tells you how many pages were found, how many were indexed, and whether any page had a problem. That report is the real test. A file that loads fine in a browser can still hide a problem that only the report shows.
Mistakes that make a sitemap useless
The most common mistake is listing pages that should stay hidden. Admin pages, login pages, test pages, and pages with private data do not belong in a sitemap. Listing them tells search engines to look at pages you never wanted shown.
The next mistake is stale dates. If every page in the file claims it changed today, but nothing changed, the search engine stops believing the dates. Update lastmod only for pages that really changed, and leave the rest alone.
Another mistake is listing the same page twice under two different links. If your site shows the same page with and without a trailing slash, pick one form and use it everywhere. Two links for one page split the attention the page gets, and the search engine has to guess which one is the real page.
People also forget to update the file after a redesign. Old pages that no longer exist stay listed, and new pages never get added. A sitemap needs a quick check each time the site changes in a big way, even if that check takes only a few minutes.
What the tool cannot do
The tool builds the file from the links you paste. It does not crawl your site, so it cannot find pages you forgot to list. If a page is missing from your list, it will be missing from the file too. Walk through your site once and collect the links with care.
The tool cannot upload the file to your site for you. That step needs your hosting account or your site dashboard. It also cannot submit the file to a search engine on your behalf, because that step needs your own search engine account.
The tool also cannot make a search engine index a page. It can only present the page clearly. Whether a page gets indexed depends on the page itself, its content, and how the search engine judges it. A sitemap opens the door. The page still has to earn its place inside.
Frequently asked questions
How do I generate an XML sitemap online free?
Open the XML Sitemap Generator on ToolMint Hub, paste your page links one per line, keep or change the changefreq, priority, and lastmod values, tap Generate, then copy or download the sitemap.xml file. It is free and needs no account.
Do I need a sitemap for a small website?
Yes, and small sites gain the most from one. A small site has few links pointing at it, so search engines can miss its pages. A sitemap lists every page in one place and makes discovery far more likely.
Where do I put the sitemap.xml file?
Upload it to the main folder of your site, the same folder that holds your home page, so it loads at yoursite.com/sitemap.xml. Then add that address in the Sitemaps section of Search Console.
What should I set changefreq and priority to?
Start with the defaults, weekly and 0.8, for most pages. Use daily for pages that change every day and monthly or yearly for pages that rarely change. Give the home page the highest priority and lower numbers to less important pages.
How often should I update my sitemap?
Update it each time you add pages or change old ones in a big way. Small edits can wait for a weekly or monthly refresh. The key point is that the file should match the site as it is now, not as it was months ago.
Will a sitemap make my pages rank higher?
No. A sitemap helps search engines find and index your pages, but ranking depends on the content of the page and how useful it is. Think of the sitemap as a map, not a shortcut to the top of the results.
Can a sitemap include images or videos?
Yes, sitemaps can carry extra entries for images and videos, but the basic sitemap in this article covers pages only. If your site leans on images or videos, look into the image and video sitemap formats as a next step.
Wrapping up
An XML sitemap is a short file with a long memory. It lists your pages, dates them honestly, and hands the list to search engines so no page stays hidden by accident. Generating one online free takes a few minutes, and the steps are simple. Collect your links, paste them one per line, set the changefreq and priority values to match real life, generate the file, and upload it to your site.
Keep the file fresh as your site grows, and check the search engine report now and then to see how many of your pages are indexed. A sitemap will not do the work of good content, but it makes sure good content gets found. That is a fair trade for a few minutes of your time.