How to Compress a PDF to Under 1MB (Free Methods for Windows, Mac, and Online)

PDF Compression Ghostscript DPI Free Tools Mac Preview ilovepdf
PDF compression at a glance
90%+size reduction possible
80%of PDF size is images
/ebookpreset = 150 DPI
Freemethods available

You need to email a PDF. The upload form says "maximum 1MB." Your file is 18MB. This is not unusual — a brochure, an application form with photos, or a scanned document can easily reach 20-50 MB when created with default settings. The size comes almost entirely from embedded images at print resolution, which is four times more pixels than any screen displays. Compressing to 1MB means telling the PDF to store those images at screen resolution instead.

1. TL;DR — Quick Method Picker

72
DPI — /screen preset, maximum compression, smallest files
150
DPI — /ebook preset, good quality for screen reading
300
DPI — /printer preset, print-quality, moderate compression
Free
Ghostscript and ilovepdf require no payment

Direct answer: To compress a PDF to under 1MB, you need to reduce the resolution of embedded images from 300 DPI (print quality) to 72-150 DPI (screen quality). The free Ghostscript command gs -sDEVICE=pdfwrite -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf achieves 90%+ compression.

For the same result with no software install, ilovepdf.com Extreme compression does the same in a browser. On Mac, Preview's Quartz filter reduces PDF size with a few clicks.

2. Why PDFs Are Large

A 500-page novel exported as PDF is typically 1-3 MB. A 10-page brochure with photos can be 50 MB. The difference is raster images. Text in PDF is stored as vectors — mathematical descriptions of character shapes that are resolution-independent and extremely compact. A page full of text might use 5-20 KB. A single full-page photograph at print resolution uses thousands of times more space.

Here is the pixel math. A full-page photograph at letter size (8.5 × 11 inches) at 300 DPI:

Width:  300 DPI × 8.5 inches = 2,550 pixels
Height: 300 DPI × 11 inches = 3,300 pixels
Total:  2,550 × 3,300 = 8,415,000 pixels (8.4 megapixels)

Stored as JPEG at quality 85: approximately 3-5 MB per image
20-page brochure with one full-page photo per page: 60-100 MB

Screens display at 72-220 PPI depending on device. A 300 DPI image contains approximately four times more pixels than a 150 DPI image. When you view a 300 DPI PDF at 100% zoom on a 96 PPI monitor, the monitor physically cannot display those extra pixels — it just throws them away. The file carries all that data for no visual benefit.

Reducing to 150 DPI for a letter-size page:

Width:  150 DPI × 8.5 inches = 1,275 pixels
Height: 150 DPI × 11 inches = 1,650 pixels
Total:  1,275 × 1,650 = 2,103,750 pixels (2.1 megapixels)

Stored as JPEG at moderate quality: approximately 0.5-1.5 MB per image
20-page brochure at 150 DPI: 10-30 MB

The same brochure at 72 DPI (the /screen preset) drops each image to approximately 0.1-0.5 MB, making a 20-page document 2-10 MB. For documents where you need under 1 MB, /screen is the appropriate preset — and for on-screen reading at normal zoom, most users will not notice the difference.

3. Ghostscript Presets Explained

Ghostscript provides four named presets for PDF compression, each targeting a different output use case. The preset name is passed as the -dPDFSETTINGS flag.

Preset Image DPI JPEG Quality Typical size reduction Best for
/screen 72 DPI Low 90-95% Email with strict size limits, web links, preview only
/ebook 150 DPI Moderate 70-85% Email, forms, screen reading — recommended default
/printer 300 DPI High 40-60% Home or office printing
/prepress 300 DPI lossless Maximum 20-40% Commercial print service providers

In addition to resampling images, each preset also:

  • Applies optimal PDF compression to non-image content (stream compression, font subsetting)
  • Removes embedded thumbnails and duplicate content
  • Applies JPEG compression to color and grayscale images at preset-appropriate quality levels
  • Sets the PDF compatibility version (1.4 for /screen, higher for /prepress)

4. Method 1: Ghostscript CLI

Ghostscript is a free, open-source PDF and PostScript interpreter. It is the engine behind many commercial PDF tools and is available on Windows, macOS, and Linux. The compression commands produce results that match or exceed most paid tools.

Install Ghostscript

Windows

Download the installer from ghostscript.com/releases. Run the installer and add Ghostscript to your PATH when prompted, or navigate to the installation directory in Command Prompt.

macOS

Install via Homebrew: brew install ghostscript. If you don't have Homebrew, install it from brew.sh first. Ghostscript will be available as gs in Terminal.

Linux (Ubuntu/Debian)

Run sudo apt install ghostscript. On Fedora/RHEL: sudo dnf install ghostscript. Verify installation: gs --version.

The Compression Commands

For maximum compression to meet a 1 MB target (72 DPI, /screen preset):

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen \
   -dNOPAUSE -dQUIET -dBATCH \
   -sOutputFile=output.pdf input.pdf

For good-quality screen reading (150 DPI, /ebook preset):

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook \
   -dNOPAUSE -dQUIET -dBATCH \
   -sOutputFile=output.pdf input.pdf

For print quality with moderate compression (300 DPI, /printer preset):

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer \
   -dNOPAUSE -dQUIET -dBATCH \
   -sOutputFile=output.pdf input.pdf

The flags explained:

  • -sDEVICE=pdfwrite — use the PDF output device
  • -dCompatibilityLevel=1.4 — PDF version 1.4 compatibility (works everywhere)
  • -dPDFSETTINGS=/screen — apply the named preset
  • -dNOPAUSE — do not pause between pages
  • -dQUIET — suppress progress output (remove to see processing details)
  • -dBATCH — exit after processing (do not wait for more input)
  • -sOutputFile=output.pdf — output filename (never overwrite the input directly)

Never use the same filename for input and output — Ghostscript writes the output file while reading the input. Using the same filename will corrupt the file. Always output to a different name, then replace if needed.

Batch Processing Multiple PDFs

To compress all PDFs in a folder (Linux/macOS):

for f in *.pdf; do
  gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH \
     -sOutputFile="compressed_${f}" "${f}"
done

5. Method 2: ilovepdf.com — Best Online Tool

ilovepdf.com is the most capable free online PDF tool for compression. It processes files up to 300 MB and does not require creating an account for basic use. Files are deleted from their servers after two hours.

1
Go to ilovepdf.com/compress_pdf

Open the Compress PDF tool directly. No account required for files under 300 MB.

2
Upload your PDF

Drag your file onto the upload area or click to browse. For very large files, the upload may take a moment on slow connections.

3
Choose compression level

Select Extreme (equivalent to Ghostscript /screen — 72 DPI), Recommended (/ebook — 150 DPI), or Less (/printer — 300 DPI). For under 1 MB, choose Extreme.

4
Click Compress PDF and download

Processing takes a few seconds per page. Click the Download button to save the compressed file. The page shows you the before/after file size.

Privacy note: ilovepdf states that uploaded files are deleted from their servers after two hours and are not shared with third parties. If your document is confidential, use Ghostscript locally instead — it never uploads anything.

6. Method 3: Mac Preview — Built-In and Free

macOS includes Preview, which can reduce PDF file size using the built-in Quartz filter. This requires no additional software and works for casual compression needs.

1
Open the PDF in Preview

Double-click the PDF file to open it in Preview (the default PDF viewer on Mac). If it opens in another app, right-click and choose Open With → Preview.

2
Export as PDF with reduced quality

File → Export as PDF. In the export dialog, click the Quartz Filter dropdown and select Reduce File Size.

3
Save the compressed file

Choose a new filename and click Save. Preview's Reduce File Size filter applies moderate JPEG compression to images. The compression is less aggressive than Ghostscript /screen and typically achieves 40-70% reduction.

Limitation: Preview's Quartz filter is not as powerful as Ghostscript. For a PDF that needs to get under 1 MB, Preview may not achieve sufficient compression. If the result is still too large, use Ghostscript or ilovepdf for the /screen preset instead.

For more control on Mac, you can create a custom Quartz filter with a specific DPI setting using ColorSync Utility (found in Applications → Utilities → ColorSync Utility → Filters). This is more technical but allows specifying exact compression values.

7. Method 4: Adobe Acrobat Pro

Adobe Acrobat Pro is the most feature-complete PDF tool and offers the finest control over compression. It requires a paid subscription (part of Creative Cloud), but the results are excellent for precise compression requirements.

Option A: Reduce File Size (Quick)

1
File → Reduce File Size

Opens a dialog asking which PDF version to make the output compatible with. Choose Acrobat 6.0 and later (PDF 1.5) for maximum compatibility. This applies a standard compression pass automatically.

Option B: PDF Optimizer (Advanced)

1
File → Save As Other → Optimized PDF

Opens the PDF Optimizer dialog with full control over every compression parameter.

2
Configure image settings

Under Images: set Color Images downsampling to Bicubic Downsampling To 96 ppi (for screen) or 150 ppi (for ebook quality). Set Compression to JPEG and Quality to Low or Medium depending on how aggressively you need to compress.

3
Check Audit Space Usage first

Click Audit Space Usage in the PDF Optimizer to see a breakdown of what is using space before compressing. This tells you whether images, fonts, or other elements are the main contributors, so you can target the compression correctly.

Acrobat's PDF Optimizer also lets you remove metadata, flatten form fields, remove JavaScript, discard embedded thumbnails, and remove other elements that may add file size without being needed in the compressed version.

8. Method 5: Microsoft Word

This method applies only to PDFs that originated from Word documents — you need the original DOCX file, not the PDF. Word has a built-in "Minimum size" PDF export option that is often overlooked.

1
Open the original Word document

Open the .docx file in Microsoft Word. If you only have the PDF, use Convertlo's PDF to DOCX converter to extract the content first, then re-export to PDF from Word.

2
File → Save As → PDF

In the Save As dialog, choose PDF from the format dropdown. Then click the Options button (or the More Options link) before saving.

3
Select Minimum size (publishing online)

In the Options dialog, change the Optimize for setting from Standard to Minimum size. This reduces image DPI to screen resolution. Click OK, then Save.

Word's Minimum size export typically reduces a document to roughly 40-70% of the Standard size. For documents with many high-resolution photos, the reduction can be more dramatic. The result is comparable to Ghostscript's /ebook preset but does not require any additional tools beyond Word itself.

Convert PDF to Other Formats

Extract text from PDFs or convert to DOCX for editing — free, in-browser, nothing sent to a server.

9. When Compression Won't Help

PDF compression specifically targets embedded raster images. If your PDF's file size is not coming from images, compression will have minimal effect. There are several common cases where compression produces little or no size reduction:

Text-Only PDFs

A 500-page novel as a PDF is typically 1-3 MB regardless of page count, because text is stored as compact vector data. Applying Ghostscript compression to a text-only PDF will reduce it by perhaps 10-20% through general stream optimization, but you cannot compress it below 1 MB if the original already is close to 1 MB and has no images to resample.

PDFs with Embedded Fonts

CJK (Chinese, Japanese, Korean) character set fonts, or elaborate display typefaces, can each add 5-20 MB of font data to a PDF. This is unrelated to images and is not affected by DPI compression. Ghostscript can subset fonts (embedding only the characters used rather than the full font), but this only helps when the entire character set is embedded. For PDFs whose size is dominated by fonts, consider converting to a format that does not embed fonts or using standard system fonts.

Encrypted or Password-Protected PDFs

PDF compression tools often cannot process user-password-protected PDFs (where you need a password to open the file). Owner-password-protected PDFs (permissions restrictions only) are usually handled without issues. To compress a user-password-protected PDF, you must first decrypt it using the password, then apply compression.

PDFs with JavaScript or Interactive Elements

PDF forms with complex JavaScript, interactive buttons, embedded video, or 3D content may have compression applied but some tools will strip those interactive elements in the process. Ghostscript in particular strips many interactive PDF features during compression. Test the output thoroughly if interactive elements are essential.

PDFs Where Images Are Already Compressed

If the PDF was previously compressed, the images may already be at or below 150 DPI. In this case, applying further compression with /screen will only reduce quality further without significant size savings. You can check the current image DPI using Adobe Acrobat Pro (Tools → Print Production → Preflight → List images with resolution) or the free pdfimages utility (pdfimages -list file.pdf).

10. Quality Comparison: 72 vs 150 vs 300 DPI

Understanding what each DPI level actually looks like helps you make the right preset choice without needing to test repeatedly.

DPI setting Ghostscript preset Screen appearance Print quality Typical file size vs original
72 DPI /screen Sharp at 100% zoom on standard monitors; visible quality loss when zoomed above 150% Clearly degraded — soft and blurry when printed 5-10% of original
150 DPI /ebook Sharp at 100% zoom; slight quality loss at 200% zoom on high-DPI displays Acceptable for home printing; slightly soft for commercial print 15-30% of original
300 DPI /printer Indistinguishable from original on any monitor Full print quality — suitable for commercial printing 40-60% of original

Practical guidance: For documents sent by email or uploaded to web forms, /ebook (150 DPI) is usually the right choice. It looks identical to the original on any standard monitor, and the recipient will not notice any quality reduction. Use /screen (72 DPI) only when the size constraint is so strict that /ebook does not achieve the target, or when the document will only be viewed at normal zoom on a screen and never printed.

11. Frequently Asked Questions

Why is my PDF so large?
PDF file size is almost always dominated by embedded raster images at print resolution (300 DPI). A text-only PDF is typically 50-300 KB regardless of page count, because text is stored as compact vector data. A PDF with scanned pages or photographs can be 3-5 MB per page. Compressing means resampling those images to screen resolution (72-150 DPI), which reduces file size by 70-95%.
How do I compress a PDF without losing text quality?
PDF compression only resamples raster images — text is stored as vector data and is never affected. The Ghostscript /ebook preset (150 DPI) or /screen preset (72 DPI) will compress all embedded images while leaving text completely sharp and searchable at any zoom level. There is no such thing as "text quality loss" from PDF compression.
What DPI is best for a PDF sent by email?
96-150 DPI is ideal for email distribution. Screens display at 72-220 PPI, so 150 DPI embedded images are slightly sharper than most monitors can display, providing good on-screen quality without excessive file size. The Ghostscript /ebook preset (150 DPI) is the recommended setting for email PDFs. Only use 300 DPI if the recipient will print the document at high quality.
Does compressing a PDF affect text readability?
No. Text and vector graphics in PDFs are completely unaffected by DPI compression. Ghostscript's compression presets only target raster image content. A highly compressed PDF at /screen preset has exactly the same sharp, crisp, searchable text as the original — only photograph and scan quality is reduced.
What is the best free PDF compressor?
Ghostscript is the most powerful free PDF compressor — command-line only, but available on all platforms and produces excellent results. For a browser-based free option with no installation, ilovepdf.com is reliable and handles files up to 300 MB. Mac users have Preview built in. Adobe Acrobat Pro has the most fine-grained control but requires a paid Creative Cloud subscription.
Can I compress a password-protected PDF?
It depends on the protection type. Owner-password-protected PDFs (permissions only — print, copy, edit restrictions) can usually be compressed by Ghostscript without needing the password. User-password-protected PDFs (required to open the file) must be unlocked first using the password. Use Ghostscript's -sPDFPassword="yourpassword" flag to provide the user password for a locked PDF during compression.
How much can Ghostscript reduce PDF size?
For image-heavy PDFs (brochures, scanned documents, photo books), Ghostscript with the /screen preset typically achieves 85-95% file size reduction. A 50 MB brochure can compress to 2-5 MB. A 20-page document scanned at 300 DPI can compress from 40 MB to under 2 MB. Text-only PDFs see only 10-20% reduction, since there are no images to resample.
What is the difference between /screen and /ebook in Ghostscript?
/screen reduces images to 72 DPI with aggressive JPEG compression — maximum file size reduction, visible quality loss when zoomed in. Best for email with strict size limits or web-only preview documents. /ebook reduces images to 150 DPI with moderate JPEG compression — good quality for screen reading with 70-85% file size reduction. For most practical purposes, start with /ebook and only use /screen if the result is still too large.

PDF compression is one of those problems where a single free command — the Ghostscript /ebook preset — solves 90% of cases in under a minute. For the remaining 10%, the choice between ilovepdf, Mac Preview, and Acrobat Pro comes down to what is already installed and how fine-grained the control needs to be. Text quality is never affected, so the only real decision is how much image quality you can accept at the target file size.

A
Convertlo Editorial Team
We test file conversion tools, formats, and workflows so you don't have to. All guides are written from hands-on testing with real documents and real tools.
More articles →