Convert · On this device

robots and sitemap

Build robots.txt and sitemap.xml from the host and paths you type.

  1. Pick a file or paste
  2. Preview
  3. Download
1User-agent: *
2Disallow: /admin/
3Disallow: /drafts/
4Allow: /
6Sitemap: https://example.com/sitemap.xml

robots.txt guide

Build robots and sitemap. Files update on the left. This page does not submit them.

Disallow rulesPaths crawlers should skip.

  • Disallow: /admin/ — 不让爬 /admin/
  • Disallow: /drafts/ — 不让爬 /drafts/

Put the files at your own origin root. This site does not fetch those URLs.

Sitemap 3 条 · 主机 https://example.com

广告 728×90 · 移动 320×50
How it works, what you get, limits

What it does

Build robots.txt and sitemap.xml from the host and paths you type.

How to use

Enter host and one path per line, download both files, put them at your site root yourself.

What you get

Two text files. This does not submit them to search engines or check that URLs load.

Options and comparison

Host and paths.

Generator only.

Limits

No Search Console submit, no crawl of your URLs.

FAQ

Will you submit to Google?

No. Put the files at your own site root.

Disallow: / ?

That blocks crawling the whole site. Check the preview first.