# pypdfium2

Python bindings to PDFium for PDF rendering, inspection and manipulation\.

ID: Q610 · Revision: 658

Type: software · License: Apache\-2\.0 / BSD\-3\-Clause; PDFium and bundled dependencies retain separate licenses[^intro] · Status: active

Website: https://pypdfium2.readthedocs.io/en/stable/



pypdfium2 provides Python bindings to PDFium, with helper classes and access to its underlying C API\. It supports rendering, inspection, manipulation and creation of PDFs\. Its packaged native engine makes it a different deployment choice from a pure\-Python PDF parser\.[^intro]

## Capabilities and substitutions

### PDF rendering — supported

Helpers expose PDFium page rendering and bitmap output\.[^intro]

Use case: Render PDF pages and inspect text or page objects from Python · Platforms: Windows, macOS, Linux, Python · Region: Version, build and integration requirements apply

### Concurrent threaded PDFium calls — unsupported

Calls must not overlap across threads, even for different documents\.[^api]

Use case: Render PDF pages and inspect text or page objects from Python · Platforms: Windows, macOS, Linux, Python · Region: Version, build and integration requirements apply

### Semantic layout analysis — unsupported

Core text extraction does not identify words, lines or paragraphs as layout\-analysis objects\.[^api]

Use case: Render PDF pages and inspect text or page objects from Python · Platforms: Windows, macOS, Linux, Python · Region: Version, build and integration requirements apply

### JavaScript and XFA — limited

Enabled PDFium builds are an explicit packaging choice, not assumed in ordinary wheels\.[^intro]

Use case: Render PDF pages and inspect text or page objects from Python · Platforms: Windows, macOS, Linux, Python · Region: Version, build and integration requirements apply

### [Substitute for PyMuPDF](/pymupdf) — limited

Can replace PDF rendering and selected inspection tasks when PDFium's API and build fit; it is not equivalent to PyMuPDF's broader document\-format or optional product support\.[^intro][^api][^pymupdf]

Use case: Render PDF pages and inspect text or page objects from Python · Platforms: Windows, macOS, Linux, Python · Region: Version, build and integration requirements apply

## References

[^intro]: [pypdfium2 introduction](<https://pypdfium2.readthedocs.io/en/stable/readme.html>) — Binding architecture, installation, optional V8/XFA builds and licensing (vendor; retrieved 2026-10-07T13:44:43Z)

[^api]: [Python API](<https://pypdfium2.readthedocs.io/en/stable/python_api.html>) — Thread safety, helper stability, memory management and text\-analysis limits (vendor; retrieved 2026-10-07T13:44:43Z)

[^platforms]: [Platform support](<https://pypdfium2.readthedocs.io/en/stable/platforms.html>) — August 2026 matrix, release strategies and experimental platforms (vendor; retrieved 2026-10-07T13:44:43Z)

[^pymupdf]: [PyMuPDF features](<https://pymupdf.readthedocs.io/en/latest/about.html>) — Rendering and document\-processing library (vendor; retrieved 2026-10-07T13:44:43Z)

Source revision: https://substitutefor.net/entities/Q610?revision=658
