qmetrics.net

QPDF

Content-preserving PDF transformation CLI and library

QPDF screenshot

QPDF is a command-line tool and C++ library for structural PDF work: linearization, encryption, split/merge, and inspection. It does not render pages or extract text.

Overview

QPDF performs content-preserving transformations on PDF files. You can use it from the shell or link the C++ library into your own programs for programmatic PDF manipulation. Typical jobs include linearization, encryption, splitting and merging documents, creating PDFs when you supply the content, and inspecting file structure for analysis.

The tool operates at the PDF object and stream level rather than as a viewer. It does not render PDFs, extract readable text, or offer high-level page-editing APIs. Documentation is published online and ships with releases; developers integrate via pkg-config (libqpdf) or CMake (qpdf package).

QPDF relies on zlib and jpeg (libjpeg-turbo is compatible). Optional build-time crypto providers include GnuTLS, OpenSSL, and an embedded native implementation. Features such as zopfli compression can be enabled when the library is present. The project builds on Unix-like systems, macOS, and Windows with common C++ toolchains.

Packagers and integrators often use qpdf as infrastructure for pipelines that need reliable, low-level PDF rewriting without a full desktop editor.

Key features

  • PDF linearization and encryption
  • Split and merge PDF files
  • Structural PDF inspection
  • C++ libqpdf API
  • Multiple crypto providers
  • pkg-config and CMake integration
  • Optional zopfli compression
  • Command-line qpdf tool

Use cases

  • Automated PDF rewriting in scripts
  • Building apps that edit PDF structure
  • Inspecting PDFs for analysis pipelines

Tags

Similar software

Stirling PDF

Self-hostable open-source PDF editing platform

An open-source PDF platform for editing, signing, converting, and automating documents in the browser, on desktop, or on your own servers with a private API.

★ 97.6k⟳ todayMIT · open core
Open Source Alternative to:Adobe AcrobatFoxit PDF Editor

MinerU

Document parser for Markdown and structured agent output

MinerU converts PDFs, images, and office documents into Markdown and structured JSON for apps, agents, and local workflows.

★ 84.4k⟳ 10 days agoApache-2.0

Paperless-ngx

Community-supported document management system for archiving scanned documents

Paperless-ngx turns physical documents into a searchable online archive. It is deployed with Docker Compose and is the official successor to Paperless and Paperless-ng.

★ 48.7k⟳ yesterdayGPL-3.0

Marker

Document to markdown and JSON conversion toolkit

Marker converts PDFs, images, and Office files into markdown, JSON, chunks, or HTML with layout, tables, math, and optional LLM-assisted cleanup. It runs on GPU, CPU, or Apple MPS via CLI modes.

★ 41.1k⟳ 8 days agoApache-2.0

OCRmyPDF

Command-line OCR text layer for scanned PDFs

OCRmyPDF adds a searchable text layer under scanned PDF images using Tesseract, keeping layout friendly for copy and paste while optimizing file size.

★ 35.4k⟳ yesterdayMPL-2.0

jsPDF

Client-side JavaScript library for generating PDF documents

jsPDF builds PDF files in the browser or in Node.js without a server round trip. It supports pages, fonts, UTF-8 via custom fonts, and optional HTML rendering.

★ 31.3k⟳ 2 months agoMIT