# Crawl4AI

> Open-source Python crawler that turns web pages into clean Markdown or structured JSON, with deep crawling and browser control.

Source: https://osinttools.io/tools/crawl4ai/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** URL
- **Category:** Data capturing
- **Pricing:** Free, open source
- **Footprint:** active (contacts the target or the services it checks)
- **Account required:** no
- **API:** no public API
- **Platforms:** Python library · CLI · Docker
- **Website:** https://github.com/unclecode/crawl4ai
- **Docs:** https://docs.crawl4ai.com/
- **GitHub:** unclecode/crawl4ai, 88,015 stars · Python · Apache-2.0 · last commit 2026-11-23
- **Listed:** Nov 27
- **Last verified by an editor:** Nov 27, 2026

## What it does

Crawl4AI is an Apache-2.0 web crawler and scraper for Python. It drives Chromium, Firefox or WebKit, renders dynamic pages, and outputs clean Markdown, CSS or XPath extractions, or LLM-based structured JSON. It supports deep crawls, sessions with saved logins, proxies, screenshots and PDFs, and can run as a library, a CLI or a Docker server.

Investigators with some coding skills use it to collect and clean large sets of pages for analysis, such as all articles on a site or a list of profiles, and to feed the text into their own search or AI tools. A hosted cloud API is also offered by the maker.

Footprint is active: it contacts the target or the services it is checking, which can be logged on the other side. No account is needed. There is no public API.

## Features

- Clean Markdown output
- CSS, XPath and regex extraction
- Optional LLM extraction to JSON
- Deep crawl strategies with resume
- Persistent browser profiles and sessions
- Screenshots and PDFs
- CLI and Docker server

## Pros

- Very popular and actively developed
- Handles JavaScript-heavy pages
- Flexible from simple scrapes to large crawls
- Free to self-host

## Cons

- Needs Python and a browser install
- Stealth and proxy features can breach site terms if misused
- Large crawls need tuning to avoid being blocked

## When to use it

- Use it when you need to scrape and clean many pages from a site into text you can search.
- Use it when you want structured data pulled from pages without writing a scraper from scratch.

## Quick start

pip:

```
pip install -U crawl4ai
crawl4ai-setup
```

## Alternatives

- [Altia OSINT Investigator](https://osinttools.io/tools/altia-osint-investigator/): Commercial capture tool for police and corporate investigators that saves web content with hashing and an audit trail into case files. (Paid · URL · passive)
- [Archive Page](https://osinttools.io/tools/archive-page/): Open-source extension that sends the current page or a link to archive.today to be saved or looked up, from the toolbar or context menu. (Open source · URL · passive · 186 GitHub stars)
- [Archive-It](https://osinttools.io/tools/archive-it/): Internet Archive's subscription web archiving service; its curated collections from libraries and institutions are publicly searchable. (Freemium · URL · passive)
- [ArchiveBox](https://osinttools.io/tools/archivebox/): Open-source, self-hosted web archiver that saves pages as HTML, PDF, screenshots, WARC and media, with full-text search. (Open source · URL · active · 29,109 GitHub stars)
- [ArchiveWeb.page](https://osinttools.io/tools/archiveweb-page/): Webrecorder's open-source extension that records the pages you browse into high-fidelity web archives you can export as WARC or WACZ. (Open source · URL · passive · 1,635 GitHub stars)
- [Auto Archiver](https://osinttools.io/tools/auto-archiver/): Bellingcat's open-source Python tool that archives batches of URLs, media and metadata from a spreadsheet, CSV or the command line. (Open source · URL · active · 1,161 GitHub stars)

All alternatives to Crawl4AI in one table: https://osinttools.io/tools/crawl4ai/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
