Web Scraping for AI TrainingA guide by ScrapeWise. We make one of the tools compared here.

Is web scraping for AI training legal?

It depends on what you collect, where you are and what you do with it. Collecting public pages is common, but copyright, text-and-data-mining opt-outs, the EU AI Act's transparency rules, data-protection law such as the GDPR and website terms can all limit how you may use the data to train a model. This is a general overview, not legal advice.

Updated 10 November 2026 by the ScrapeWise team.

Quick picks

To lower risk

Use public, licensed sources

And respect opt-outs.

To stay accountable

Record provenance

Source and date on every record.

For structured public product data

ScrapeWise (our product)

Public pages, with source URLs kept.

Compared

Checked against public documentation and pricing pages, November 2026.
AreaWhat it coversWhat to do
CopyrightReuse of creative worksPrefer licensed or openly licensed sources; get advice for commercial training
Text and data mining opt-outs (EU)Rights holders reserving content from miningCheck robots.txt, AI opt-outs and site terms before collecting
EU AI ActDuties for general-purpose AI providersRespect opt-outs; document training data sources
GDPRPersonal data of people in the EUAvoid personal data you don't need; have a legal basis
Website termsContract rules for using a siteRead them; some ban automated collection
Access controlsLogins, paywalls, technical blocksDon't bypass them

A practical checklist

Public only
No logins, paywalls or bypassed blocks.
Opt-outs respected
robots.txt, AI crawler blocks and terms checked.
Personal data minimised
Removed unless needed and lawful.
Provenance kept
URL and date on each record, so data can be traced and removed.
Advice taken
A lawyer consulted before commercial model training.

Frequently asked questions

Is web scraping for AI training legal?

It depends on the data, the country and the use. Copyright, text-and-data-mining opt-outs, the EU AI Act, the GDPR and website terms can all apply. Get legal advice for commercial training.

Do I have to respect robots.txt for AI training?

In the EU, machine-readable opt-outs from text and data mining must be respected, and robots.txt is a common way to express them. Respecting it everywhere is good practice.

Does the EU AI Act affect training data?

Yes. Providers of general-purpose AI models must respect copyright opt-outs and publish a summary of the content used for training.

Can I train on public personal data?

Public personal data is still protected by the GDPR in the EU. You need a legal basis, and should remove personal data you don't need.