Compress PDF without losing quality
Make the file smaller while keeping text crisp and images clear.
You should not have to choose between a small file and a readable one. MarqPDF keeps text vector-sharp and only optimises images by as much as your target actually requires.
How it stays sharp
Text and vectors are preserved; only raster images are re-sampled, and only as much as needed to reach your target size.
Set a target instead of guessing
Rather than a blind quality slider, pick a target size and let MarqPDF find the best quality that fits.
Frequently asked questions
Will the text get blurry?
No. Text is kept sharp. Only images are optimised, and only as much as needed.
Do it from code or an AI agent
The same tool is in the MarqPDF API as POST /v1/compress, and in MarqPDF's MCP server as compress_pdf for Claude, Cursor and other AI agents.
curl https://marqpdf.com/v1/compress \
-H "Authorization: Bearer $MARQPDF_API_KEY" \
-H "Content-Type: application/json" \
-d '{"file": "file_…", "target_mb": 1}'
API reference · Use it from an AI agent (MCP) · JavaScript and Python SDKs · Chain it with other steps