✨ Get 25% OFFon any plan. Use the coupon:
Free tool

robots.txt checker

Paste a site URL and see its robots.txt analyzed: User-agent groups, blocking rules, Sitemaps and warnings. Right in your browser, no sign up.

Quick guide

How to read and check robots.txt

The robots.txt is a text file at the root of a site, at yoursite.com/robots.txt, that tells search crawlers which parts of the site they may crawl. A simple mistake in this file can take down crawling for the whole site, so it pays to check it now and then.

How to read robots.txt line by line

The file is organized into groups. Each group starts with a User-agent (the crawler the rules apply to) and lists directives below it. The most common are Disallow (a path the crawler should not crawl) and Allow (an exception that opens a path inside a blocked area).

  • User-agent: * applies the rules to every crawler. You can also target a specific bot, such as Googlebot.
  • Disallow: /admin/ asks crawlers not to crawl anything inside /admin/.
  • Disallow: left empty opens the whole site for that group.
  • Sitemap: points to the full URL of your sitemap to help the engine find your pages.

Main directives and what they do

DirectiveExampleWhat it does
User-agentUser-agent: *Defines which crawler the group of rules applies to
DisallowDisallow: /cart/Asks the crawler not to crawl that path
AllowAllow: /blog/Opens a path inside a blocked area
SitemapSitemap: https://yoursite.com/sitemap.xmlPoints to where the site's sitemap lives

Common robots.txt mistakes

MistakeEffect
Disallow: / for User-agent: *Blocks the entire site from search engines
Missing robots.txtGoogle crawls everything by default, with no guidance from you
No Sitemap lineYou lose an easy hint that speeds up page discovery
Blocking CSS and JSGoogle may render the page incompletely
Sitemap with a relative URLThe Sitemap line needs the full URL to be read

Blocking crawling and blocking indexing

These are different things. Disallow in robots.txt asks the crawler not to crawl the page. To remove a page from Google's index, use the noindex meta tag in the page's own <head>. Important detail: a page blocked in robots.txt can still show up in search, because Google never reads its noindex. To remove it from the index, open crawling and use noindex.

FAQ

robots.txt questions

Is the checker free?

Yes, free and no sign up. Paste the site URL and get the robots.txt analysis instantly.

Where is a site's robots.txt?

Always at the root of the domain, at yoursite.com/robots.txt. The tool derives the origin from the URL you paste and fetches that file automatically.

What does Disallow: / mean?

It is the rule that blocks the whole site for that group's crawler. When it appears for User-agent: *, no search crawler crawls the site, so the tool flags it in red.

Does robots.txt stop indexing on Google?

Not directly. It controls crawling. To remove a page from the index, use the noindex meta tag on the page and keep crawling open so Google can read it.

Do I need to declare the Sitemap in robots.txt?

It is not required, but it helps a lot. The Sitemap line tells the engine where your pages are and speeds up discovery. The tool warns you when it is missing.

Is my data stored?

The check runs on demand and the robots.txt content is not stored.

Automarticles

Want a blog born with the right technical SEO?

Automarticles builds your full blog, with robots.txt, sitemap, canonical and content optimized for Google and to be cited by AIs like ChatGPT. With no manual work.

Start for free

More free tools

Character CounterCount characters and words, and check each platform's limit.Word CounterCount words, check reading time and see your most used words.Keyword DensitySee your most used terms and the density of each one, in real time.Readability ScoreTest how easy your text is to read, with a 0 to 100 score.Google PreviewSimulate your page's snippet on Google before you publish.Slug GeneratorTurn titles into clean, SEO friendly URLs.Schema GeneratorCreate JSON-LD for FAQ, article, organization or local business in seconds.robots.txt GeneratorBuild your site's robots.txt and copy the result ready to use.UTM BuilderBuild trackable URLs with UTM parameters for your campaigns.SEO ROI CalculatorCalculate leads, revenue, profit, ROI and payback on your SEO investment.llms.txt GeneratorBuild your site's llms.txt so AIs can understand and cite it.SEO Title GeneratorGenerate 8 optimized titles with AI, each at the right length for Google.Meta Description GeneratorCreate 150-160 character meta descriptions with AI, ready for Google.Blog Outline GeneratorBuild a full article structure with AI: H1, H2, H3 and conclusion.Content Idea Generator10 blog ideas with title and angle from your niche, in seconds.FAQ GeneratorGenerate 6 frequently asked questions with AI plus a ready-to-paste FAQPage schema.Text RewriterRewrite and paraphrase any text with AI, in the tone you need.Introduction GeneratorCreate 3 introductions with a hook, context and promise using AI.Article Conclusion GeneratorWrite your article's closing paragraph with AI: summary, takeaway and call to action.Content Brief GeneratorBuild a full SEO brief with AI to guide writers and agencies.Alt Text GeneratorCreate alt text for your images with AI, ready for accessibility and SEO.AI Visibility CheckerSee if ChatGPT knows your brand and how to improve your AI visibility.Meta Tag GeneratorGenerate title, description, Open Graph and Twitter Card ready to paste in the head.Passive Voice CheckerFind the sentences in passive voice and make your writing clear and direct.Headline AnalyzerGet a 0 to 100 score for your headline, plus tips to win more clicks.SEO ChecklistTick off technical, on-page, content and link items and watch your progress.Grammar CheckerFix grammar, spelling and punctuation with AI, without changing the meaning.Article SummarizerTurn long text into a clear AI summary in seconds.Canonical Tag CheckerCheck any page's canonical tag and the most common mistakes.Open Graph CheckerSee a page's OG and Twitter tags and how the link looks when shared.Heading Tag CheckerCheck any page's H1 to H6 hierarchy and the most common mistakes.Broken Link CheckerFind 404s and dead links on any page, internal and external.XML Sitemap ValidatorValidate your sitemap.xml and see URLs, type and common errors.Keyword GeneratorKeyword ideas with real search volume, competition and CPC.Keyword Difficulty CheckerSee, from 0 to 100, how hard it is to rank each keyword on Google.SERP CheckerSee who holds Google's Top 10 for any keyword.Image CompressorCompress and convert images in the browser. Nothing is sent to a server.