How to reduce DjVu file size and shrink a scanned PDF
Updated October 23, 20268 min read

A scanned book of a few hundred megabytes is hard to email, slow to send through a messenger and heavy on a phone. Often it doesn't need to be that big. Here's how to make a DjVu file smaller, how to shrink a scanned PDF, and what to do when a book is still too large.
Step 1
Open Compress DjVu and add your book
Open our free Compress DjVu tool in Chrome, Safari, Firefox or Edge, on a computer, phone or tablet. Drop one or more .djvu or .djv files on the page, or click Choose files. Everything runs in your browser: the book is never uploaded, there's no sign-up and no limit on file size. Very long, heavy books go faster and more smoothly on a computer than on a phone.
Step 2
Choose Smaller or Better pictures
The tool has two settings:
- Smaller: text pages at 300 dpi, pages with pictures at 150 dpi. This suits most books, and 300 dpi is plenty for reading text on a screen and for printing it.
- Better pictures: text pages at 400 dpi, pages with pictures at 200 dpi. Choose it for atlases, art books and books with many illustrations or fine diagrams. The file comes out a little larger.
Step 3
Wait while it works and compare the sizes
Each page is drawn again and encoded right in your browser. A book of a few hundred pages takes a minute or two. When it's done, you see the size before and after. If a page wouldn't come out clearly smaller, it's kept exactly as it was, and if the whole book can't be made noticeably smaller, the tool says it's already compact, nothing to gain and gives you back the original.
Step 4
Download the smaller book and check it
Click Download to save the compressed DjVu file. Open it in our free online DjVu viewer and look at a few pages, especially ones with pictures or small print. What comes along:
- The text layer: each page keeps its hidden text, so you can still search the book and copy from it.
- The contents: the table of contents still points to the same pages.
- The title and author stored in the book.
- What changes: grey or colour pages of plain text become black and white, as most DjVu books are. Pages with pictures or colour stay pictures, at the resolution of the setting you chose.
Shrink a scanned PDF by converting it to DjVu
Scanned PDFs are often the heaviest files of all, because a scanned PDF usually stores each page as one full picture. Our free PDF to DjVu converter turns them into DjVu right in your browser, and scanned PDFs often become several times smaller. Text pages become black and white at 300 dpi (400 on High); pages with pictures keep their colours. If the PDF has a text layer, it goes into the DjVu's hidden text layer, so the book stays searchable, and the PDF's bookmarks become the DjVu's contents. The converter doesn't run text recognition, so a scan without text stays a set of page images. A password-protected PDF has to be saved as an unprotected copy first. If the new DjVu is still large, run it through Compress DjVu as well.
Still too big? Send the book in parts
Some books stay large however you encode them: thick encyclopedias, atlases, art albums. Then cut the book into pieces with Split DjVu: choose Every N pages and set how many pages each part should have, or use Extract pages for one chapter, such as 1-120. Pages are copied exactly as they are, with their text and the contents entries that point to them. Send the parts one by one; the recipient can join them back into one book with Merge DjVu. More in how to extract, split and merge DjVu pages.
- Email: personal Gmail accounts take attachments up to 25 MB per message; a larger file is added as a Google Drive link instead. Other mail services have limits of their own, often in the same range, so check yours.
- Messengers: Telegram takes files up to 2 GB each, so there the size matters more for the recipient's mobile data and phone storage than for sending. Other messengers have their own limits.
- Phones and e-readers: a smaller file copies faster and takes less room. See how to read DjVu on an e-reader for PocketBook, ONYX BOOX and other devices.
Why scanned books get so big
The size of a scan depends mostly on two things:
- Resolution: a page scanned at 600 dpi has four times as many pixels as the same page at 300 dpi. For reading, 300 dpi is enough for text.
- Colour: a page of plain text scanned in greyscale or colour stores every shade of the paper, the yellowing and the show-through from the other side. In black and white, each pixel is simply ink or paper, which takes far less space.
- Many old scans, including Soviet-era textbooks and journals from university and library collections, were made in greyscale or colour at high resolution, so they often shrink a lot.
Why DjVu files are small
DjVu was made for scanned pages. It keeps the black text of a page apart from the paper and pictures behind it and compresses each layer in the way that suits it. Letters that repeat across a page are stored as shapes and reused, and the background can be kept at a lower resolution than the text without making the letters any less readable. A scanned PDF usually stores each page as one full picture instead, which is why the same book is often several times bigger as a PDF. More in DjVu vs PDF.
What not to expect
Compression removes what isn't needed for reading; it can't remove the pages themselves. Some limits:
- An already compact DjVu barely changes. A book scanned in black and white at a normal resolution is already as small as it gets without hurting the pages, so the tool keeps it as it was.
- A PDF made on a computer won't get smaller as DjVu. Reports and ebooks with real text are small already; as DjVu they stay about the same size or even grow, because DjVu keeps every page as an image.
- ZIP or RAR doesn't help much. A DjVu file is already compressed, so packing it into an archive saves next to nothing.
- Converting DjVu to PDF makes it bigger. If the recipient has no DjVu app and needs a PDF, use DjVu to PDF on Standard, which gives the smallest PDF.
- If you only need the words, a book with a text layer becomes a much smaller file as FB2 or EPUB, but you lose the look of the printed page.
Reading the smaller book on iPhone and iPad
On iPhone and iPad, DjVu Reader opens DjVu books directly from Files, Safari, Mail and messaging apps, with search, the book's contents, page themes and Read Aloud (Pro). With Wi‑Fi Transfer you can send books from your computer's browser, up to 100 MB each, so compressing a heavy book first also helps there. The app reads books; it doesn't compress them, so do that in the browser first. Here's how to open DjVu files on iPhone.
Common questions
- How much smaller will my DjVu file get?
- It depends on how the book was scanned. Books scanned at very high resolution or in full colour often get several times smaller; books already in black and white at a normal resolution barely change, and Compress DjVu tells you so.
- Does compressing a DjVu file lose the searchable text?
- No. Each page keeps its hidden text layer, so you can still search the smaller book and copy text from it. The table of contents, title and author are kept too.
- How do I compress a scanned book for email?
- Shrink it with Compress DjVu, or turn a scanned PDF into DjVu with PDF to DjVu. If it's still over your mail service's limit (25 MB for personal Gmail), cut it into parts with Split DjVu and send them in separate emails.
- How do I make a scanned PDF smaller without losing quality?
- Convert it to DjVu with our free PDF to DjVu converter on High, which keeps text at 400 dpi and pictures at 300 dpi on a computer. Scanned PDFs usually still come out much smaller, and the PDF's text and bookmarks are kept.
- Are my files uploaded when I compress them?
- No. Compress DjVu, PDF to DjVu and Split DjVu run in your browser on Windows, Mac, Linux, iPhone, iPad and Android, so your books never leave your device. They're free, with no sign-up, watermark or size limit.
Open your first DjVu book.
Free on the App Store for iPhone and iPad.


