PDF Toolkit: Merge, Split, Compress, Images to/from PDF avatar

PDF Toolkit: Merge, Split, Compress, Images to/from PDF

Pricing

from $3.00 / 1,000 pdfs

Go to Apify Store
PDF Toolkit: Merge, Split, Compress, Images to/from PDF

PDF Toolkit: Merge, Split, Compress, Images to/from PDF

Merge PDFs, split by page ranges, compress (re-encode and downscale images), convert JPG/PNG images to PDF, and render PDF pages to PNG or JPEG. Upload files or give URLs; download links in the results. Pay per output.

Pricing

from $3.00 / 1,000 pdfs

Rating

0.0

(0)

Developer

T O

T O

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Features

Limited permissions

Share

PDF Toolkit — Merge, Split, Compress, Images to PDF, PDF to Images

Five everyday PDF jobs in one Actor, for automations, back-office workflows and AI pipelines: merge PDFs, split by page ranges, compress large scanned PDFs, turn JPG/PNG images into a PDF, and render PDF pages to PNG or JPEG. Upload files or give URLs; every output file gets a download link.

Operations

OperationWhat it doesOutput
MergeJoins all files in the order given (bookmarks of each file kept)1 PDF
Split1-3,5,8- style ranges; one PDF per page or one per range1 PDF per page/range
CompressRe-encodes and downscales embedded images (quality and max size configurable), compresses page streams, removes duplicate objects1 smaller PDF per input
Images to PDFJPEG, PNG, WebP, TIFF, GIF, BMP → one page each; A4 or Letter (auto landscape, fit with margin) or image size; EXIF rotation honored, transparency on white1 PDF
PDF to imagesRenders pages to PNG or JPEG at 36–300 DPI1 image per page

Password-protected PDFs work if you provide the password. Outputs are never encrypted.

Input examples

{ "operation": "merge", "fileUrls": ["https://example.com/a.pdf", "https://example.com/b.pdf"], "outputFileName": "combined" }
{ "operation": "split", "fileUrls": ["https://example.com/report.pdf"], "pageRanges": "1-6,7-12", "splitMode": "ranges" }
{ "operation": "pdfToImages", "fileUrls": ["https://example.com/slides.pdf"], "pageRanges": "1-3", "imageFormat": "png", "dpi": 150 }

Output example (one dataset row per output file)

{
"operation": "compress",
"status": "ok",
"fileName": "scan-3p.pdf",
"pages": 3,
"inputBytes": 13082035,
"bytes": 679160,
"savedPercent": 94.8,
"imagesRecompressed": 3,
"outputKey": "a1b2c3d4-scan-3p-compressed.pdf",
"outputUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/a1b2c3d4-scan-3p-compressed.pdf"
}

Pricing (pay per event)

EventPriceOperations
PDF (output file)$0.003Merge, Compress, Images to PDF
Page (output page)$0.002Split, PDF to images

Examples: merging 10 PDFs = $0.003; compressing 100 PDFs = $0.30; splitting a 20-page PDF into pages = $0.04. Free: failed files, wrong passwords, and compressions that save less than 1% (the PDF was already optimized — you get a no_savings row and pay nothing).

Limits

  • 50 MB per file by default (max 100 MB), 200 files and 500 pages per run by default (max 2,000).
  • Rendering is capped at ~40 megapixels per page.
  • Compression works on image-heavy PDFs (scans, photos). Text-only PDFs are usually already small.
  • No OCR or text extraction — for that, use our Office & PDF to Markdown for AI Actor.

FAQ

Does it use an external API? No. Everything runs inside the Actor with open-source pypdf, PDFium and Pillow.

Where are my files? In the run's default key-value store, linked from each result row. Download them before your storage retention period ends.

Is my data private? Files are processed only inside your own run.

About

Built with AI assistance by QuickTools and tested on real sample PDFs before release. Something off? Open an issue on the Issues tab.