How to Compress a PDF to Under 1MB (Free Methods for Windows, Mac, and Online)
Table of Contents
- TL;DR — Quick Method Picker
- Why PDFs Are Large
- Ghostscript Presets Explained
- Method 1: Ghostscript CLI
- Method 2: ilovepdf.com — Best Online Tool
- Method 3: Mac Preview — Built-In and Free
- Method 4: Adobe Acrobat Pro
- Method 5: Microsoft Word
- When Compression Won't Help
- Quality Comparison: 72 vs 150 vs 300 DPI
- Frequently Asked Questions
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
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.
Open the Compress PDF tool directly. No account required for files under 300 MB.
Drag your file onto the upload area or click to browse. For very large files, the upload may take a moment on slow connections.
Select Extreme (equivalent to Ghostscript /screen — 72 DPI), Recommended (/ebook — 150 DPI), or Less (/printer — 300 DPI). For under 1 MB, choose Extreme.
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.
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.
File → Export as PDF. In the export dialog, click the Quartz Filter dropdown and select Reduce File Size.
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)
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)
Opens the PDF Optimizer dialog with full control over every compression parameter.
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.
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.
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.
In the Save As dialog, choose PDF from the format dropdown. Then click the Options button (or the More Options link) before saving.
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?
How do I compress a PDF without losing text quality?
What DPI is best for a PDF sent by email?
Does compressing a PDF affect text readability?
What is the best free PDF compressor?
Can I compress a password-protected PDF?
How much can Ghostscript reduce PDF size?
What is the difference between /screen and /ebook in Ghostscript?
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.