seoseocrawlersconfig

robots.txt Generator

Build a robots.txt file with common presets for WordPress, Nuxt, Laravel, and more.

Free tool
Runs in browser
No data stored
robots.txt Generator
robots.txt
User-agent: *
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-content/plugins/
Disallow: /trackback/
Disallow: /feed/
Disallow: /?s=
Disallow: /search/

What robots.txt does

A robots.txt file tells search engine crawlers which parts of your site they are allowed to visit and which they should skip. It sits at the root of your domain (example.com/robots.txt) and is the first thing crawlers check before indexing. It does not block access — anyone can still visit a disallowed URL directly — but well-behaved bots like Googlebot and Bingbot will respect the rules. Think of it as a polite request, not a security barrier.

Common mistakes

The most frequent error is accidentally blocking your entire site with Disallow: / under User-agent: *. This happens on staging sites and sometimes gets deployed to production. Another common issue is blocking CSS and JavaScript files that Googlebot needs to render your pages — this can tank your search rankings because Google cannot see what your pages actually look like. Always validate your robots.txt in Google Search Console after deploying changes.

Related Tools