Robots.txt & Sitemap Generator

Build a robots.txt with mistake warnings, or an XML sitemap with image & video support.

Runs in your browserNo sign-up required
User-agent: *
robots.txt

Two Files, One Tool, With Guardrails

robots.txt and sitemap.xml serve opposite purposes — one restricts what crawlers can access, the other actively points them toward everything you want found — and both are easy to get subtly wrong by hand. This tool builds either one, starting from CMS presets for robots.txt and warning you directly if a rule would accidentally block your entire site, plus image and video sitemap support for content beyond plain pages.

How to Use This Tool

  1. 1Pick robots.txt or Sitemap modeTwo related but different files, both built in one tool.
  2. 2For robots.txt, start from a presetWordPress, Shopify, or a generic starting point — then adjust the allow/disallow rules directly.
  3. 3For a sitemap, paste your URLsOne per line, with an option to attach image or video entries for GEO/AI-citation purposes.
  4. 4Copy or download the resultBoth robots.txt and sitemap.xml are standard files your server or CMS expects at a specific location.

Common robots.txt Mistakes

  1. 1"Disallow: /" blocks your entire siteA single overly broad rule with no matching Allow can accidentally deindex an entire site from search — this tool specifically warns when a rule set has this shape.
  2. 2Forgetting the Sitemap directivePointing search engines to your sitemap directly from robots.txt is a small addition that helps crawlers discover your full URL list faster.
  3. 3Using robots.txt to hide content from being indexedDisallowing a page in robots.txt stops it from being crawled, but a page already indexed can still appear in search results without content shown — the "noindex" meta tag is the correct tool for actually removing a page from search results.

Getting More From Your Sitemap

  1. 1Image sitemaps help visual search and AI citationListing key images alongside each page URL gives search engines and AI systems an explicit signal about which images belong to which content, rather than relying on them being discovered incidentally.
  2. 2Video sitemaps work the same way for video contentIncluding a title and thumbnail for embedded or hosted video helps it surface in video-specific search results and previews.
  3. 3A sitemap doesn't force indexing, only suggests itSubmitting a sitemap tells search engines what exists and helps them find it faster — it doesn't override other signals (like a noindex tag or robots.txt disallow) that say a page shouldn't be indexed.

Frequently Asked Questions

Where do I put the robots.txt file once I've generated it?

At the root of your domain — for example, kravoy.com/robots.txt. It must be at that exact top-level location for search engines to find it; it won't work in a subfolder.

What's the difference between Allow and Disallow?

Disallow tells a crawler not to access a path. Allow explicitly permits a path, which is mainly useful for carving out an exception inside a broader Disallow rule — for example, blocking a whole plugin folder except one specific file crawlers need.

Does a sitemap need to include every single page on my site?

It should include every page you want indexed and discoverable, but doesn't need to include pages you've deliberately excluded from search (like admin pages or duplicate content), which is worth aligning with your robots.txt rules.

What do "changefreq" and "priority" actually do in a sitemap?

They're hints, not commands — changefreq suggests how often a page's content changes, and priority suggests its relative importance compared to other pages on the same site. Search engines treat both as optional signals, not strict rules they must follow.

Can I generate a sitemap for a very large site with this tool?

Yes, by pasting your full URL list — for sites large enough to need multiple sitemap files (typically beyond 50,000 URLs per file), you'd split the list and generate each file separately, then reference all of them from a sitemap index file.

Are these generators free to use?

Yes, completely free, with no sign-up and no limit on file size beyond what your browser can comfortably handle.