# qpdf

Command\-line tool and C\+\+ library for PDF structure transformations and inspection\.

ID: Q547 · Revision: 594

Type: software · License: Apache\-2\.0[^license] · Status: active

Website: https://qpdf.sourceforge.io/



qpdf is a command\-line program and C\+\+ library for transforming the structure of PDF files\. It supports tasks such as page assembly, encryption changes and web\-oriented file organization, while leaving document content generation to the caller\. It is useful in document\-processing pipelines rather than as an interactive PDF reader or a page\-rendering engine\.[^overview][^cli]

## Capabilities and substitutions

### Structural checks — limited

A successful \-\-check indicates syntactic validity, not complete content correctness\.[^cli]

Use case: Automated PDF structure transformation · Platforms: Linux, Other supported native builds · Region: Version, build and integration requirements apply

### JSON round\-trip — limited

Complete representation requires stream data; JSON is not extracted document text\.[^json]

Use case: Automated PDF structure transformation · Platforms: Linux, Other supported native builds · Region: Version, build and integration requirements apply

### Page rendering — unsupported

The project explicitly excludes viewer and format\-conversion roles\.[^overview]

Use case: Automated PDF structure transformation · Platforms: Linux, Other supported native builds · Region: Version, build and integration requirements apply

### [Substitute for MuPDF](/mupdf) — limited

Can cover structural PDF transformations, but not MuPDF's rendering or document\-to\-image tasks\.[^overview][^mupdf]

Use case: Automated PDF structure transformation · Platforms: Linux, Other supported native builds · Region: Version, build and integration requirements apply

## References

[^overview]: [What is qpdf?](<https://qpdf.readthedocs.io/en/stable/overview.html>) — Structural transformation library and explicit non\-rendering scope (vendor; retrieved 2026-10-07T12:29:31.703Z)

[^license]: [qpdf license](<https://qpdf.readthedocs.io/en/stable/license.html>) — Apache License Version 2\.0 (vendor; retrieved 2026-10-07T12:29:31.703Z)

[^cli]: [Running qpdf](<https://qpdf.readthedocs.io/en/stable/cli.html>) — Page selection limitations, \-\-check and linearization (vendor; retrieved 2026-10-07T12:29:31.703Z)

[^json]: [qpdf JSON](<https://qpdf.readthedocs.io/en/stable/json.html>) — Object representation, stream inclusion and semantic limits (vendor; retrieved 2026-10-07T12:29:31.703Z)

[^download]: [Downloading qpdf](<https://qpdf.readthedocs.io/en/stable/download.html>) — Distribution packages and releases (vendor; retrieved 2026-10-07T12:29:31.703Z)

[^mupdf]: [MuPDF tools](<https://mupdf.readthedocs.io/en/latest/guide/what-is-mupdf.html>) — Rendering and structural command\-line tools (vendor; retrieved 2026-10-07T12:29:31.703Z)

Source revision: https://substitutefor.net/entities/Q547?revision=594
