Comparisons

Best open source Firecrawl alternatives
The best open source Firecrawl alternative is Crawl4AI: clean Markdown and JSON, JavaScript rendering and deep crawling under Apache 2.0 instead of AGPL.
Last updated December 2026
The best open source Firecrawl alternative is Crawl4AI, because it does the same core job, turning websites into clean Markdown or structured JSON for language models, under the permissive Apache 2.0 licence, with JavaScript rendering, deep crawling and LLM extraction built in. Scrapy is the better choice for large, rule-based crawls, Crawlee for teams who want a full crawling framework in JavaScript or Python, and Trafilatura for fast text extraction from pages that do not need a browser.
We make Exabase, which is not open source. Its Extract API turns web pages into Markdown or JSON as a managed service, so it suits teams who would rather not run a crawler at all. This guide focuses on the open source options and mentions Exabase only where it fits.
Why people look for an open source Firecrawl alternative
Firecrawl is itself open source. Its main repository is licensed under AGPL-3.0, with the SDKs and some UI components under MIT. Three things send people looking elsewhere.
The first is the licence. AGPL-3.0 requires that if you modify the software and let users interact with it over a network, you offer them the modified source. Many companies’ legal teams avoid AGPL code in commercial products as a matter of policy. Permissive licences such as Apache 2.0, MIT and BSD carry no such condition. This is a summary rather than legal advice, so check with your own counsel.
The second is feature parity. Firecrawl’s documentation says the self-hosted stack includes the core scrape, crawl, map and search APIs, but its Fire-engine service for advanced anti-bot handling is not included and has to be run separately. Screenshots and page actions need Fire-engine. Agent, Browser and Interact are Cloud features, and LLM extraction needs your own OpenAI-compatible provider or Ollama.
The third is fit. Some teams only need HTML to Markdown conversion for a few thousand pages, and a library they import is simpler than a service with a queue, a database and workers to operate. Others need a full web crawler framework with fine control over scheduling and storage.
How we compared
We checked each project’s package registry page or official documentation on 4 December 2026 for the licence, the latest release and the documented features. We judged output quality for language models (clean Markdown or structured JSON), JavaScript rendering, crawl control, LLM extraction, and how much you have to build and operate yourself. We did not benchmark extraction quality, so we describe what each project documents.
Verdict
Best open source Firecrawl alternative overall: Crawl4AI.
Best for large, rule-based crawls: Scrapy.
Best crawling framework in JavaScript or Python: Crawlee.
Best for describing what to extract in plain language: ScrapeGraphAI.
Best for fast main-text extraction without a browser: Trafilatura.
Best if you want Firecrawl’s own API on your servers: self-hosted Firecrawl.
Best if you would rather not run a crawler at all: Exabase (managed, not open source).
At a glance
Project | Licence | Latest release checked | JavaScript rendering | Markdown for LLMs | Verdict |
|---|---|---|---|---|---|
Crawl4AI | Apache 2.0 | 0.9.6, 20 November 2026 | Yes | Yes | Best overall |
Scrapy | BSD-3-Clause | 2.20.0, 6 November 2026 | Through add-ons | Through your own pipeline | Best for large crawls |
Crawlee | Free and open source (by Apify) | Not checked | Yes, with Playwright | Through your own pipeline | Best crawling framework |
ScrapeGraphAI | MIT | 2.3.1, 6 October 2026 | Not stated | Structured output from an LLM | Best for plain-language extraction |
Trafilatura | Apache 2.0 (GPLv3+ before 1.8.0) | 2.4.0, 23 November 2026 | Not stated | Yes | Best for main-text extraction |
Firecrawl, self-hosted | AGPL-3.0; SDKs MIT | Not checked | Yes; advanced anti-bot needs Fire-engine | Yes | Best for Firecrawl’s API on your servers |
1. Crawl4AI: the best open source Firecrawl alternative
Best for clean Markdown and JSON from websites, on your own infrastructure
What it is. Crawl4AI is a Python crawler built for LLM-ready data. PyPI lists it under Apache 2.0, and the latest release is 0.9.6 from 20 November 2026.
Why it wins. It covers the same ground as Firecrawl’s core without the AGPL condition. It produces clean Markdown with headings, lists, tables and code blocks. It runs JavaScript, waits for elements and scrolls pages to load dynamic content. Its LLM extraction strategy converts a page into a typed JSON schema using any LLM provider, hosted or local. Deep crawling supports breadth-first, depth-first and best-first strategies, with a resume state for recovering long crawls. It also ships as a Docker image with a REST API protected by an API token, which makes it a direct swap for a self-hosted Firecrawl service.
Not ideal if. You need managed proxies and anti-bot handling. As our Crawl4AI review notes, proxy rotation, anti-bot detection and scaling fall to you unless you pay for its cloud service.
Moving from Firecrawl. Replace scrape calls with Crawl4AI’s crawl call or its Docker REST endpoint, map Firecrawl’s formats to Crawl4AI’s Markdown and extraction strategies, and move any JSON schemas you used for Firecrawl extraction into an LLM extraction strategy.
Compared with Exabase. Crawl4AI gives you control and no licence restrictions, at the cost of running browsers yourself. Exabase runs extraction for you and stores the result. See Exabase vs Crawl4AI and Crawl4AI alternatives.
2. Scrapy
Best for large, rule-based crawls
What it is. Scrapy is a long-established Python framework for crawling and scraping, under the BSD-3-Clause licence. The latest release is 2.20.0 from 6 November 2026.
Strengths. Scrapy is built for scale and control: spiders, request scheduling, throttling, item pipelines and export to many formats. You select data with CSS selectors or XPath, so results are predictable and cheap to produce once a spider is written. It respects robots.txt through a setting, and a large ecosystem of extensions covers most crawling needs.
Not ideal if. You want Markdown for a model without writing code. Scrapy does not render JavaScript on its own, so dynamic sites need a browser add-on, and turning pages into clean text for a model is a pipeline you build.
Moving from Firecrawl. Write one spider per site, or a generic spider with a text extractor such as Trafilatura in the pipeline.
Compared with Exabase. Scrapy suits teams who treat crawling as an engineering discipline. Exabase suits teams who only need the content of known pages.
3. Crawlee
Best crawling framework in JavaScript or Python
What it is. Crawlee is a web scraping and browser automation library for JavaScript and Python, maintained by Apify, which describes it as free and open source.
Strengths. Crawlee handles the parts of crawling that are tedious to build: request queues, retries, storage, and headless browser control through Playwright. Its documentation says it handles blocking, crawling, proxies and browsers for you. Scrapers can later run on Apify’s platform if you want hosting.
Not ideal if. You want Markdown for a model out of the box. Like Scrapy, Crawlee is a framework, so the conversion to model-ready text is yours to add.
Moving from Firecrawl. Port crawl logic to a Playwright crawler and add a Markdown conversion step in the request handler.
Compared with Exabase. Crawlee is the right tool when crawling is your product. See Firecrawl vs Apify and Exabase vs Apify for the hosted side.
4. ScrapeGraphAI
Best for describing what to extract in plain language
What it is. ScrapeGraphAI is a Python library, under the MIT licence, that uses language models and graph logic to build scraping pipelines. The latest release is 2.3.1 from 6 October 2026.
Strengths. You describe the information you want and the library extracts it. It offers pipelines for a single page, for the top search results, and for generating a Python scraping script, plus multi-page versions that run model calls in parallel. It works with hosted models and with local models through Ollama, which keeps data on your own hardware.
Not ideal if. You crawl at volume. Every page costs a model call, so cost and latency grow with page count, and output depends on the model you use.
Compared with Exabase. ScrapeGraphAI is good for targeted structured data extraction from a handful of sites. See Exabase vs ScrapeGraphAI.
5. Trafilatura
Best for fast main-text extraction without a browser
What it is. Trafilatura is a Python library for extracting the main text and metadata of web pages. It is under Apache 2.0 from version 1.8.0, after earlier versions under GPLv3+, and the latest release is 2.4.0 from 23 November 2026.
Strengths. It does one thing well: boilerplate removal, keeping the article and dropping headers, footers and navigation. It returns title, author, date and site name, and outputs plain text, Markdown, JSON, CSV, HTML and XML. It can also discover pages through sitemaps and feeds, with URL filtering and deduplication.
Not ideal if. Pages build their content with JavaScript. Its documentation does not describe rendering, so pair it with a browser for dynamic sites.
Compared with Exabase. Trafilatura is the lightest option for static articles. Exabase renders JavaScript before extraction.
6. Firecrawl, self-hosted
Best if you want Firecrawl’s own API on your servers
What it is. The open source Firecrawl stack under AGPL-3.0, run on your own infrastructure.
Strengths. If your code already calls Firecrawl’s scrape, crawl, map or search endpoints, self-hosting keeps the same API. The AGPL condition matters mainly if you modify Firecrawl and offer it to users over a network, so internal use may be fine for your organisation.
Not ideal if. You rely on Cloud features. Advanced anti-bot handling, screenshots, page actions, Agent, Browser and Interact are not in the default self-hosted stack, and your team owns authentication, persistence, monitoring, upgrades and recovery. See our Firecrawl review and Firecrawl pricing for the hosted comparison.
Where Exabase fits
Exabase is a managed API, not open source and not self-hostable. It fits when the reason for leaving Firecrawl Cloud is not cost or licence, but that scraping is only one step in a larger job.
Extract takes a URL and returns structured JSON with the page title, site name and content as text chunks, or the same result as Markdown with ?format=markdown. Pages are rendered with JavaScript before extraction, jobs run asynchronously, and results arrive by polling or by webhook with delivery logs. The same endpoint handles PDFs, images, audio and video, which most crawlers do not. The about extraction guide and the free website to Markdown and website to JSON tools show the output.
Saving a URL as a bookmark in a Base goes one step further: Exabase fetches the page, captures a reader-mode version, and indexes the content so an agent can search it later by meaning with Deep Search. A Worker can refresh or re-extract pages on a schedule. That suits a research agent that keeps a library of sources, rather than a one-off crawl.
Where open source is stronger. You cannot run Exabase on your own servers or inspect its code. If either is a requirement, choose Crawl4AI or another project above. Exabase does not crawl whole sites by following links either; it processes the URLs you give it.
Pricing. Free is $0 a month with 1 GB of storage and 200 credits; Scale is $149 a month or $1,490 a year. See pricing. Our Firecrawl alternatives page compares Exabase with hosted options in more depth.
How to choose
You want a permissively licensed replacement for Firecrawl’s core: choose Crawl4AI.
You run large, repeatable crawls with explicit rules: choose Scrapy.
You want a crawling framework with queues, storage and browsers handled: choose Crawlee.
You want to describe the data in plain language and accept a model call per page: choose ScrapeGraphAI.
You only need the article text from static pages: choose Trafilatura.
You want Firecrawl’s API and the AGPL licence is acceptable: self-host Firecrawl.
You would rather not run a crawler and need the content stored and searchable: use Exabase.
Running an open source crawler responsibly
Self-hosting moves the operational work to you. Headless browsers use a lot of memory, so cap concurrency and recycle browser processes. Set a descriptive user agent, honour robots.txt, and rate-limit per domain. Many sites block data centre addresses, and solving that with residential proxies or CAPTCHA services adds cost and legal questions. Our page on whether web scraping is legal covers the general position, though it is no substitute for advice on your case.
Plan the output format around the model. Clean Markdown with headings preserved makes chunking easier and keeps tables readable. Store the source URL and fetch time with every page so answers can cite sources and you can tell when content is stale. For many sites a published llms.txt file is a cheaper starting point than a crawl; our post asks whether every website should ship an llms.txt. For the difference between the two jobs, see web scraping vs web crawling.
Frequently asked questions
What is the best open source Firecrawl alternative?
Crawl4AI is the best open source Firecrawl alternative, because it turns websites into clean Markdown and JSON with JavaScript rendering, deep crawling and LLM extraction, under the permissive Apache 2.0 licence.
Is Firecrawl open source?
Yes. Firecrawl’s main repository is licensed under AGPL-3.0, and its SDKs and some UI components are under MIT. Some Cloud features, including advanced anti-bot handling, are not in the default self-hosted stack.
Why avoid AGPL software?
AGPL-3.0 requires that if you modify the software and offer it to users over a network, you make the modified source available to them. Some companies avoid it in commercial products as policy, so check with your own legal team.
Is Crawl4AI free for commercial use?
Crawl4AI is released under Apache 2.0, a permissive licence that allows commercial use, modification and distribution, provided you keep the licence and notices.
Does Crawl4AI render JavaScript?
Yes. Crawl4AI runs JavaScript, waits for elements and scrolls full pages so that content loaded dynamically is captured.
Is Scrapy good for LLM pipelines?
Scrapy is good for collecting pages at scale, but you add the step that turns HTML into clean text or Markdown, and a browser add-on for sites that need JavaScript.
Which open source scraper uses an LLM to extract data?
ScrapeGraphAI and Crawl4AI both do. ScrapeGraphAI builds pipelines from a plain-language description, and Crawl4AI has an LLM extraction strategy that fills a JSON schema, with local models supported through Ollama in ScrapeGraphAI.
Can I self-host Firecrawl?
Yes. The self-hosted stack includes the scrape, crawl, map and search APIs, but advanced anti-bot handling, screenshots, page actions and Agent features need extra services or Firecrawl Cloud.
What is the lightest way to get article text from a URL?
Trafilatura is the lightest option for static pages. It extracts the main text and metadata without a browser and outputs Markdown, JSON and other formats.
Is Exabase open source?
No. Exabase is a managed API and cannot be self-hosted. Its Extract API returns web pages as Markdown or JSON, with JavaScript rendering, for teams who do not want to run a crawler.
Do open source crawlers handle anti-bot protection?
Mostly not out of the box. Proxies, CAPTCHA handling and browser fingerprinting are usually your responsibility when you self-host, which is the main reason teams pay for a hosted service.
Related pages: Firecrawl alternatives, Crawl4AI review, Firecrawl vs Crawl4AI, Exabase vs Firecrawl, best web scraping API, best HTML to Markdown API, best web search API for AI agents, Extract, web scraping
Compare similar apps and tools:

6 best open source Firecrawl alternatives in 2026

AWS vs Google vs Azure agent memory compared (2026)

6 best web search APIs for AI agents in 2026

7 best vector databases for multi-tenant apps in 2026

5 best reverse image search APIs in 2026

6 best digital asset management APIs in 2026

6 best handwriting OCR APIs and tools in 2026

5 best receipt OCR APIs in 2026

6 best open source document parsers in 2026

6 best embedding models in 2026

6 best durable execution platforms for AI agents in 2026

7 best AI agent sandboxes in 2026

7 best file systems for AI agents in 2026

6 best knowledge graphs for AI agents in 2026

7 best AI context platforms in 2026

7 best RAG as a service platforms in 2026

6 best MCP memory servers in 2026

7 best reranking models in 2026

9 best file storage options for AI agents in 2026

5 best HTML to markdown APIs in 2026

7 best AI agent frameworks in 2026

6 best open source agent memory projects in 2026

6 best multimodal search APIs in 2026

7 best semantic search APIs in 2026

6 best company enrichment APIs in 2026

Best logo APIs in 2026 (after Clearbit)

5 best screenshot APIs in 2026

7 best link preview APIs in 2026

5 best resume parser APIs in 2026

8 best invoice extraction APIs in 2026

7 best video understanding APIs in 2026

7 best speech to text APIs in 2026

8 best PDF parsers for LLMs in 2026

7 best OCR APIs in 2026

7 best vector databases in 2026

8 best AI agent infrastructure tools in 2026

9 best RAG infrastructure platforms in 2026

9 best PDF extraction APIs in 2026

9 best web scraping APIs in 2026

9 best document extraction APIs in 2026