# Apache PDFBox

> The Apache PDFBox library is an open source Java tool for working with PDF documents.

Source: https://talira.ai/catalog/apache-pdfbox-79k8kxaj
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [documents / pdf / manipulation](https://talira.ai/categories/documents/pdf/manipulation), [documents / pdf / extraction](https://talira.ai/categories/documents/pdf/extraction), [languages / java](https://talira.ai/categories/languages/java)
- Platforms: linux, macos, windows, cli
- Licence: Apache-2.0
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes
- Backed by: [Apache Software Foundation](https://talira.ai/orgs/apache-software-foundation.md)
- Funding: non-profit[^1]

Apache PDFBox is an Apache Software Foundation Java library for creating, reading and manipulating PDFs. It extracts Unicode text, splits and merges documents, reads and fills form fields, prints through the Java print API, renders pages to PNG or JPEG, applies digital signatures, creates PDFs with embedded fonts and images, and validates PDF/A-1b with its Preflight module. It ships command-line tools for common tasks. Two release lines are maintained: 3.0.x and 2.0.x.

## Links

- Website: https://pdfbox.apache.org/
- GitHub: https://github.com/apache/pdfbox
- Docs: https://pdfbox.apache.org/3.0/getting-started.html

## Problems it solves

- pull the text out of thousands of PDFs in a Java or Kotlin batch job for search indexing
- my Spring Boot app needs to fill in a PDF form and save it, with an Apache licence
- render PDF pages to PNG thumbnails on the JVM without calling Ghostscript
- split a PDF into single pages and merge others back together in Java
- sign PDFs digitally from a Java service with our own keystore
- check whether uploaded files are valid PDF/A-1b before archiving them
- print PDFs silently from a Java desktop or server application
- need a permissively licensed alternative to an AGPL Java PDF library
- get at the low-level PDF objects, fonts and content streams from Java to debug a broken file
- quick command-line tool to extract text or merge PDFs that runs anywhere Java runs

## Features

- Unicode text extraction
- Split and merge
- Read and fill PDF forms
- Print via the standard Java printing API
- Render pages to images (PNG, JPEG)
- Digital signatures
- Create PDFs with embedded fonts and images
- Preflight: PDF/A-1b validation
- Command-line utilities

## Capabilities

- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.68 out of 1.
Signals: maintenance 1.00, adoption 0.70, momentum 0.37, community 0.53, backing 0.55, extensibility 0.20.

- last commit 9 days ago
- 383 commits in the last 90 days
- 3.1k GitHub stars
- 20 contributors
- backed by Apache Software Foundation
- funding: non-profit

## Alternatives

- [Ghostscript](https://talira.ai/catalog/ghostscript-j6fzqd7w.md): An interpreter for the PostScript language and PDF files
- [MuPDF](https://talira.ai/catalog/mupdf-a0hpyn67.md): The ultimate library for managing PDF documents
- [iText Core](https://talira.ai/catalog/itext-core-hcps5a1v.md): Generate & Manipulate PDFs Effortlessly
- [pdf-lib](https://talira.ai/catalog/pdf-lib-80dtat8x.md): Create and modify PDF documents in any JavaScript environment.
- [PyMuPDF](https://talira.ai/catalog/pymupdf-xw9pb5xf.md): A high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
- [pdfplumber](https://talira.ai/catalog/pdfplumber-phcpd0sv.md): Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.

## Sources

[^1]: https://www.apache.org/foundation/ (checked 20 Nov 2026)
