EN
EnglishEspañolPortuguêsFrançaisDeutschItalianoРусский中文
Get a website

Robots.txt Generator

Tell search engines what to crawl.

One wrong line can hide your entire site from Google.

The line that quietly kills a launch

Here's a classic. A developer builds your new site on a staging server and adds Disallow: / so Google stays out. Smart. Then the site goes live, the file comes along for the ride, and for weeks nobody can find you. Your ads run, your emails go out, and organic search sends almost nothing. If traffic drops right after a launch or redesign, check yourdomain.com/robots.txt before you blame anything else.

Blocking is not hiding

Robots.txt tells crawlers where they may go. It does not lock anything. The file is public, so listing /secret-pricing/ or /admin-backup/ is basically a signpost for curious people. Protect private pages with a login, not a polite request.

Here's the tip most people miss. If a page is already in Google and you want it gone, don't block it in robots.txt. Blocking stops Google from crawling the page, so it never sees your noindex tag, and the URL can linger in results anyway. Add noindex first, wait for the page to drop out, and only block it afterward if you still need to.

Keep it boring

The best robots.txt files are short. Block what truly wastes crawl time, like internal search results or cart pages. Point to your sitemap. Leave your CSS and JavaScript open so Google can see your pages the way customers do.

Questions

Does robots.txt remove a page from Google?

No. It only asks crawlers not to visit. A blocked page can still show up in results if other sites link to it. To remove a page, use a noindex tag and let Google crawl it.

Where do I put my robots.txt file?

In the root of your domain, so it loads at yourdomain.com/robots.txt. Crawlers only look there. A copy in a subfolder gets ignored, and each subdomain needs its own file.

Do I even need a robots.txt file?

Not strictly. With no file, crawlers assume they can access everything. A simple one is still useful for pointing to your sitemap and keeping bots out of low-value pages like internal search results.

Related tools

Made by Kevora

We built this. Imagine your website.

These tools are free because they show what we can do. We design websites with real character for businesses that want more customers, from $30 for the first year.

Visit Kevora