Image Editing

Compress PDF

Shrink a PDF until it fits the upload limit, without sending it anywhere.

Your files stay on your device - processed locally via WebAssembly, never uploaded

Drop a PDF file here

PDF files

DPI: 150 · Quality: 80%

Note: compression converts text to images. Text won't be selectable in the output.

Share this tool with othersHelp others discover free tools
Embed this tool on your website

Copy this code to add the Compress PDF to your site for free. It runs entirely in your visitors' browsers - no API key, no usage limits.

<iframe src="https://optipix.art/embed/compress-pdf" width="100%" height="600" style="border:1px solid #e4e4e7;border-radius:8px;" title="Compress PDF by OptiPix" loading="lazy"></iframe>
<p style="font-size:12px">Free tool by <a href="https://optipix.art/compress-pdf">OptiPix Compress PDF</a></p>

Browse all embeddable tools

Love these free tools? Support us a different way.

OptiPix is 100% free with no limits and no paywalls. Instead of donations, you can support us by trying Arteza — our all-in-one cinema-grade Gen AI creative suite for image, video, and audio generation.

Explore Arteza →

Cinema-grade AI generation · Used by creators worldwide

About Compress PDF

Last updated: October 2026

Most PDF size problems are the same problem: a 40 MB scan that has to go under a 10 MB attachment cap or a portal's upload limit. This compressor rebuilds the document at a lower resolution, letting you pick the trade-off directly - Web at 72 DPI for something that will only ever be read on a screen, Standard at 150 DPI for general use, Print at 300 DPI when it still has to hold up on paper. It is worth knowing exactly what that does, because most tools do not say: each page is rendered to an image and the rebuilt PDF contains those images. The document stays a PDF and looks the same, but text inside it stops being text - it can no longer be selected, searched or read by a screen reader. For a scan, that costs nothing, because a scan was already pixels. For a text document you need to remain searchable, this is the wrong tool and you should keep the original. Nothing is uploaded: the render and the rebuild happen in your browser, which matters for the contracts, statements and medical records that make up most of what people need to compress.

How It Works

Each page is rendered to a bitmap at your chosen DPI with pdf.js, re-encoded as JPEG at the matching quality, and placed into a new PDF with pdf-lib at the original page dimensions. Everything runs in your browser. Because the output holds rendered images, text in the result is no longer selectable - that is inherent to this kind of compression, not a limitation of this implementation.

Use Cases

  • •Getting a scanned document under an email attachment limit
  • •Meeting an upload cap on a government, bank or university portal
  • •Shrinking a scanned contract before sending it to a client
  • •Reducing a large PDF for storage without moving it to the cloud
  • •Compressing a photo-heavy report that only needs to be read on screen

You Might Also Like

If you find Compress PDF useful, check out these related tools: Image Compressor, Video Compressor, and PDF to JPG Converter. All tools run entirely in your browser with no uploads or signups required.

Frequently Asked Questions

How much smaller will my PDF get?
It depends almost entirely on what is inside it. A scanned document at 300 DPI dropped to Web quality routinely loses 80-90% of its size. A PDF that is mostly real text and vector graphics is already small and may barely change, or even grow, because rendering text to an image can cost more than the text did.
Will the text still be selectable afterwards?
No, and this is the trade-off worth understanding before you start. Each page is rendered to an image and the new PDF holds those images, so the result looks identical but the text is no longer text - no selecting, no searching, no screen-reader access. Keep the original if any of that matters.
Which DPI setting should I choose?
Web (72 DPI) for anything that will only be read on a screen and needs to be as small as possible. Standard (150 DPI) is the sensible default and is still fine to print at a pinch. Print (300 DPI) when it genuinely has to be printed properly - it saves the least, but it is the only one that holds up on paper.
Is my PDF uploaded to a server?
No. The pages are rendered and the new PDF assembled in your browser, on your device. That is the point - the documents people most need to compress are contracts, bank statements and medical records, and those should not be passed to someone else's server to save a few megabytes.
Is there a file-size limit?
No cap is imposed. Very large documents are limited by your own device's memory, since every page is rendered locally, and a few hundred high-resolution pages can be slow on a phone.

Related Tools

More Image Compression Tools

All 125 Tools

Image CompressorBackground RemoverVideo CompressorImage UpscalerOCR Text ExtractorFormat ConverterImage ResizerEXIF RemoverFace BlurDepth EstimationQR Code GeneratorWatermark MakerColor Palette ExtractorPhoto FiltersImage to PDFObject DetectionImage ClassifierImage CaptionerAI Image GeneratorMeme GeneratorGIF MakerPhoto Collage MakerImage CropPhoto EffectsImage to SVGColor ChangerNoise RemoverPhoto RestorationColor PickerFavicon GeneratorImage to Base64Image Metadata ViewerImage AnnotatorPassport Photo MakerDocument ScannerASCII Art GeneratorImage ComparisonSprite Sheet GeneratorObject RemoverPanorama MakerWord CounterCase ConverterLorem Ipsum GeneratorUUID GeneratorText DiffURL Encoder / DecoderHTML Entity Encoder / DecoderBase64 Text Encoder / DecoderText to Binary / Hex / OctalHash GeneratorJSON Formatter / ValidatorRandom String GeneratorCSV ↔ JSON ConverterMarkdown EditorUnit ConverterPercentage CalculatorBMI CalculatorAge CalculatorTip CalculatorCSS Gradient GeneratorCSS Box Shadow GeneratorCSS Border Radius GeneratorGlassmorphism GeneratorNeumorphism GeneratorCSS Text Shadow GeneratorFlexbox PlaygroundCSS Grid GeneratorAudio TrimmerAudio ConverterAudio MergerAudio RecorderVideo to Audio ExtractorAudio Speed ChangerAudio Volume BoosterRingtone MakerVocal RemoverText to SpeechSpeech to TextAudio Noise RemoverAudio EqualizerAudio EffectsVideo TrimmerVideo MergerVideo ResizerVideo Speed ChangerVideo RotatorVideo to MP4 ConverterAdd Music to VideoMute VideoVideo LooperReverse VideoVideo ScreenshotAdd Subtitles to VideoVideo WatermarkScreen RecorderWebcam RecorderSlideshow MakerVideo FiltersCron Expression BuilderRegex TesterUnix Timestamp ConverterHEIC to JPG ConverterWebP to JPG ConverterWebP to PNG ConverterPNG to JPG ConverterJPG to PNG ConverterCompress PDFPDF to JPG ConverterPDF to PNG ConverterMerge PDFSplit PDFRotate PDFJPG to PDF ConverterJPG to WebP ConverterPNG to WebP ConverterVideo to GIF ConverterAVIF to JPG ConverterTIFF to JPG ConverterSVG to PNG ConverterPNG to ICO ConverterGIF to MP4 ConverterWebM to MP4 ConverterMP4 to MP3 ConverterJSON to CSV ConverterBase64 to Image Converter