pdf_oxide

The fastest PDF library for Python and Rust. Text extraction, image extraction, markdown conversion, PDF creation & editing. 0.8ms mean, 5× faster than industry

What is pdf_oxide?

The fastest PDF library for Python and Rust. Text extraction, image extraction, markdown conversion, PDF creation & editing. 0.8ms mean, 5× faster than industry leaders, 100% pass rate on 3,830 PDFs. MIT/Apache-2.0.

Overview of pdf_oxide

What it is

PDFOxide is a PDF toolkit with a Rust core and bindings for 20 languages including Python, Rust, Go, JavaScript/TypeScript, C#/.NET, Java, Kotlin, Scala, Clojure, Ruby, PHP, C++, Objective-C, Swift, Dart, R, Julia, Zig, Elixir, and WASM. It also provides a CLI tool and an MCP server for AI assistants. The library supports text extraction, image extraction, markdown conversion, PDF creation, and editing.

Key features

  • Text extraction, image extraction, markdown conversion, PDF creation, and editing in one library
  • 0.8ms mean per document, 5× faster than PyMuPDF, 15× faster than pypdf, 29× faster than pdfplumber (benchmarked on 3,830 PDFs)
  • 100% pass rate on 3,830 real-world PDFs (veraPDF, Mozilla pdf.js, DARPA SafeDocs)
  • 99.5% text parity vs PyMuPDF and pypdfium2 across the full corpus
  • Supports 20 languages via idiomatic bindings, plus CLI and MCP server
  • MIT / Apache-2.0 licensed

Use cases

  • Extracting text and images from PDFs in Python, Rust, or other supported languages
  • Converting PDF pages to Markdown or HTML
  • Creating and editing PDF documents, including form filling and annotation management
  • Using the CLI for batch processing, searching, and merging PDFs
  • Integrating with AI assistants via the MCP server

Getting started

bashpip install pdf_oxide``````bashbrew install yfedoseev/tap/pdf-oxide

License and pricing

MIT / Apache-2.0. Open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/yfedoseevpdf-oxide.svg)](https://yunodb.com/tools/yfedoseevpdf-oxide?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/yfedoseevpdf-oxide?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/yfedoseevpdf-oxide.svg" alt="Featured on YunoDB" height="20"></a>