Stapler

Manipulate PDF documents from the command line by selecting, deleting, splitting, and zipping pages, as well as view metadata.

Made by Philip Stark and Fred Wenzel

  • bsd-licence

  • Python

What is Stapler?

Stapler is a powerful command-line tool that enables users to manipulate PDF documents with precision. It offers a range of functionalities, making it a versatile alternative to PDFtk. With Stapler, users can selectively extract pages from PDF files and concatenate them into a new document, or alternatively, delete specific pages while retaining the rest. The tool also facilitates the splitting of PDF files, dividing each document into individual page-level PDFs. Furthermore, Stapler's zip feature allows users to interleave pages from multiple PDFs, enabling efficient collation of documents with odd and even pages. Additionally, the info command provides users with valuable insights into the metadata stored within a PDF file

Highlights

  • Selective page extraction and concatenation
  • Inverse page deletion functionality
  • Splitting PDFs into individual page-level documents
  • Interleaving pages from multiple PDFs
  • Metadata inspection for PDF files

Platforms

  • BSD
  • Linux

Languages

  • English

Features

    • Split and merge PDF files

    • Combine PDF