PDFCoreLab

PDFCoreLab

High-performance PDF compression API powered by Ghostscript

Upload & Compress

Upload PDFs up to 50 MB and compress them with five quality presets — from screen-optimized to prepress.

Async Processing

Jobs are queued and processed in the background. Poll the status or use webhooks to know when they're done.

Signed Downloads

Download original and compressed files via time-limited signed URLs — no extra auth step required.

Quick Start

curl -X POST https://pdfcorelab.com.sourov.me/api/v1/pdf-compressions \
  -H "X-API-Key: YOUR_API_KEY" \
  -F "pdf=@document.pdf" \
  -F "preset=ebook"

Returns 202 Accepted with a compression resource you can poll for status.

Compression Presets

Preset DPI Best For
screen 72 Smallest file — screen viewing only
ebook 150 Digital distribution
printer 300 High quality printing
prepress 300+ Professional prepress output
default Ghostscript defaults

Need an API key? Sign up for free to create your API key and start compressing PDFs.