cpdf (Coherent PDF Command Line Tools) is a set of tools that let you modify PDF files.
A JavaScript implementation for node and the browser is also available.
This is free and open source software.
Key Features
- Quality Split and Merge, keeping bookmarks. Extract pages. Split on Bookmarks.
- Encrypt and Decrypt (including AES 128 and AES 256 encryption).
- Scale, rotate, crop and flip pages. Scale pages to fit.
- Copy, Remove and Add bookmarks.
- Stamp logos, watermarks, page numbers and multiline text. Transparency.
- Embed TrueType fonts when adding text.
- Supports Unicode UTF8 text input and output.
- Make PDF-based presentations.
- Put multiple pages on a single page.
- List, copy, set, or remove annotations.
- Read and set document information and metadata.
- Add and remove file attachments to document or page.
- Thicken hairlines, blacken text, make draft documents.
- Reconstruct malformed files.
- Detect missing fonts, low resolution images.
- Export and import PDF files in JSON format.
- Build table of contents.
- Convert text to PDF.
- Draw on PDF files with graphics and text.
- Cross-platform support – runs under Linux, macOS, and Windows.
Website: github.com/coherentgraphics/cpdf-binaries
Support: GitHub Source Code Repository
Developer: Coherent Graphics Ltd
License: GNU Affero General Public License v3.0

cpdf is written in OCaml. Learn OCaml with our recommended free books and free tutorials.
Related Software
| PDF Manipulation Tools | |
|---|---|
| Stirling PDF | Locally hosted web based PDF manipulation tool |
| PDFsam | Extract pages, split, merge, mix and rotate PDF files |
| PDF Mix Tool | Perform common editing operations on PDF files |
| PDF Arranger | Merge, rearrange, split, rotate, and crop PDFs |
| cpdf | Set of command-line tools that let you modify PDF files |
| pdftk | The PDF toolkit |
| pstoedit | Translates PostScript and PDF graphics into other vector formats |
| img2pdf | Lossless conversion of raster images to PDF |
| PDF Chain | Graphical user interface for The PDF Toolkit |
| Tabula | Extract data tables inside PDF files |
| PDFStitcher | Utility for stitching together PDF pages |
| wkhtmltopdf | Render HTML into PDF |
| krop | Simple graphical tool to crop the pages of PDF files |
| Qpdf Tools | Qt interface for Ghostscript and QPDF |
| Quick PDF Join | Joins multiple PDF files together |
| PDF Tricks | Offer small manipulations in PDF files |
| OnePDFPlease | TUI for working with PDF files |
| PdfJumbler | Rearrange, merge, delete, and rotate pages |
| PDF Juggler | Mix, reorder and select PDF pages |
| jpeg2pdf | Command-line tool which lets you convert images to PDF |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

