robots.txt & XML sitemap generator
Generate standards-compliant robots.txt crawl directives and valid XML sitemap.xml files from your list of canonical URLs inside your browser.
robots.txt
User-agent: * Disallow: /admin/ Disallow: /private/ Sitemap: https://example.com/sitemap.xml
sitemap.xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-01-01</lastmod>
</url>
<url>
<loc>https://example.com/tools</loc>
<lastmod>2026-01-01</lastmod>
</url>
<url>
<loc>https://example.com/about</loc>
<lastmod>2026-01-01</lastmod>
</url>
</urlset>Processing runs inside your browser without accounts or server uploads. Modular TypeScript domain logic tested locally.
Report a problem with this toolCrawler & sitemap syntax
XML escaping: Escapes special URL characters (&, <, >) automatically inside <loc> tags and stamps ISO lastmod dates.
Frequently asked questions
- Can I paste relative paths like /about into the URL list?
- Yes—relative paths are automatically joined to your configured Site Origin.
- Where should robots.txt be hosted?
- At the root path of your domain (/robots.txt).
Related tools
Browse all toolsWeb & SEO
Meta & OpenGraph card previewer
Check SEO title/description lengths, preview search snippet & social share cards, and generate clean HTML meta tags.
Spreadsheets & data
XML formatter & tag validator
Pretty-print, minify, and verify balanced tag nesting for XML, SVG, RSS, and sitemap documents locally.
Web & SEO
Schema.org JSON-LD generator
Generate valid JSON-LD structured data blocks for WebApplication, Article, FAQPage, and Organization pages locally.