Features
Multi-Format Support
One unified API for PDF, DOCX, XLSX, PPTX, HTML, and EPUB documents.
Text & Table Extraction
Extract text, lines, spans, and structured tables with positions and font info.
Format Conversion
Convert between formats seamlessly — PDF to DOCX, XLSX to PDF, HTML to EPUB, and more.
Pipeline Engine
Define multi-step document workflows in YAML — extract, transform, convert, and export.
MCP Server (AI-native)
Expose document operations as tools for AI agents via the Model Context Protocol.
CLI Tool
Full-featured command-line interface for scripting and automation.
Native Async
True async support powered by Rust and tokio — no Python thread pools.
WASM Playground
Try paperjam directly in your browser — no installation needed.
Security & Compliance
Encryption, redaction, digital signatures, PDF/A validation, and PDF/UA accessibility.
Supported Formats
Quick Example
import paperjam
# Open any document format
doc = paperjam.open("report.pdf")
docx = paperjam.open("document.docx")
xlsx = paperjam.open("data.xlsx")
# Extract text from any format
text = doc.pages[0].extract_text()
# Extract tables
tables = xlsx.pages[0].extract_tables()
# Convert between formats
paperjam.convert("report.pdf", "report.docx")
paperjam.convert("data.xlsx", "data.pdf")
# Async support
doc = await paperjam.aopen("report.pdf")
md = await doc.ato_markdown()