---
title: "Deploy Crawl4AI"
description: "Open-source web crawler API that turns pages into LLM-ready markdown"
category: "AI/ML"
url: https://railway.com/deploy/crawl4ai-2
---

# Deploy Crawl4AI

Open-source web crawler API that turns pages into LLM-ready markdown

**[Deploy Crawl4AI on Railway](https://railway.com/template/crawl4ai-2)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/crawl4ai-2/manifest.json

- **Creator:** zer0person's Projects
- **Category:** AI/ML
- **Total deploys:** 1

## Template content

### Crawl4AI

- **Image:** unclecode/crawl4ai:latest
- **Public domain:** Yes

## Documentation

# Deploy and Host Crawl4AI on Railway

[Crawl4AI](https://github.com/unclecode/crawl4ai) is an open-source web crawler and scraper that turns web pages into clean markdown and structured data for LLMs and RAG pipelines.

## About Hosting Crawl4AI

This template runs the official `unclecode/crawl4ai:latest` image, which bundles a headless browser, Redis and the HTTP API on port 11235. A random `CRAWL4AI_API_TOKEN` is generated for you; the server only accepts connections when a token is set. Find it in the service's Variables tab and send it as `Authorization: Bearer `. The `/playground` page offers a UI for trying requests, and `/health` reports status. The image is large, so the first deploy can take a few minutes, and the browser needs at least 2 GB of RAM.

## Common Use Cases

- Crawl pages to markdown for RAG and AI agents
- Extract structured data with CSS, XPath or LLM strategies
- Take screenshots and PDFs of pages through an API

## Dependencies for Crawl4AI Hosting

- One service; Redis and the browser run inside the same container

### Deployment Dependencies

- [Crawl4AI on GitHub](https://github.com/unclecode/crawl4ai)
- [Docker image](https://hub.docker.com/r/unclecode/crawl4ai)

## Why Deploy Crawl4AI on Railway?

Railway gives you a public HTTPS URL, generated secrets and automatic restarts with no server to maintain.


## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Möbius v0.1 Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.
- [stella](https://railway.com/deploy/stella) — Self-host stella with web, API, Postgres, Redis, and object storage.

Open this page in a browser: https://railway.com/deploy/crawl4ai-2
