Sejda SDK is an open source, task oriented Java library to edit PDF files

Quick start

~ $ unzip

~ $ sejda-console-2.12/bin/sejda-console merge -f first.pdf second.pdf -o merged.pdf

Available PDF Tasks


Merge PDF files retaining or discarding bookmarks and acro form fields, mix them taking pages alternately from a set of PDF files, add back pages to a batch of PDF files.


Split PDF files by specifying page numbers, split by size, by bookmarks level, at every page, split when text in a given position changes (ex invoice number) or split each page down the middle, either vertically or horizontally.


Extract text from PDF files generating a single text file or a text file for each page selected for extraction, extract selected pages generating a PDF file containing only desired pages.


Compress PDF files removing unused resources and reducing images size.


Crop PDF files to fit a given rectangle.


Add permissions, decrypt or encrypt PDF files using AES 256bits or 128bits.


Convert PDF files to JPEG, TIFF, multi page TIFF or grayscale PDF.


Extract attachments from PDF files or create an attachments collection (portfolio).

Header & footer

Adds header or footer text with page numbers, text labels or bates numbering to PDF documents


Open Source


  • Suitable for open source
  • Unlimited tasks
  • Unlimited executions
  • AGPLv3 License
  • No dedicated support
  • No access to PRO tasks

$ 2000 /year

  • Suitable for commercial or closed source
  • One single task
  • Unlimited executions
  • Dedicated support
  • Access to PRO tasks
    • Compress
    • Crop
    • Split by text
    • Split down the middle
    • Extract text
    • Nup
    • Repair
    • Convert to grayscale
All sales come with a two week, 100% money back guarantee.

Try sejda-console, our open source command line interface

We eat our own dog food

Sejda SDK is actively developed and battle tested as the PDF engine behind and PDFsam, being used monthly by millions users.

Look at what people say

Have questions?   mail_outlineContact us