Latest release · v1.4.1

The web & document layer
for AI agents

Any URL, document, email, archive or source file in — clean Markdown or structured JSON out. One self-hosted Rust binary with a CLI, Firecrawl & Jina Reader APIs, an MCP server, and packages for Python, Node.js, Go, Java, C#, Ruby, PHP and more.

★ 250+ stars on GitHub
2.4 ms
PDF → Markdown, per page
20.49× faster than pypdf (50.0 ms)
0.24 ms
HTML → Markdown, per page
8.12× faster than Turndown (1.9 ms)
1.0 ms
Main-content extraction, per page
7.26× faster than crw (7.4 ms)
91.7/s
Office & e-book files parsed
3.40× faster than xberg (27.0/s)
Benchmarks

Measured, not promised

Strongest result per domain from the published 1.1 benchmark report — the same numbers as the project README, with methods and sources in the full report.

Latency per page — lower is better

Single thread · milliseconds per page
PDF → Markdown2.4 vs 50.0 ms20.49×
PageSiftpypdf
HTML → Markdown0.24 vs 1.9 ms8.12×
PageSift · F1 fidelity 1.000Turndown
Main-content extraction1.0 vs 7.4 ms7.26×
PageSift · p50, Firecrawl 597 pagescrw
Publication-date search0.31 vs 2.0 ms6.45×
PageSifthtmldate (fast)

Throughput — higher is better

Files per second · single worker unless noted
PDF → Markdown (resident server)176.5 vs 100.6 files/s1.75×
pdf_oxidePageSift
Office & e-books91.7 vs 27.0 files/s3.40×
xbergPageSift · structure kept 0.988

Peak memory per worker — lower is better

Megabytes, from the same benchmark report
PDF processing32 vs 3,675 MB113.1× less
PageSiftDocling (CPU)
HTML main content20 vs 1,200 MB60.8× less
PageSiftReadability + Turndown
Crawl, 200 sites × 100 pages218 vs 5,500 MB25.2× less
PageSiftspider

Benchmarks measured for PageSift 1.1; xberg 1.3.9 measured 2026-11-04. Full methods: docs/benchmarks.md · Wild-crawl coverage 0.740 vs Crawl4AI 0.529 (polite, 40 sites × 60 pages).

Architecture

One pipeline, every input

The request pipeline from the architecture docs: entry points feed one engine, policy and network guards run before any fetch, a render decision picks the cheapest path that adds content, and every source lands in the same outputs.

Inputs URLs · local files CLI · HTTP API MCP · SDKs · C ABI Engine pagesift-engine Policy robots · rate limits identity leases Fetch HTTP · SSRF guards validated tunnels Plan render only when it pays HTML · arena DOM PDF · own reader Office · e-books · email OCR · scans & formulas Syntax · 373 languages Content & Extract main content · metadata selectors · chunking Outputs Markdown · JSON · links · WARC pagesift-store cache · selector memory · records pagesift-itna · opt-in, off by default barrier recovery · one bounded browser fallback Own code down to the format: zero-copy HTML5 parser, PDF layer, Office readers, neural inference and a Chrome DevTools client — no Python, JVM or Node runtime behind it.
Inputs URLs · files · CLI · API · MCP · SDKs Engine pagesift-engine Policy robots · rate limits · identity leases Fetch HTTP · SSRF guards · validated tunnels Plan render only when it pays PARSERS HTML · arena DOM PDF · own reader Office · e-books · email OCR · scans & formulas Syntax · 373 languages Content & Extract main content · metadata · selectors · chunking Outputs Markdown · JSON · links · WARC pagesift-store cache · selector memory · records pagesift-itna · opt-in barrier recovery · one bounded browser fallback Own Rust code down to the format — no Python, JVM or Node runtime behind it.
Capabilities

What it can do

Six verbs cover the API surface — the same operations in the CLI, the HTTP APIs and the MCP tools.

scrape · Clean content

Main-content detection and Markdown that keeps headings, lists, tables, code and math. Renders JavaScript only when that adds content.

crawl · Whole sites

Sitemaps, query-focused crawls that stop when pages stop helping, trap handling, robots.txt and per-host limits. WARC output on every crawl.

map · Site maps

Discover the URLs of a site before you spend budget fetching them, then feed the list into crawl, batch or extract.

batch · Many URLs, one job

Batch scraping with job persistence, durable webhooks and per-owner isolation. Poll or cancel jobs from the API or MCP.

monitor · Change monitoring

Scheduled checks that separate real changes from dates, counters and ads, with webhooks when something actually moved.

agent · Research runs

POST /v2/agent answers a question from the web with your own model — and checks each field of the answer against the page it came from.

Documents & OCR

Own Rust readers for PDF, Office, e-books, email, archives and databases — including damaged files and CJK fonts. Scanned pages go through PP-OCRv6, display formulas through PP-FormulaNet, on CPU or NVIDIA GPU.

Structured extraction

JSON by CSS selectors that are relocated when a site changes, or by a schema your model writes once and PageSift caches. Browser actions — clicks, typing, scrolling, kept sessions — when a page needs them.

Safety & honest results

Private-network and DNS-rebinding guards. A partial page, a truncated file or a skipped scan returns a warning code instead of looking complete.

New in 1.4 · DataGraph

Scraping that keeps the receipts

A normal scraper returns text and forgets everything else. The new pagesift-graph crate remembers where every claim came from — and what it contradicts.

  • Citations. Every fetch becomes a node; links between documents become citations.
  • Provenance. Redirect chains, canonical alias clusters, attachments and their parent documents are recorded as edges.
  • Version lineage. Refetch the same resource and its history grows instead of being overwritten.
  • Evidence spans. Extracted fields carry byte offsets into the source document, so any claim points back at the exact text it came from.
  • Facts & conflicts. Claims about the same entity are clustered into facts across sources; when sources disagree you get a conflict record — both variants, both excerpts, and a preferred variant with its reason.

Ask the graph

Two pages price the same product differently? That stops being a silent data-quality bug and becomes a queryable fact:

{
  "subject": "sku:W1",
  "fieldPath": "/json-ld/0/offers/price",
  "kind": "temporalStaleness",
  "variants": [10, 12],
  "preferred": 12
}
scrape --graph/v2/graph/history /v2/graph/conflictspagesift_graph_query Python & Node SDKs
Inputs

Almost anything goes in

One call handles the whole pile — no separate converters to wire up.

Web pages

URLs & HTML, rendered only when it adds content

PDF

Including scanned pages, via OCR

Office

Word, Excel, PowerPoint — current & legacy — plus OpenDocument, RTF, HWP

E-books

EPUB, MOBI, FB2

Email

.eml, .mbox, .msg — attachments recurse

Archives

zip, tar, gz, bz2, xz, 7z — and WARC in & out

Data files

CSV, SQLite, dBASE, Markdown & text formats

Source code

373 source-code & config languages, split by function & class

Interfaces

Drop-in compatible, everywhere

Already have Firecrawl or Jina Reader code? Change the API URL and keep going. Building an agent? The MCP server speaks the same operations.

HTTP APIs

Firecrawl v1/v2 and Jina Reader (/r/ and /s/) endpoints on the same self-hosted binary — plus a file-upload API for local documents.

# Firecrawl API
curl localhost:3002/v2/scrape \
  -H 'Authorization: Bearer sk-test' \
  -d '{"url":"https://example.com","formats":["markdown"]}'

# Jina Reader
curl localhost:3002/r/https://example.com
Firecrawl v1/v2Jina Reader Upload APIMulti-server gateway

MCP server — stdio or HTTP

Eleven tools for agents: the nine everyday operations — now including DataGraph queries — plus the agent pair when a model is configured. Attach with one command:

claude mcp add pagesift -- pagesift mcp
pagesift_scrapepagesift_batch_scrape pagesift_crawlpagesift_poll_job pagesift_cancel_jobpagesift_map pagesift_interactpagesift_interact_stop pagesift_graph_query pagesift_agentpagesift_agent_status

Packages & bindings

Native packages for the big three, a Rust crate, and a C ABI that carries the engine into a dozen more languages. LangChain and LlamaIndex integrations included.

PythonNode.js / TypeScriptRust GoJavaKotlinC# RubyPHPLuaPerl DartSwiftZig LangChainLlamaIndex

Platforms & runtime

Linux x86_64 / aarch64 (glibc ≥ 2.28 and musl), macOS arm64, Windows x86_64, and a Docker image. Nothing to install for HTTP, PDF and Office; a browser for JavaScript pages, an NVIDIA GPU for OCR and your own model for /v2/agent are found at run time.

18–377 MB per workerone worker per core cgroup-sized capacitymetrics & audit log
For agents & tooling

Built to be found — and driven — by agents

If you are an AI agent or a tool indexer: this page ships machine-readable summaries at /llms.txt and /llms-full.txt, and the product itself is an MCP server your agent can call today.

MCP server — start it, attach, call tools

Run it for one agent over stdio, or as one shared local service that every agent on the machine attaches to:

pagesift mcp                    # stdio, for one agent
pagesift mcp http --port 3003   # shared local service

# attach from Claude Code
claude mcp add pagesift -- pagesift mcp
claude mcp add --scope user --transport http \
  pagesift http://127.0.0.1:3003/mcp
  • pagesift_scrapeone URL or file → clean Markdown or structured JSON
  • pagesift_crawlcrawl a whole site as a job
  • pagesift_mapdiscover a site's URLs before fetching
  • pagesift_batch_scrapemany URLs, one persistent job
  • pagesift_poll_jobpoll a crawl or batch job for status & results
  • pagesift_cancel_jobcancel a running job
  • pagesift_interactdrive a kept browser session — click, type, scroll
  • pagesift_interact_stopend a browser session
  • pagesift_graph_queryquery the DataGraph — citations, version history and conflicts for a URL

With a model configured, two more appear: pagesift_agent and pagesift_agent_status — research runs that answer a question from the web and check each field against its source page.

Drop-in HTTP compatibility

Existing Firecrawl v1/v2 code works by changing the API URL; Jina Reader paths /r/ and /s/ are served by the same binary. No per-page fees, no data leaving your machine.

curl localhost:3002/v2/scrape \
  -H 'Authorization: Bearer sk-test' \
  -d '{"url":"https://example.com","formats":["markdown"]}'
curl localhost:3002/r/https://example.com

Machine-readable docs

Hosted API — in preparation

A hosted PageSift API is in preparation and the api.pagesift.tech endpoint is reserved for it, but it is not live yet. Today PageSift is self-hosted: the Firecrawl and Jina Reader APIs above run on your own machine — see the install options below.

Articles

From the author's notebook

Release posts and engineering deep dives on dev.to, Zenn and Qiita — the design reasoning that does not fit in release notes.

dev.to · Release

One Engine, Seven Open-Source Projects: PageSift 1.4 and the yolow Family

The 1.4 release post: the modular split completes, DataGraph lands, and the six yolow libraries start their own lives.

dev.to · Release

PageSift 1.2: ITNA, an access-barrier recovery engine — plus the 1.1 roundup

The 1.2 release post: itna barrier recovery, and the 1.1 catch-up that never got its own post.

Zenn · Deep dive

壁にぶつかったら、まず分類する —— PageSift 1.2 のアクセス障壁リカバリ「itna」の設計

How itna classifies a barrier before it spends a browser attempt — the design behind 1.2.

Zenn · Release

PageSift 1.2:アクセス障壁リカバリ「ITNA」と、1.1 のまとめ

The 1.2 release post in Japanese, with the 1.1 series rounded up.

Qiita · Release

PageSift 1.2:アクセス障壁リカバリ「ITNA」と、1.1 のまとめ

The 1.2 release post in Japanese, on Qiita.

dev.to · Release

PageSift 1.0: the Rust web content engine is feature-complete

The 1.0 release post: feature completion — OCR, selector memory, monitoring and the agent API.

Under the hood · The yolow family

One engine, seven open-source projects

Across 1.2.7 and 1.4, every generally useful part of the engine was cut out into its own repository — independent versioning, an MIT license, usable without PageSift. The engine is their composition; PageSift itself is Apache-2.0.

yolow64 0.3.0

Base64 at ~20 GB/s. Runtime-dispatched SIMD (AVX2/NEON), zero runtime dependencies — and short payloads, the common case in pipelines, got 1.5–2.8× faster in 0.3.

GitHub · crates.io

yolowpdf 0.1.2

PDF to Markdown with no C libraries — it parses the format itself, no Poppler, no MuPDF. GPU OCR (PP-OCRv6) in the workspace; 1,900 pages/s on born-digital documents.

GitHub · crates.io

yolowhtml 0.1.0

Zero-copy arena HTML5 parsing and single-pass content extraction: Markdown, metadata and dates from one parse. 1.000 structural F1 on its test corpus; forbid(unsafe_code).

GitHub · crates.io

yolowzstd 0.1.2

Pure-Rust Zstandard (RFC 8878), zero dependencies. Built for small records: on 64-byte payloads it decodes at 3,257 MB/s — 1.6× C libzstd.

GitHub · crates.io

yolowsyntax 0.1.2

tree-sitter without the C: a pure-Rust runtime with 41 languages' parse tables converted and embedded, extracting code outlines for 32 of them. No C FFI.

GitHub · crates.io

yolowdoc 0.1.1

Every document format behind one convert() call — Office, OpenDocument, e-books, email, archives, SQLite and more — with a Limits budget checked before work starts.

GitHub · crates.io

The dependency lattice is small: PageSift depends on all six libraries; yolowsyntax on yolowzstd; yolowdoc on both; yolowpdf on yolow64. The rules are shared — pure Rust, no C dependencies, unsafe forbidden in the libraries, and resource budgets enforced before allocation, because every one of these parsers eats untrusted input for a living.

Install

Running in a minute

Pick your surface — they all run the same engine.

SurfaceInstallFirst call
CLIcargo install pagesift --lockedpagesift scrape https://example.com
Pythonpip install pagesiftpagesift.scrape("https://example.com").markdown
Node.jsnpm install @pagesift/node(await new Scraper().scrape("https://example.com")).markdown
Serverdocker run -p 3002:3002 ghcr.io/yolow92/pagesift:1.4.1curl localhost:3002/r/https://example.com
MCP—claude mcp add pagesift -- pagesift mcp
Spotlight · itna

Access-barrier recovery, opt-in

  • Off by default. Enable with [itna] enabled — nothing changes until you ask.
  • Classified, then bounded. Barriers are classified first; a blocked or challenged page gets at most one browser fallback, sharing one network budget across redirects and sub-requests.
  • Never escalates the wrong cases. Rate limits (429) and login walls never trigger the browser path.
  • Isolated sessions. Sessions are leased per owner, origin, egress and fingerprint; HTTP cookies reach the browser only through an exact-origin handoff.
  • Humans stay in the loop. Interactive CAPTCHAs are reported as needing a human — never solved.
Changelog

What's new in 1.4

  • DataGraph — citations, provenance, version lineage, field-level evidence and cross-source conflicts, on the CLI, the HTTP API, MCP and both SDKs.
  • The split, completed — documents, syntax and compression became yolowdoc, yolowsyntax and yolowzstd; the engine is now seven independently versioned projects.
  • Apache-2.0 — since 1.3 the whole workspace is Apache-2.0 (it was AGPL-3.0); commercial support continues under COMMERCIAL.md.
  • 1.4.1 hardening — per-tenant isolation for the graph and change tracking, canonical trust checks, and proxy SSRF guards.

All releases → · CHANGELOG

Good fit — and when to pick something else

Feeding pages and documents to an LLM, a RAG index or an agent; self-hosting a Firecrawl-style service with no per-page fees; mixed input on small machines. Pick something else for standalone image files or a managed cloud service.

Licensing & contact

Open source, commercially licensable

Free to use, embed and self-host under Apache-2.0 — with commercial support, and a human to write to, when you need it.

Apache-2.0 — free

Use, modify, embed and self-host PageSift under the Apache License 2.0 — including in commercial and proprietary products. The full source is on GitHub, and self-hosting carries no per-page fees.

Read the license →

Commercial support

Priority support, custom terms and commercial arrangements are available for teams running PageSift in production. Write to the maintainer directly:

Contact for support

Commercial terms →