Reduce a scanned PDF's size for email on Windows, and keep it readable
Measured on a 15-page lease: a free script got it under 10 MB at 225 dpi; PDF Compressor's Balanced level gave 4.9 MB and checked every page.
We make PDF Compressor, the app this guide uses. The free methods come first; every step shown in PDF Compressor was checked in the app itself, and the screenshots come from the real app with invented sample data.
Short answer
A scanned PDF is a picture of every page, so its size comes down to the resolution and the colour of those pictures. For free, a Python script with pypdf brought our 15-page colour scan of 28,783,786 bytes under 10,000,000 bytes by making the pictures 75% as wide and as high (225 dpi instead of 300) and lowering their JPEG quality. PDF Compressor's Balanced level went from 27.5 MB to 4.9 MB, mostly by scaling the pages to 150 dpi; it also stored the black-and-white pages as grey while the page with blue signatures stayed in colour, and it checked every page after saving.
How big an attachment can be
- Gmail: attachments up to 25 MB for personal accounts; a larger file is sent as a Google Drive link instead (Gmail Help).
- Outlook: 20 MB for internet email accounts and, by default, 10 MB for Exchange accounts, counting the message as well as the attachment (Microsoft Support).
The receiving side can have its own, lower limit. An attachment also grows when the email is encoded for sending: Microsoft counts on about a third more for messages that leave its servers, and Outlook on the web lets you send only three quarters of the set limit for that reason (Exchange Online limits). So aim well below the limit, about 7 MB for a 10 MB one, as long as every page stays readable.
Why scans are big
A scanner turns each page into a picture. Our invented sample, a 15-page lease scanned in colour at 300 dpi on cream paper with blue ink signatures on the last page, is 2480 x 3508 pixels per page and 28,783,786 bytes in all; the pictures take all of that space. Halve the resolution and each picture has a quarter of the pixels. Storing a black-and-white page as grey keeps one value per pixel instead of three, but after JPEG compression the gain is small: in our test a grey page at 150 dpi took about 332 KB, against 347 KB for the colour one.
Method 1 (free): a Python script with pypdf
We used the same script as in our guide to compressing a PDF to 2 MB: fit_pdf.py re-encodes every picture with pypdf, tries one setting after another, mildest first, and saves the first result under the byte limit you give. We ran it on 30 November 2026 (Python 3.12.13, pypdf 6.21.1, Pillow 13.0.0) on a copy of the lease, with a limit of 10,000,000 bytes:
py fit_pdf.py "Lease Harbour Yard unit 4 (scanned).pdf" "Lease (for email).pdf" 10000000
scale 1.00, JPEG quality 85: 25,949,954 bytes
scale 1.00, JPEG quality 70: 14,122,155 bytes
scale 0.75, JPEG quality 70: 8,824,242 bytes
saved Lease (for email).pdf
It took 11.2 seconds. The pages became 1860 x 2631 pixels (225 dpi), all still in colour, and PDFium drew all 15 of them. The script treats every page the same way: it cannot tell a black-and-white page from the signed one, so it keeps colour everywhere. Its 8,824,242-byte copy fits Gmail's 25 MB and Outlook's 20 MB limits but may not get through a 10 MB Exchange mailbox once encoded. Before sending any smaller copy, open it, check the smallest print and the signatures at 100% zoom, and keep the original scan.
Ghostscript, another free tool, has an /ebook preset that brings colour and grey pictures down to 150 dpi (its documentation); it was not installed on our test PC and we did not run it.
Method 2: Balanced or Small with PDF Compressor
PDF Compressor is our Windows app for making PDFs smaller offline. It shows the exact new size of the whole file before saving, with a page and a close-up before and after, and it never re-encodes text and fonts. The screenshots below come from version 1.0.0 (evaluation build) with the invented lease.
- Pick a level. Balanced (pictures shown sharper than 150 dpi are scaled to 150 dpi, JPEG quality 75) showed 27.5 MB to 4.9 MB, 82% smaller; the app counts 1 MB as 1,048,576 bytes, so 28,783,786 bytes show as 27.5 MB. Small (at most 100 dpi, JPEG quality 60) showed 2.3 MB; the app notes that photos may look soft when printed. A third level, Target size, picks the setting for a size you give: see our guide to compressing a PDF to 2 MB.
- Look at the signed page. With Store grey-looking colour pictures as grey ticked, the preview of page 15 showed the blue signatures before and after.
- Compress. With Balanced, the results said "Compressed 1 of 1 PDF" and "All 15 pages checked": the saved file was 5,128,308 bytes, with 15 pictures re-encoded and 14 grey-looking ones stored as grey.




We then read the saved file with pypdf: page 1's picture was 1240 x 1754 pixels in grey, and page 15's was 1240 x 1754 in colour, so the signatures kept their blue. The original scan had the same SHA-256 after the run as before it. If the scans are in several files, merge them first: see our guide to merging PDFs without uploading them.
Next time: scan at a lower resolution or in grey
Most scanners let you choose the resolution and the colour before scanning; Brother's WIA scan settings for the MFC-J2340DW, with their Colour format and Resolution (DPI) fields, are one example. In our test, the lease at 150 dpi with grey pages was still clear in the close-up at less than a fifth of the size, so scanning a typed document at a lower resolution, in grey except for pages where colour matters (signatures, stamps), can save the compression step. Keep a full-resolution scan as your record copy if you may need to print it or prove it later. We did not test this on a scanner.
Limitations
- Sizes depend on the scan: paper tone, noise and the number of pages all count. We tested one invented lease.
- The script keeps every page in colour and uses one quality for all of them.
- Making a scan smaller does not make its text searchable: it stays a picture.
- A PDF with a digital signature loses it in any smaller copy. PDF Compressor's option Skip signed PDFs leaves such files alone; ink signatures scanned as pictures, like the ones on our lease, are not affected.
- PDF Compressor saves new files and only reads the originals. Requirements: Windows 10 (22H2) or 11, 64-bit, 4 GB RAM.
- We did not run Ghostscript.
References
- Gmail Help: attachment size limits
- Microsoft Support: Send large files with Outlook
- Microsoft Learn: Exchange Online limits
- pypdf documentation: Reduce PDF file size
- Ghostscript documentation: High Level Devices
- Brother support: WIA Driver Settings (MFC-J2340DW)