Crawl4AI
AI / ML development tool · Free
A Python crawler with extraction and structured output for AI processes: it prepares webpage data for indexes and your RAG application.
Also known as: unclecode/crawl4ai; crawl4ai-web-crawler; web-scraper-ai

What you can use for free
A local code pipeline under Apache-2.0; rights for the selected models are checked separately.
Paid features and costs
Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.
Access and limitations
A local code pipeline under Apache-2.0; rights for the selected models are checked separately. Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.
Use cases
- Prepare webpage data for an AI pipeline
- Configure extraction and check Markdown or structured output using sample pages
Example workflow
A possible workflow; this is not a report of hands-on testing.
Prepare webpage data for an AI pipeline.
Before you start
- Test documents or tasks, and a quality criterion.
- Models, a runtime, and a computing budget.
Steps
- Define permitted pages and the required extracted data structure.
- Configure extraction and check Markdown or structured output using sample pages.
- Connect the workflow to the application and make errors observable.
Check your result
- Check the result against reference examples and invalid inputs.
- Inference costs, model rights, and data handling have been established.
Choosing Crawl4AI
Prepare webpage data for an AI pipeline
Choose this when
- Prepare webpage data for an AI pipeline
- Configure extraction and check Markdown or structured output using sample pages
Requirements
- After pip installation, crawl4ai-setup installs the browser; your own Docker server requires CRAWL4AI_API_TOKEN.
Things to consider
- Costs and limits of free use: Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.
- Terms of use: Apache License 2.0 with an additional Attribution Requirement: distributions, publications, and public uses must contain prominent, accessible UncleCode/Crawl4AI acknowledgment; third-party component terms are separate.
- LICENSE adds an Attribution Requirement for distributions, publications, and public uses: credit must be prominent and accessible, such as in NOTICE/README, About/Credits, or CLI help.
Frequently asked questions
What can you use for free in Crawl4AI?
A local code pipeline under Apache-2.0; rights for the selected models are checked separately.
What additional costs might arise with Crawl4AI?
Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.
What terms of use matter for Crawl4AI?
Apache License 2.0 with an additional Attribution Requirement: distributions, publications, and public uses must contain prominent, accessible UncleCode/Crawl4AI acknowledgment; third-party component terms are separate.
How do you get started with Crawl4AI?
Define permitted pages and the required extracted data structure. Configure extraction and check Markdown or structured output using sample pages. Connect the workflow to the application and make errors observable.
Can structured data be extracted without an LLM, and how does your own server work?
JsonCssExtractionStrategy, JsonXPathExtractionStrategy, and RegexExtractionStrategy do not require an LLM. Dynamic pages support JavaScript execution, element waits, and scrolling; results contain Markdown/JSON. Your Docker server provides REST/MCP, while cloud separately adds search/answer and is billed by usage.
License
Apache License 2.0 with an additional Attribution Requirement: distributions, publications, and public uses must contain prominent, accessible UncleCode/Crawl4AI acknowledgment; third-party component terms are separate.
Apache 2.0 — permissive license with patent terms
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsTechnologies and topics
- Crawl4AI
- ml
- Development