MuPDF is developed by Artifex Software, whose packages include PyMuPDF (Python) and MuPDF.js (JavaScript). PDFluent takes a one-core approach: the core is written in Rust and serves all six official bindings: Rust, Python, Node.js, .NET, Java, and WebAssembly. For MuPDF's own scope, check Artifex's documentation.
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(())
}#include <mupdf/fitz.h>
int main(void) {
fz_context *ctx = fz_new_context(NULL, NULL, FZ_STORE_UNLIMITED);
fz_register_document_handlers(ctx);
fz_document *doc = fz_open_document(ctx, "invoice.pdf");
int n = fz_count_pages(ctx, doc);
for (int i = 0; i < n; i++) {
fz_stext_page *text = fz_new_stext_page_from_page_number(ctx, doc, i, NULL);
fz_print_stext_page_as_text(ctx, fz_stdout(ctx), text);
}
return 0;
}| Feature | PDFluent | MuPDF |
|---|---|---|
| License model | AGPL v3 or commercial | MuPDF.js: AGPL-3.0-or-later; PyMuPDF: GNU AGPL 3.0 or Artifex Commercial License (registry metadata, read 13 November 2026). For MuPDF Core, check Artifex's licensing page |
| Core engine language | Rust | C |
| Official Rust bindings | Not assessed here | |
| Official Python bindings | PyMuPDF (Artifex package on PyPI) | |
| Official Node.js bindings | MuPDF.js (Artifex package on npm) | |
| Official .NET bindings | Not assessed here | |
| Official Java bindings | Not assessed here | |
| WebAssembly (runs in the browser) | MuPDF.js on npm; check its documentation for browser use | |
| One core, one set of bindings from the same vendor | Yes: one Rust core, six bindings, same team | Not assessed here |
| PDF parsing & text extraction | Not assessed here | |
| PDF rendering to image | Yes, to PNG/JPEG in the native bindings | Not assessed here |
| PDF creation & editing | Editing, for example image placement and replacement, redaction and form filling | Not assessed here |
| Merge / split PDFs | Yes, in the PDFluent editor | Not assessed here |
| Redaction | Yes: removes the redacted content from the file instead of covering it | Not assessed here |
| Annotations / markup | Yes, in the PDFluent editor | Not assessed here |
| Digital signatures | PAdES B-B, B-T and B-LT | Not assessed here |
| XFA forms (dynamic reflow, FormCalc) | Fills XFA forms (read fields, set values, save) and flattens them to a regular PDF | Check Artifex's documentation |
| PDF/A validation & conversion | Validation for PDF/A-1, A-2 and A-3; conversion is a Preview feature | Not assessed here |
| OCR engine | 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 |
| Published, self-service pricing | Yes, prices published (as of 7 September 2026) | Check Artifex for commercial terms and prices |
Choose PDFluent if you want one Rust core behind every language you use, XFA form filling or PDF/A validation in the same SDK, or a single vendor maintaining every binding from one core.
Choose MuPDF if you're already standardized on Artifex's product family or specifically need one of its packages as-is; check Artifex's documentation for what each covers.
MuPDF and PDFluent differ in structure rather than in price. If you are already committed to Artifex's product family (MuPDF with PyMuPDF or MuPDF.js), check Artifex's documentation for what it covers. PDFluent's bet is different: one Rust core with six official bindings built and maintained by the same team, plus XFA form filling and PDF/A validation in the same SDK.
Free under the AGPLv3, or a commercial licence if you would rather not publish your own source.
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.