Skip to content
ML2
Research & AutomationTool#Open sourceweb scrapingPython

Crawl4AI

Added Updated Copyable prompt below

Published Last verified Released

Our verdict

The self-hosted pick for web-to-Markdown: free to run, Python-native and very configurable, with deep crawls, structured extraction and browser control built in. Self-hosting means you run the browsers and handle proxies and bot walls yourself. If you'd rather not, the same team now runs Crawl4AI Cloud, with 1,000 free credits a month.

Who it's for
Python builders who prefer self-hosting
Leverage
Free, controllable web extraction
Effort
Medium
Date added

What Crawl4AI does

Crawl4AI (unclecode/crawl4ai, Apache-2.0) is a web crawler and scraper for LLMs and agents. It drives a real browser (Chromium, Firefox or WebKit) and returns clean Markdown, optionally filtered down to the main content, plus links, media, screenshots and PDFs. It can extract structured JSON with CSS or XPath schemas and no LLM, or with any LLM provider through a typed schema. You run it as a Python library, a Docker server with a REST API and MCP, the crwl command line, or through the hosted Crawl4AI Cloud.

How builders use Crawl4AI

  • Batch-crawl a docs site for a RAG index with a breadth-first deep crawl capped at a page count.
  • Track page changes in a scheduled job, using the hooks at each crawl step to plug in your own comparison.
  • Pull prices or listings with a CSS schema (JsonCssExtractionStrategy), so no LLM tokens are spent per page.
  • Run the Docker server and connect Claude Code to it over MCP so your agent can crawl on demand.

Library, your own server or Crawl4AI Cloud

From the project README (latest release v0.9.5, 14 October 2026):

OptionWho handles browsers, proxies and bot wallsPrice
Python libraryYou, in your own Python processFree (Apache-2.0); you cover infrastructure
Your Docker serverYou, on your own machineFree (Apache-2.0); you cover hosting
Crawl4AI CloudCrawl4AI, which also adds web search (/search, /serp in beta, /answer experimental)1,000 free credits a month; plans from $10

Features that save the most work

  • Fit Markdown filters (pruning, BM25 for a query, or an LLM filter) strip menus, footers and boilerplate before text reaches your model.
  • Deep crawls use breadth-first, depth-first or best-first strategies, and resume_state recovers a long crawl after a crash.
  • AdaptiveCrawler stops once it has gathered enough to answer your query, and AsyncUrlSeeder finds URLs from sitemaps and Common Crawl.
  • Persistent browser profiles keep saved logins and cookies, and sessions keep state across multi-step crawls.
  • The Docker image includes a monitoring dashboard and playground on port 11235, for AMD64 and ARM64.

Crawl4AI: limits and gotchas

  • Self-hosted, you own the hard parts: JavaScript-heavy sites, bot detection, proxies and rate limits are your settings and your cost.
  • LLM extraction and crwl's question mode need your own model key (crwl config); only the Cloud's /extract runs without one.
  • The Docker server needs CRAWL4AI_API_TOKEN; without it, it answers only inside its container.
  • The README asks you to include an attribution (a badge or similar) when you use Crawl4AI, on top of the Apache-2.0 licence.
  • Stealth mode and an undetected-browser adapter exist, but a site's terms and robots rules still apply to what you crawl.

Crawl4AI compared with other tools here

  • Firecrawl: a hosted API that turns websites into LLM-ready data, for when you'd rather pay per page than run browsers.
  • Jina Reader: the lightest option: put r.jina.ai/ in front of a URL and get text back, with no crawling logic.
  • MarkItDown: converts files (PDF, Office, HTML) you already have into Markdown; Crawl4AI fetches the pages.
  • Browser Use: an agent that clicks through sites to complete tasks, rather than a crawler that extracts content.

When to pick Crawl4AI

  • Pick Crawl4AI if you write Python, want to self-host, and need deep crawls or structured extraction without per-page fees.
  • Pick Crawl4AI Cloud if you want the same output without running browsers or proxies.
  • Pick Jina Reader for a single page now and then, or Firecrawl for a managed API from another vendor.

Copy this: Install + first crawl

# Official source: github.com/unclecode/crawl4ai (Apache-2.0)
pip install -U crawl4ai
crawl4ai-setup          # installs the browser, once

# A page as Markdown from the command line
crwl https://news.ycombinator.com -o markdown

# Deep crawl, breadth first, at most 10 pages
crwl https://docs.crawl4ai.com --deep-crawl bfs --max-pages 10

# Or your own server (every endpoint needs the token)
export CRAWL4AI_API_TOKEN="$(openssl rand -hex 32)"
docker run -d -p 11235:11235 --shm-size=1g -e CRAWL4AI_API_TOKEN="$CRAWL4AI_API_TOKEN" unclecode/crawl4ai:latest

Crawl4AI questions

Is Crawl4AI free?

The library and Docker server are free and open source under Apache-2.0; you pay for your own infrastructure. Crawl4AI Cloud has 1,000 free credits a month and paid plans from $10.

Does Crawl4AI need an LLM?

No. It produces Markdown and can extract structured data with CSS, XPath or regex schemas without one. LLM extraction is optional and works with any provider it supports.

Can my coding agent use Crawl4AI?

Yes. The self-hosted Docker server exposes MCP for Claude Code and other agents, and Crawl4AI Cloud has a one-line MCP setup for Claude Code, Codex, Cursor and OpenCode.

Related discoveries

See the newest picks →
  • ToolResearch & Automation

    Firecrawl

    An API that turns web pages and whole sites into clean Markdown or JSON for agents, with search, crawl and an MCP server.

    Effort: Low#Open source#Self-hostable

  • ToolResearch & Automation

    Jina Reader: any URL to LLM-ready text

    Put r.jina.ai/ in front of a URL and get clean, LLM-friendly text back.

    NewEffort: LowPrompt#Open source#API

Get the best new A.I. picks in your inbox

The best new agent workflows and tools we’ve vetted, with a clear verdict on each. Short, occasional, useful.

More in Research & Automation →

Free. No spam. Unsubscribe anytime.