PyMuPDF (the `fitz` module) is dual-licensed under the GNU AGPL 3.0 or the Artifex Commercial License; for its bindings and features, check its documentation. PDFluent is a native Rust PDF engine with official bindings for Rust, Python, Node.js, .NET, Java, and WebAssembly. SDK 1.3.0 includes a compat layer, a Preview feature, that follows part of the PyMuPDF API; coverage is partial and behaviour can differ in places; PDFluent is an independent implementation, not PyMuPDF. PyMuPDF and MuPDF are trademarks of Artifex Software, Inc. PDFluent is an independent product of Innovation Trigger B.V. and is not affiliated with or endorsed by Artifex.
use pdfluent::PdfDocument;
fn main() -> pdfluent::Result<()> {
let doc = PdfDocument::open("invoice.pdf")?;
for i in 0..doc.page_count() {
let text = doc.page(i)?.text()?;
println!("--- Page {} ---\n{}", i + 1, text);
}
Ok(())
}import fitz # PyMuPDF
doc = fitz.open("invoice.pdf")
for page in doc:
text = page.get_text()
print(text)
doc.close()| Feature | PDFluent | PyMuPDF |
|---|---|---|
| License model | AGPL v3 or commercial | GNU AGPL 3.0 or Artifex Commercial License (PyPI metadata, read 13 November 2026) |
| Core engine language | Rust | Python package on PyPI; check its documentation for the engine |
| Python bindings | ||
| Node.js bindings | Not assessed here | |
| .NET bindings | Not assessed here | |
| Java bindings | Not assessed here | |
| WebAssembly (runs in the browser) | Not assessed here | |
| PyMuPDF API compat layer | Preview in SDK 1.3.0; behaviour can differ in places. | N/A (the API the compat layer follows) |
| PDF parsing & text extraction | Not assessed here | |
| PDF rendering to image | Yes, to PNG/JPEG in the native bindings | Not assessed here |
| PDF writing & editing | Editing, for example image placement and replacement, redaction and form filling | Not assessed here |
| XFA forms (dynamic reflow, FormCalc) | Fills XFA forms (read fields, set values, save) and flattens them to a regular PDF | Not assessed here |
| PDF/A validation & conversion | Validation for PDF/A-1, A-2 and A-3; conversion is a Preview feature | Not assessed here |
| Digital signatures (PAdES) | PAdES B-B, B-T and B-LT | Not assessed here |
| OCR | OCR through Tesseract, run as a separate process; in SDK 1.3.0 the auto extraction tier runs it on pages with no text layer. | Not assessed here |
| Markdown / LLM-ready extraction | Preview: extract_markdown() / extract_blocks() (1.1.0) | Separate package: pymupdf4llm (see our pymupdf4llm comparison) |
| Published pricing | Yes, prices published (as of 7 September 2026) | Artifex Commercial License; check Artifex for terms and prices |
Choose PDFluent if you need the same PDF engine across more than Python (Rust, Node.js, .NET, Java, or the browser via WASM), or if you want PDF/A validation, XFA form filling, and digital signatures in one SDK.
Choose PyMuPDF if your stack is Python-only and you want the library whose API PDFluent's compat layer follows in part; check its documentation for its features.
PyMuPDF and PDFluent both offer an AGPL route and a commercial route, so this isn't a free-vs-paid comparison. It's a question of reach and surface area. If your stack is Python-only, check PyMuPDF's documentation for its bindings and features. If you need the same PDF engine across Rust, Python, Node.js, .NET, Java, and the browser via WASM, or PDF/A validation, XFA form filling, and PAdES signing from one SDK, PDFluent covers that from one core. SDK 1.3.0 includes a compat layer, a Preview feature, that follows part of the PyMuPDF API; coverage is partial and behaviour can differ in places. It is an independent implementation, not PyMuPDF. PyMuPDF and MuPDF are trademarks of Artifex Software, Inc. PDFluent is an independent product of Innovation Trigger B.V. and is not affiliated with or endorsed by Artifex.
Free under the AGPLv3, or a commercial licence if you would rather not publish your own source.
Trademark and independence notice. PyMuPDF and MuPDF are trademarks or registered trademarks of Artifex Software, Inc. PDFluent is developed by Innovation Trigger B.V. and is not affiliated with, endorsed by, sponsored by or otherwise connected to Artifex Software, Inc. References to PyMuPDF are made solely to describe the compatibility of the PDFluent Python API with code written for PyMuPDF. PDFluent is an independent implementation: it does not contain source code, documentation or other material from PyMuPDF or MuPDF.