skillfed

pdf-oxide

The fastest Python PDF library — 0.8ms mean, 5× faster than the industry leaders, 100% pass rate on 3,830 real-world PDFs. Text extraction, Markdown/HTML conversion, PDF creation and editing.

pdf-oxide v0.3.77 160.8K downloads/30d#10,652 on PyPI955
Permissive license MIT OR Apache-2.0 Active released

What it is and what it does

pdf-oxide is a Python binding to a Rust-based PDF toolkit that handles text extraction, image extraction, markdown and HTML conversion, form field manipulation, and PDF creation. It ships as precompiled wheels for common platforms (Linux, macOS, Windows on x86_64 and ARM) with no system dependencies or build step required. The library exposes a page-based API where extraction is lazy—properties like `page.text` and `page.markdown()` compute results only when accessed.

The package targets developers building document pipelines, RAG systems, or LLM integrations who need reliable PDF parsing without the overhead of heavier alternatives. It supports Python 3.9 through 3.14, has zero runtime dependencies, and is licensed under MIT or Apache-2.0, making it suitable for commercial and closed-source projects. The fact sheet indicates active maintenance (latest release 17 days old, 955 GitHub stars) and no known security vulnerabilities.

Use it for:

  • Extract text from PDFs for indexing into a vector database or RAG pipeline.
  • Convert PDF documents to Markdown for processing by language models.
  • Batch extract images from scanned documents or reports.
  • Fill PDF form fields programmatically and save the result.
  • Search for keywords across a PDF and retrieve their page and bounding-box locations.
  • Generate PDFs from Markdown, HTML, or images as part of a document generation workflow.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Extracts text, images, and metadata from PDFs and converts them to Markdown or HTML, powered by a Rust core compiled to native wheels with no system dependencies.

Yes, if you need fast, reliable PDF text or image extraction without licensing restrictions. The permissive dual license, zero runtime dependencies, and precompiled wheels make it a low-friction alternative to AGPL-licensed competitors. Active maintenance and no known vulnerabilities support stability. Install friction is medium but manageable; the main constraint is Python 3.9+. Suitable for production use in commercial and closed-source projects.

Install

pdf-oxide on PyPI

pip

pip install pdf-oxide

uv

uv add pdf-oxide

poetry

poetry add pdf-oxide

Installing pdf-oxide

Before you install

Medium friction: precompiled wheels for Linux, macOS, and Windows (x86_64, aarch64, arm64) mean no build step or Rust toolchain required. Requires Python 3.9+. Active maintenance with latest release 17 days old.

License in practice

Dual MIT / Apache-2.0 license permits unrestricted commercial and closed-source use, unlike some competing PDF libraries. No copyleft obligations.

Quickstart

pip install pdf_oxide

from pdf_oxide import PdfDocument

with PdfDocument("paper.pdf") as doc:
    print(len(doc))  # page count
    for page in doc:
        text = page.text
        md = page.markdown(detect_headings=True)

Requires Python 3.9 or later.

Verify before relying

  • Whether the 0.8ms mean and 100% pass rate claims are independently verified or from the maintainer's own benchmark.
  • Whether image extraction returns raw bytes or requires additional dependencies to save to disk.
  • Whether form field editing and PDF creation are fully stable or still experimental in this version.

Package facts

License MIT OR Apache-2.0 (permissive)
Python support supports the current Python release (>=3.9)
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance actively maintained — 17 days since the last release
Last repo commit
First released
Downloads 160,772/month — #10,652 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pdf_oxide-0.3.77-cp38-abi3-macosx_10_12_x86_64.whl; pdf_oxide-0.3.77-cp38-abi3-macosx_11_0_arm64.whl; pdf_oxide-0.3.77-cp38-abi3-manylinux_2_28_aarch64.whl; pdf_oxide-0.3.77-cp38-abi3-manylinux_2_28_x86_64.whl; pdf_oxide-0.3.77-cp38-abi3-musllinux_1_2_aarch64.whl; pdf_oxide-0.3.77-cp38-abi3-musllinux_1_2_x86_64.whl; pdf_oxide-0.3.77-cp38-abi3-win_amd64.whl; pdf_oxide-0.3.77-cp38-abi3-win_arm64.whl

Keywords: pdf, text-extraction, pdf-parser, pymupdf-alternative, rag, llm, ocr, markdown, document-parser, pdf-to-text, pdf-to-markdown, data-extraction

Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: RustTopic :: Scientific/Engineering :: Information AnalysisTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text ProcessingTopic :: Text Processing :: GeneralTopic :: Text Processing :: Markup :: HTMLTopic :: Text Processing :: Markup :: Markdown

Tags

pdf text extraction pythonpdf to markdown conversionfast pdf parsing librarypdf image extractionpdf document processingpymupdf alternativepdf form field extractionpdf search and indexing
pdf-extractiondocument-processingrust-binding

More Python Modules packages