FormatterHQ

Compress PDF

Make a PDF smaller without uploading it: keep the text with lossless compression, or turn pages into images for the smallest size. Choose a level or a target such as 100 KB.

Loading tool…
Ready.

How to use the Compress PDF

  1. Drop a PDF onto the page or click to choose one. It is compressed straight away with the selected method, Keep text (lossless) at first.
  2. For a smaller file, choose Smallest size and a Low, Medium, High or Custom level, or choose Target size and a limit such as 100 KB or 200 KB.
  3. Click Compress PDF and compare the original size, the new size, the percentage saved and the page count.
  4. Click Download to save the compressed PDF.

Compress PDF files without uploading them

Use this tool to compress PDF files that are too big to e-mail or too large for an upload form. You choose how: keep every page exactly as it is and let the file be stored more efficiently, or turn the pages into JPEG images for a much smaller file. Everything runs in your browser, so the PDF is not uploaded anywhere.

Two ways to reduce PDF size

Keep text (lossless)Smallest size (pages become images)
TextStays selectable and searchableBecomes part of a picture: no selecting, searching or copying
Links, bookmarks, form fieldsKeptStop working
Typical savingSmall, sometimes largeLarge for scans and photos
Best forContracts, reports, anything you will search or editScanned documents, photo-heavy files, strict size limits

Keep text (lossless)

The lossless method rewrites the file without changing what is on the pages. It removes page thumbnails (viewers draw their own), stores identical images or fonts only once when a file contains several copies, compresses data that was saved uncompressed, recompresses existing Flate data at the highest level when that is smaller, drops objects that nothing refers to any more, and packs small objects into compressed object streams. With Remove metadata ticked it also deletes the document properties, the XMP metadata packet and the private data some editing apps leave behind.

It does not touch JPEG photos inside the PDF, so the saving depends on how the file was made. A PDF exported by a modern office app is often already compact; files assembled from several sources, produced by older software or edited many times usually shrink more. For example, a three-page test report with the same image stored twice, one uncompressed page and a large XMP packet went from 345 KB to 167 KB, about 52% smaller, with its text still searchable.

Smallest size (pages become images)

This method draws every page, one at a time, at the resolution you pick and saves it as a JPEG. A new PDF is built with one image per page at the original page size, with rotation and cropping already applied, so it prints and displays like the original. The title is kept; other document properties are not.

The trade-off is real: text turns into pixels. A PDF that is mostly typed text can even get bigger this way, because text is stored very efficiently while an image of it is not. The tool never offers a bigger file: if the result is not smaller, it says so and keeps your original.

Compression levels

LevelResolutionJPEG qualityUse it for
Low compression150 DPI80%Documents you may print
Medium compression110 DPI60%Reading on screen, e-mail
High compression72 DPI40%The smallest file that is still readable
Custom50–200 DPI10–95%Your own balance

Very large pages are scaled down so that no page needs more than 25 megapixels, which keeps the browser from running out of memory on posters and drawings.

Compress a PDF to 100 KB, 200 KB or any size

Application portals and government sites often accept only files under 100 KB, 200 KB or 1 MB. Choose Target size, pick one of these limits or type your own, such as 150 KB or 1.5 MB. The lossless method is tried first, and if it already fits, your text stays searchable. Otherwise the tool tries settings from 150 DPI at 80% quality down to 40 DPI at 25%, using a binary search so it needs at most four passes over the pages, and keeps the sharpest result under your limit. Sizes use 1 KB = 1,024 bytes, the way your computer reports file size.

If even the smallest setting is too big, you are told the smallest size this PDF can reach. Removing pages you do not need with Delete PDF Pages, or cutting the file into parts with Split PDF, are the usual next steps.

Why a PDF does not get smaller

  • It is already compact. Lossless compression cannot shrink data that is already well compressed, such as JPEG photos.
  • It is mostly text. Turning text pages into images adds size. Keep text instead.
  • Images were huge to begin with. If you are building the PDF from photos, shrink them first with the image compressor; it is faster than compressing the finished PDF.
  • It is password-protected. Encrypted PDFs are not changed, because a re-saved copy would lose its protection. Remove the password with Unlock PDF (you need the password), then compress the unlocked copy.

Privacy

The PDF is read and rewritten on your device with pdf.js and pdf-lib. Nothing is uploaded, and the compressed copy exists only in your browser until you download it. To strip personal details without changing anything else, use the PDF metadata remover.

Frequently asked questions

How do I compress a PDF to 100 KB?
Choose Target size, select 100 KB and click Compress PDF. The tool tries lossless compression first and, if that is not enough, turns the pages into images at the sharpest settings that fit. If the PDF cannot get under 100 KB, it tells you the smallest size it reached.
Will compressing make the text blurry or unselectable?
Not with Keep text (lossless): the pages are unchanged and text stays selectable. Smallest size turns each page into a JPEG, so text can no longer be selected or searched and looks softer at low resolutions such as 72 DPI.
Why did my PDF not get any smaller?
Files that are already well compressed, such as PDFs full of JPEG photos, cannot be shrunk losslessly, and text-only PDFs grow when turned into images. The tool never gives you a bigger file: it says so and keeps your original. Try another method or level.
Can I compress a password-protected PDF?
No. A re-saved copy would lose its password protection, so encrypted PDFs are not changed. Remove the password with Unlock PDF on this site (you need the password), compress the unlocked copy, then add a password again with Protect PDF if needed.
Is my PDF uploaded to a server?
No. The file is read, compressed and saved by your browser. It never leaves your device.

Last updated October 17, 2026

Related tools

Delete PDF Pages Remove pages from a PDF: click the thumbnails or type page numbers, then download the shorter file. Deleted pages are fully removed. No upload. Extract Images from PDF Extract every image from a PDF: JPEGs saved as the original files, other images as PNG. Duplicates removed; download one or all as ZIP. No upload. Merge PDF Combine several PDF files into one, in the order you choose. Page counts are checked as you add files. Merged in your browser, nothing uploaded. Organize PDF Pages Reorder the pages of a PDF: drag thumbnails into a new order, or move pages with arrows, then download. Runs in your browser, no upload. PDF Font Checker List the fonts in a PDF and check whether each one is embedded or subset, its type, encoding and the pages it is used on. Runs in your browser. PDF to PNG Converter Convert PDF pages to lossless PNG images with sharp text and lines, at 72–300 DPI. Download pages one by one or as a ZIP. No upload. PDF to Word Converter Convert PDF to an editable Word document (.docx) with paragraphs, headings, lists, tables and images, or keep the exact look. Free, in your browser. PDF Viewer Open and read a PDF in your browser: thumbnails, outline, zoom, rotate, search with highlights, document info, download and print. No upload. PDF Word Counter Count the words, characters, sentences and pages in a PDF, per page and in total, with reading time. Choose a page range. No upload. PNG to PDF Converter Turn PNG screenshots and graphics into a PDF, one image per page, without losing quality. Choose page size and margins. Runs in your browser. Protect PDF Add a password to a PDF with AES-256 encryption, and optionally restrict printing, copying and editing. Encrypted in your browser, never uploaded. Rotate PDF Rotate PDF pages left, right or 180°, one page at a time or all at once, with thumbnails to check the result. Saved for good, no upload.