Pre-compiled binaries of PDFium
August 26, 2026 · View on GitHub
Pre-compiled binaries of PDFium
This project hosts pre-compiled binaries of the PDFium library, an open-source library for PDF manipulation and rendering.
Builds have been triggered automatically every Monday since 2017.
Disclaimer: This project isn't affiliated with Google or Foxit.
Download
Here are the download links for latest release:
1: WebAssembly build is experimental; please provide feedback.
See the Releases page to download older versions of PDFium.
NuGet Packages
The following NuGet packages are available:
| OS | PDFium | PDFium V8 |
|---|---|---|
| All (meta package) | bblanchon.PDFium | bblanchon.PDFiumV8 |
| Android | bblanchon.PDFium.Android | bblanchon.PDFiumV8.Android |
| iOS | bblanchon.PDFium.iOS | bblanchon.PDFiumV8.iOS |
| Linux | bblanchon.PDFium.Linux | bblanchon.PDFiumV8.Linux |
| macOS | bblanchon.PDFium.macOS | bblanchon.PDFiumV8.macOS |
| Windows | bblanchon.PDFium.Win32 | bblanchon.PDFiumV8.Win32 |
| WebAssembly1 | bblanchon.PDFium.WebAssembly | not supported |
1: WebAssembly build is experimental; please provide feedback.
HELP WANTED!
I can provide packages for your favorite package manager, but I need help from someone who knows the format. Contact me via GitHub issues if you want to help.
Static builds
Our pre-compiled versions of PDFium include only shared/dynamic libraries (.so, .dll, .dylib...), and we don't plan to add static builds in the future.
However, our repository comes with a convenience script to run a local build, and this script supports static builds through the -s flag. For example, for a Linux ARM64 build, run:
./build.sh -s linux arm64
This script reproduces the build steps used in our GitHub workflows, so it is only tested on operating systems used by GitHub-hosted runners (for example Ubuntu), and we don't plan to make this script portable.
Alternatively, you can trigger the reusable workflow build.yml with build_type=static from your own workflow, or fork this repo and start the build-one.yml manually from the Actions tab.
Documentation
PDFium API documentation
Please find the documentation of the PDFium API on developers.foxit.com.
How to use PDFium in a CMake project
-
Unzip the downloaded package in a folder (e.g.,
C:\Libraries\pdfium) -
Set the environment variable
PDFium_DIRto this folder (e.g.,C:\Libraries\pdfium) -
In your
CMakeLists.txt, addfind_package(PDFium) -
Then link your executable with PDFium:
target_link_libraries(my_exe pdfium) -
On Windows, make sure that
pdfium.dllcan be found by your executable (copy it on the same folder, or put it on thePATH).
Related projects
The following projects use (or recommend using) our PDFium builds:
| Name | Language | Description |
|---|---|---|
| dart_pdf | Dart | PDF creation module for dart/flutter |
| DtronixPdf | C# | PDF viewer and editor toolset |
| go-pdfium | Go | Go wrapper around PDFium with image rendering and text extraction |
| libvips | C | A performant image processing library |
| PDFium RS | Rust | Rust wrapper around PDFium |
| pdfium-render | Rust | A high-level idiomatic Rust wrapper around PDFium |
| pdfium-vfp | VFP | PDF Viewer component for Visual FoxPro |
| pdfium.vapi | Vala | Vala vapi binding and GTK demo app to display PDF content |
| PDFiumCore | C# | .NET Standard P/Invoke bindings for PDFium |
| PdfiumLib | Pascal | An interface to libpdfium for Delphi |
| PdfLibCore | C# | A fast PDF editing and reading library for modern .NET Core applications |
| PDFtoImage | C# | .NET library to render PDF content into images |
| PDFtoZPL | C# | A .NET library to convert PDF files (and bitmaps) into Zebra Programming Language code |
| PDFx | Dart | Flutter Render & show PDF documents on Web, MacOs 10.11+, Android 5.0+, iOS and Windows |
| PyPDFium2 | Python | Python bindings to PDFium |
| Spacedrive | Rust/TS | Cross-platform file manager, powered by a virtual distributed filesystem |
| wxPDFView | C++ | wxWidgets components to display PDF content |
Did we miss a project? Please open a PR!
Contributors
| Username | Contributions | |
|---|---|---|
@bblanchon |
Main contributor | |
@ChristofferGreen |
Linux ARM build | |
@jerbob92 |
Musl and WebAssembly builds | |
@kateinoigakukun |
Static builds | |
@mara004 |
ppc and mips builds. Constant aid. | |
@mgiessing |
ppc64 build | |
@sungaila |
NuGet packages | |
@TcT2k |
macOS and V8 builds |