Data & Analytics · Data Extraction & Web Scraping
Crawl4AI
Open-source crawling that turns websites into data for AI systems
Crawl4AI is a Python web crawler and scraper that converts pages into clean Markdown, structured JSON, and inputs for RAG systems, agents, and data pipelines. It is Apache-2.0 licensed and runs locally without an account. Crawl4AI Cloud adds hosted scraping, extraction, search, SERP, answer, and MCP endpoints, with 1,000 free monthly credits and paid plans from $10 per month.
Key facts
- License
- Apache-2.0
- Main language
- Python, JavaScript, Shell, Dockerfile
- Maintainer
- Unclecode (Hossein Tohidi), with the Crawl4AI open-source community
- First released
- 2024
- Latest release
- v0.9.5, October 14, 2026
- GitHub stars
- 85.8k, October 2026
- Hosted option
- Crawl4AI Cloud, free 1,000 credits monthly; paid plans from $10/month
What Crawl4AI is
Crawl4AI is an open-source crawler for developers building RAG applications, agents, research workflows, and web data pipelines. The repository was created on May 9, 2024, and is led by Hossein Tohidi, known online as Unclecode, with Nasrin and Aravind Karnam listed in the core team. GitHub showed about 85,800 stars, 8,900 forks, and more than 1,000 contributions from Unclecode in October 2026. The project lists Kidocode among its sponsors and publishes sponsorship tiers, but no institutional funding is identified in its public company profile. Its latest release at the review date was v0.9.5, published October 14, 2026. This history places the project within a fast-moving open-source development cycle.
How it works
The main job is reducing web pages to useful inputs for models and programs. A typical Python workflow installs the package, creates an AsyncWebCrawler, opens a browser-backed session, and requests one URL or many URLs. Users can produce cleaned Markdown, HTML, links, media, screenshots, PDFs, or structured records. CSS and XPath extraction strategies support deterministic schemas, while LLM extraction handles natural-language instructions. Deep crawling, adaptive crawling, URL seeding, caching, session reuse, hooks, proxies, JavaScript execution, and browser control cover sites that a plain HTTP client cannot render. The hosted API mirrors the core workflow through scrape and extract endpoints, and adds search, SERP, answer, batch, jobs, and MCP access. These outputs support both interactive experiments and repeatable processing pipelines.
Architecture and recent releases
The project is primarily Python and uses Playwright and Chromium for browser automation, with Docker packaging for its HTTP server. It can operate as an in-process library, a local Docker service, or a hosted API. Documented integrations include LLM providers for extraction, proxy services, local embeddings, and agent clients such as Claude Code, Codex, Cursor, Gemini CLI, OpenCode, and Windsurf through MCP. Releases in 2026 materially tightened the server: v0.9.0 enabled authentication and safer defaults, v0.9.4 fixed SSRF and trust-boundary issues, and v0.9.5 fixed six security issues while adding opt-in deep crawling. This arrangement lets teams choose between direct Python calls, an internal HTTP service, and hosted endpoints while keeping browser execution central to the workflow.
License and pricing
Apache-2.0 permits commercial use, modification, redistribution, and derivative works, subject to copyright, patent, notice, and attribution terms. Crawl4AI is not presented as an open-core package with a paid self-hosted edition. The library and Docker server remain free to run, while Crawl4AI Cloud is the paid hosted option. The service supplies 1,000 credits monthly on its free tier, limits free accounts to 10 requests per minute and two concurrent requests, and lists Starter at $10 monthly for 10,000 credits, with Builder at $99 and Scale at $499. Hosted calls use credits and can route through EU, Singapore, and US regions. Teams can therefore compare infrastructure responsibility against recurring hosted consumption before choosing a deployment model.
Limitations and how it compares
The principal limitation is operational: browser crawling consumes more memory and setup time than a lightweight HTTP scraper, and difficult sites still require suitable proxies, session handling, and policy review. The Docker server also needs careful authentication and upgrade discipline because its 2026 releases addressed SSRF and request-boundary vulnerabilities. Compared with Firecrawl, Crawl4AI offers a more permissive self-hosted core and lower published cloud entry price; compared with Scrapy, it provides browser rendering and LLM-oriented output with more runtime weight; compared with Playwright alone, it supplies crawling, extraction, caching, and crawl strategies. Pick it when ownership of the crawler and model-ready output matter more than a turnkey enterprise platform. Operators should match its browser costs and maintenance duties to the workload.
Main features
- LLM-ready Markdown. Removes page boilerplate and returns readable Markdown suitable for prompts, retrieval indexes, and downstream processing.
- Structured extraction. Combines CSS, XPath, and LLM strategies to turn pages into typed JSON records without requiring one universal selector style.
- Browser automation. Uses Playwright and Chromium to render JavaScript pages, execute browser actions, capture screenshots, and handle sessions.
- Deep crawling. Supports URL seeding, recursive strategies, adaptive traversal, filtering, scoring, and opt-in deep crawling for related pages.
- Crawler controls. Crawler controls provide proxies, hooks, caching, concurrency settings, retries, delays, authentication, and reusable browser contexts for flexible crawling.
- Agent interfaces. Crawl4AI Cloud exposes scrape, extract, search, SERP, answer, batch, jobs, and MCP interfaces for agent clients.
Self-hosting Crawl4AI
Install the library with pip install crawl4ai, then run its browser setup command to install Playwright browsers. Python 3.10 or newer is supported. For a service deployment, use the published Docker image and configure the Docker API server before exposing it beyond localhost. The library can run in a Python process, while the server supports browser-backed HTTP crawling and optional Redis-backed features. No account, token, or paid license is required for local use. Set authentication and review migration guidance before production exposure, and upgrade promptly because 2026 releases fixed SSRF and request-boundary vulnerabilities. The project does not publish a universal minimum CPU or RAM requirement.
Strengths
- Apache-2.0 permits commercial deployment with no per-request self-hosting fee.
- Playwright support handles JavaScript-heavy pages that basic HTTP crawlers cannot render.
- Markdown and JSON outputs fit RAG, agent, and structured data workflows.
- Frequent 2026 security releases show active maintenance of the Docker server.
Drawbacks
- Browser execution costs more memory and operational work than a simple HTTP scraper.
- Difficult sites still require proxy, session, and anti-bot configuration by the operator.
- The hosted service charges credits and its soft-launch prices and limits may change.
What teams replace with it
Teams usually evaluate Crawl4AI when they want to move off Firecrawl, Apify, Diffbot.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Crawl4AI
- Scrapy
- Crawlee
- Firecrawl
- Colly
- Browserless
Frequently asked questions
Is Crawl4AI free to use?
Yes. The Apache-2.0 library and self-hosted Docker server can be installed and operated without an account or usage charge. You pay your own infrastructure and external browser, proxy, or model services. Crawl4AI Cloud has a free allowance of 1,000 credits per month, then paid plans begin at $10 monthly for the published Starter tier.
Can companies use Crawl4AI commercially?
Yes. Apache-2.0 grants commercial use, modification, distribution, and sublicensing, subject to license notice, patent, and attribution conditions. Crawl4AI asks public uses and derivative distributions to display project attribution. Those obligations are separate from Cloud billing, so a company can run the software privately without buying a hosted subscription.
How do you self-host Crawl4AI?
Install the Python package with pip and install its Playwright browsers for an in-process crawler. For an HTTP service, run the project Docker image, configure its API token and server settings, then place it behind network controls. Production operators should review the v0.9.0 migration guidance, restrict outbound access, and keep the image current.
How does Crawl4AI compare with Firecrawl?
Crawl4AI has a free Apache-2.0 core that users can run on their own machines, while Firecrawl is primarily known as a hosted scraping API with a separate self-hosted offering. Crawl4AI supplies browser control, extraction strategies, deep crawling, and agent interfaces. Firecrawl may be easier for managed operations, while Crawl4AI suits teams prioritizing local control.
Is self-hosted Crawl4AI private and secure?
Self-hosting keeps crawled content inside infrastructure chosen by the operator, but privacy depends on browser, proxy, model, logging, and storage configuration. The Docker server should not be exposed with permissive defaults. Version 0.9.0 enabled authentication by default, and versions 0.9.3 through 0.9.5 fixed SSRF, trust-boundary, request-injection, and certificate-handling issues, making prompt upgrades important.
Similar projects to compare
- FirecrawlAGPL-3.0Firecrawl is an AGPL-3.0 web-data platform that converts pages, documents, and search results into Markdown, HTML, screenshots, or structured data. Its API covers scraping, crawling, mapping, search, parsing, extraction, monitoring, and browser interaction. Docker Compose supports self-hosting core routes, while Cloud adds managed infrastructure and product capabilities.
- MaxunAGPL-3.0Maxun is an AGPLv3 web-data platform for building robots that scrape, crawl, search, monitor, and extract structured information from websites and documents. Its recorder, dashboard, REST API, SDKs, CLI, and MCP interface support repeatable workflows, while Docker Compose enables free self-hosting. Maxun Cloud adds managed browsers, stealth, proxy rotation, collaboration, and advanced extraction.
- OpenSERPMITOpenSERP is a Go API and CLI for structured Google, Bing, Yandex, Baidu, DuckDuckGo, and Ecosia results, with optional page extraction. It supports AI, SEO, automation, image search, filters, and several output formats. The MIT-licensed core can run locally through Docker or Go, while OpenSERP Cloud offers managed requests priced per successful search.