Crawl4AI
Python web crawler that converts pages to LLM-ready Markdown and JSON
Crawl4AI is a Python library, CLI (`crwl`) and Docker REST server that drives Playwright browsers (Chromium, Firefox, WebKit) to turn web pages into clean or filtered Markdown. It extracts structured data with CSS/XPath/regex schemas without an LLM, or through any LiteLLM-supported provider into a typed JSON schema. It also supports deep crawls, adaptive crawling and batch fetching. A hosted Crawl4AI Cloud with search and answer endpoints is sold separately.
Strengths
- Schema-based CSS/XPath extraction runs without any LLM call
- Fit Markdown filters (pruning, BM25, LLM) strip menus and boilerplate
- Persistent profiles, CDP remote browsers, rotating proxies and stealth mode
- Docker server exposes /md, /crawl, /screenshot, /pdf, plus MCP, dashboard and playground
Weaknesses
- Search, SERP and answer endpoints exist only in the paid hosted cloud
- Bot-wall handling when self-hosted depends on your own proxies and settings
- Needs a Playwright browser install via crawl4ai-setup
- README asks for attribution when you use it
- no GPU
- Docker + Compose
- Needs Playwright browsers (Chromium), Docker (optional), LLM provider API key (optional)
- Models: LiteLLM providers, OpenAI, Ollama
- port 11235