Free auditStart free
GlossaryGlossary · Crawling

Web scraping

What web scraping is, what robots.txt (RFC 9309) does and doesn't cover, and the controls a site owner actually has over automated collection.

4 min
read
5
sources
Oct 23, 2026
updated
Scaplet Editorial Team
author
In one line

Web scraping is the automated collection of content or data from web pages for use elsewhere. robots.txt, standardized as RFC 9309, lets site owners say which paths crawlers may access, but the RFC states that its rules are not a form of access authorization. Compliance is up to the scraper, so it is a request, not a lock.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Explained

What web scraping is

OWASP, which catalogs automated threats to web applications, defines scraping as "Collect application content and/or other data for use elsewhere." Its fuller description is "Collecting/copying accessible data and/or processed output, for subsequent use such as exploitation of proprietary data, or price-fixing."

OWASP notes that some scraping may use fake or compromised accounts, or the information may be accessible without authentication. A scraper reads accessible paths and pulls data out of the responses, and it can run continuously or periodically.

Scraping and crawling overlap, since both fetch pages automatically. RFC 9309 is written for automatic clients "known as crawlers." It does not use the word scraper.

02Check it

What robots.txt covers

RFC 9309 specifies the Robots Exclusion Protocol "for service owners to control how content served by their services may be accessed, if at all, by automatic clients known as crawlers." You write groups that start with a User-agent line and follow with Allow and Disallow rules for paths.

Google's documentation adds scope. The file must sit at the root of the host it applies to, applies only to that protocol, host and port, and must be a UTF-8 text file.

A group for one named crawler, and a default for the rest
User-agent: ExampleScraper
Disallow: /

User-agent: *
Disallow: /account/
03Behavior RFC 9309 specifies for compliant crawlers

How crawlers should treat the file

Situation

robots.txt returns a 4xx status

What the RFC says
"the crawler MAY access any resources on the server"
Situation

robots.txt returns a 5xx status

What the RFC says
"the crawler MUST assume complete disallow"
Situation

Cached copy

What the RFC says
"Crawlers SHOULD NOT use the cached version for more than 24 hours, unless the robots.txt file is unreachable."
Situation

File size

What the RFC says
"The parsing limit MUST be at least 500 kibibytes [KiB]."

Those are obligations for crawlers that follow the standard. A scraper that ignores robots.txt isn't bound by them in any technical sense.

05Explained

When scraping becomes a search spam problem

Google's spam policies define scraping as "taking content from other sites, often through automated means, and hosting it with the purpose of manipulating search rankings." The listed examples include republishing content without adding original value, and copying content and modifying it only slightly, for example by substituting synonyms.

That is a different question from whether collecting data is allowed. Reading public pages for analysis is scraping in OWASP's sense. Republishing them to rank is what Google's policy targets.

Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01What is web scraping and how does it work?

OWASP defines it as collecting application content and other data for use elsewhere. A scraper requests accessible pages or endpoints and extracts data from the responses, either continuously or periodically.

02Does robots.txt stop scrapers?

Only those that choose to obey it. RFC 9309 says its rules are not a form of access authorization.

03Does blocking a path in robots.txt remove it from Google?

No. Google says robots.txt is not a mechanism for keeping a page out of Google, and a disallowed page can still be indexed if other sites link to it.

04Is scraping against Google's spam policies?

Only when the content is hosted to manipulate rankings, such as republishing it without original value. Google's policy defines scraping in that sense.

Sources · 5

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • rfc-editor.org
  • google.com
  • github.io
  1. 01RFC 9309: Robots Exclusion Protocolrfc-editor.org · checked 2026-10-25
  2. 02Introduction to robots.txt (Google Search Central)developers.google.com · checked 2026-10-25
  3. 03How to write and submit a robots.txt file (Google Search Central)developers.google.com · checked 2026-10-25
  4. 04OAT-011 Scraping (OWASP Automated Threats to Web Applications)owasp.github.io · checked 2026-10-25
  5. 05Spam policies for Google web searchdevelopers.google.com · checked 2026-10-25
Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly