🍺 BREW Explorer

← all formulae

qpdf

brew install qpdf v12.3.2 Apache-2.0

C++ command-line tool for transforming, inspecting, and repairing PDF files while preserving content.

Why you might care

QPDF excels at PDF manipulation tasks that GUI tools struggle with: batch encryption, decryption, page splitting, merging, and structural repair—all scriptable and automatable. It's widely used in document processing pipelines and embedded in other tools (like Ghostscript) because it preserves PDF structure and metadata unlike lossy alternatives.

Categories

Alternatives

ghostscript pdftk pypdf pdfminer
5.2k
30-day installs · #582
15.2k
90-day · #647
57.6k
365-day · #611

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "ghostscript",
    "pdftk",
    "pypdf",
    "pdfminer"
  ],
  "build_dependencies": [
    "cmake"
  ],
  "categories": [
    "pdf-tool",
    "text-processor"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "jpeg-turbo",
    "openssl@3"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Tools for and transforming and inspecting PDF files",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:58+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "qpdf",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://qpdf.sourceforge.io/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "QPDF: A Content-Preserving PDF Transformation System",
  "installs_30d": 5164,
  "installs_365d": 57560,
  "installs_90d": 15189,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": "2026-06-20T23:45:45+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "qpdf",
  "oldnames": [],
  "one_liner": "C++ command-line tool for transforming, inspecting, and repairing PDF files while preserving content.",
  "optional_dependencies": [],
  "rank_30d": 582,
  "rank_365d": 611,
  "rank_90d": 647,
  "raw_hash": "984fd6758ad4a86d",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/q/qpdf.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "12.3.2",
  "versioned_formulae": [],
  "why_use_this": "QPDF excels at PDF manipulation tasks that GUI tools struggle with: batch encryption, decryption, page splitting, merging, and structural repair\u2014all scriptable and automatable. It\u0027s widely used in document processing pipelines and embedded in other tools (like Ghostscript) because it preserves PDF structure and metadata unlike lossy alternatives."
}