XML Sitemap Generator
Crawl your site, generate a valid sitemap.xml, score its health, and submit to Google — all in under 30 seconds.
How to use the XML Sitemap Generator
Four steps, under 30 seconds. See exactly what each screen looks like before you start.
Paste your website URL
Drop your homepage into the URL field. We'll crawl internal links up to the depth you choose.
XML Sitemap Generator
Crawl and generate sitemap.xml in seconds
Configure crawl options
Set max URLs (5–10,000) and crawl depth. Advanced options let you filter paths, set lastmod, priority, and changefreq.
Generate & review
Click Generate. Watch live as we crawl and format valid XML. Review the tree preview and health score before downloading.
Download & submit to Google
One-click download sitemap.xml. Upload to your site root (yoursite.com/sitemap.xml) and submit in Google Search Console for faster indexing.
What we learned from 120,000 sitemaps
Data from every sitemap generated on Grigora — patterns you won't see anywhere else.
of sitemaps are missing lastmod
The #1 reason Google doesn't recrawl quickly. Our generator adds it automatically.
median URLs per small-business site
Most sites fit comfortably in one sitemap file. No index needed until 50K.
avg. time to first-index after sitemap submission
Down from 30+ days without a sitemap. Fresh lastmod cuts this to under 7 days.
of sitemaps contain 404 URLs
Silent killer for crawl budget. Always audit before submission.
faster indexing with IndexNow ping
Bing + Yandex respond in hours. Grigora pings on every publish automatically.
of sites have an image sitemap
Huge missed opportunity for visual SEO. Auto-included on Grigora sites.
Install the sitemap on your stack
Pick your framework and copy the exact code. Works for static and dynamic sites.
// app/sitemap.ts — Next 13+ App Router
export default async function sitemap() {
const posts = await fetchPosts();
return [
{ url: 'https://site.com', lastModified: new Date(), priority: 1 },
...posts.map(p => ({
url: `https://site.com/blog/${p.slug}`,
lastModified: p.updatedAt,
priority: 0.7,
})),
];
}💡 Place in your /app directory. Next auto-serves it at /sitemap.xml on build.
6 types of sitemaps — know which you need
Most sites need only the standard URL sitemap. But if you have images, videos, news, or 50K+ URLs, pick the right flavor.
Standard URL sitemap
Lists all crawlable pages with lastmod, changefreq, priority. The baseline every site needs.
<url><loc>https://example.com/about</loc><lastmod>2026-04-18</lastmod></url>
Image sitemap
Extends URL sitemap with <image:image> tags so Google Images indexes your visuals faster.
<url>...<image:image><image:loc>.../hero.jpg</image:loc></image:image></url>
Video sitemap
Uses <video:video> to describe embedded videos — critical for video search results.
<video:video><video:content_loc>...</video:content_loc></video:video>
News sitemap
For publishers in Google News. Uses <news:news> and requires articles from the last 48 hours.
<news:news><news:publication_date>2026-04-18</news:publication_date></news:news>
Sitemap index
A parent sitemap that references multiple child sitemaps. Required past 50,000 URLs.
<sitemapindex><sitemap><loc>.../sitemap-posts.xml</loc></sitemap></sitemapindex>
RSS / Atom feeds
Not technically XML sitemaps, but Google accepts them as supplementary discovery signals for fresh content.
<feed><entry><link href="https://example.com/post"/></entry></feed>
8 sitemap errors that kill indexing
From Search Console logs across 120K+ generated sitemaps, these are the issues we see most often.
Sitemap not submitted to Search Console
highGo to Search Console → Sitemaps, paste the full URL, click Submit. Check back in 24 hours — status should show "Success" with the URL count.
URLs returning 404 or 301 in sitemap
highEvery URL should return 200 OK. Remove redirected URLs (use the destination instead) and remove 404s. Google loses trust in a sitemap with dead URLs.
Missing lastmod dates
mediumInclude an accurate <lastmod> for every URL in ISO 8601 format. Stale or missing lastmod means Google recrawls on its own schedule instead of prioritizing your fresh content.
Sitemap over 50 MB or 50,000 URLs
highSplit into multiple sitemaps (e.g., sitemap-posts.xml, sitemap-products.xml) and reference them in a sitemap_index.xml. Gzip large sitemaps.
Conflicting noindex pages in sitemap
highNever include pages with <meta name="robots" content="noindex">. Google treats this as a contradictory signal. Remove noindex URLs from the sitemap.
Non-canonical URLs in sitemap
mediumOnly list the canonical version of each URL. If you have /page and /page/ variants, pick one. Mixed signals dilute ranking and waste crawl budget.
Sitemap not referenced in robots.txt
lowAdd "Sitemap: https://yoursite.com/sitemap.xml" to your robots.txt. IndexNow-aware crawlers auto-discover sitemaps this way.
Including low-value URLs (tags, filters, search)
mediumExclude URL parameters, tag archives, and internal search result pages. These dilute the sitemap and can trigger "Crawled — currently not indexed" status.
How we compare to XML-Sitemaps.com & Screaming Frog
The honest comparison.
| Feature | Grigora | XML-Sitemaps | Screaming Frog |
|---|---|---|---|
| Crawl up to 10,000 URLs | Only 500 free | Desktop, 500 free | |
| Sitemap Health Scorer | |||
| Visual sitemap tree preview | Limited | ||
| Advanced filters (include/exclude) | |||
| No signup, no email, no watermark | Requires install | ||
| Browser-based (no install) | |||
| Framework install guides | |||
| Auto-maintained on every publish | With Grigora |
Sitemaps still matter in the age of AI search
AI crawlers follow sitemaps too
OAI-SearchBot, PerplexityBot, and ClaudeBot respect sitemap.xml the same way Googlebot does. If your content is in the sitemap, it is eligible for citation in AI answers.
Fresh lastmod = faster AI citations
AI engines prioritize recent content when answering time-sensitive queries. Accurate lastmod timestamps signal freshness.
Stop generating sitemaps manually.
Build your whole site on Grigora.
Website, blog, and professional email — with SEO baked in. Auto-sitemaps, structured data, IndexNow pings. You focus on content; we handle the plumbing.
AI Website Builder
Describe your business, get a live website in 60 seconds. Sitemap auto-generated and auto-submitted on every publish.
Start buildingBlog & CMS
Publish posts with Article schema, auto-sitemap entries, RSS feeds, and Google-ready metadata. Zero plugins.
Launch blogGrigora Mail
Professional email on your domain (you@yoursite.com). SPF, DKIM, DMARC configured automatically.
Get emailNo credit card · Start in 60 seconds
Related free SEO tools
Use these together to audit your site end-to-end.
Frequently Asked Questions
Everything you need to know about XML sitemaps and our generator.
Tired of regenerating sitemaps?
Grigora auto-maintains your sitemap on every publish — plus auto-submission to Google.
Try Grigora freeSkip manual sitemaps. Build your whole site on Grigora — sitemap auto-maintained.