Your files never leave your device. All processing happens locally in your browser.
How do I compress a PDF to 800KB (under 800 KB) online without uploading the file?
Open Compress PDF to 800KB and drop your PDF onto the page — the target is already locked to 800 KB, so there is nothing to configure. The tool renders every page in your browser with Mozilla’s pdf.js, re-encodes the embedded images at a lower resolution and JPEG quality only as far as needed to reach 800 KB, then rebuilds the document with pdf-lib to land at or just under the cap. 800 KB is a roomy, gentle target — a touch more generous than the 700 KB preset and just below the 1 MB line — so a short text document, a filled form or a lightly scanned file usually slips under 800 KB while keeping its text selectable and searchable, and a PDF already under 800 KB is barely touched. It produces three quality variants in one pass — Best Quality, Balanced and Smallest — and marks each with a check when it meets the 800 KB cap, then shows the before and after sizes and the exact percentage saved. A longer or image-heavy scan is squeezed harder to fit, and if 800 KB genuinely cannot be reached the tool reports the smallest size it achieved rather than returning an unreadable file. Everything runs in the tab, so nothing is uploaded and your PDF never leaves your device; the result downloads as your file name with a -compressed.pdf suffix.
Target locked to 800 KB — drop a PDF and it compresses to fit that cap, with no settings to pick
Three quality variants in one pass (Best Quality, Balanced, Smallest), each tagged with a check when it lands under 800 KB
A roomy, gentle target — slightly more generous than 700 KB and just under 1 MB — so most everyday PDFs keep their text selectable and crisp
Runs entirely in the browser with pdf.js and pdf-lib — no upload, no install, no account
Ideal for web-form and portal uploads that cap files around 800 KB to 1 MB, and for compact email attachments that send and download fast
What is
Compress PDF to 800KB
Compressing a PDF to 800KB means reducing the document’s file size until it is at or under 800 kilobytes — roughly 0.78 MB — a size demanded by web forms, e-filing systems and job, education or exam portals that cap each uploaded document at around 800 KB to 1 MB, and a convenient weight for a compact email attachment that sends and downloads quickly even on slow connections. Because most of a PDF’s weight is usually its images and scanned pages, a compressor reaches such a target mainly by down-sampling those images to a lower resolution (DPI) and re-encoding them with lossy JPEG compression; stripping metadata and, when needed, converting pages to grayscale free up further bytes, while vector text and fonts stay untouched where possible. 800 KB is a roomy target: a little more generous than the 700 KB cap and just below the 1 MB line, and noticeably gentler than the aggressive 500 KB, 300 KB, 200 KB or 100 KB presets, so the compression is light rather than harsh — a few pages of text, a filled form or a lightly scanned certificate typically slips under 800 KB while keeping its text selectable rather than being flattened into images, and a file already under 800 KB is barely altered. Whether 800 KB is achievable depends on the content: an ordinary document reaches it comfortably, whereas a long, photo-heavy or high-resolution scan may need whole pages rasterised to fit, or may bottom out just above the cap. This tool locks the target to 800 KB, renders the pages with Mozilla’s pdf.js and rebuilds the file with pdf-lib entirely on your device, so no cloud service is involved and the PDF is never uploaded.
PDF Tools
Related terms
PDF800KBfile sizecompressionlossyDPIJPEG qualitydownsamplinggrayscalemetadatapdf.jspdf-libscanned PDFupload limitweb formemail attachmentportal uploadreduce PDF size
Frequently Asked Questions
No. The PDF is read and compressed to 800 KB entirely in your browser, so the file never leaves your device — there is no upload, server or account.
Nothing is uploaded. When you drop or pick a PDF, the tool reads it locally with the browser’s File API, renders its pages in memory with the pdf.js engine (whose worker is bundled locally, not fetched from a CDN) and rebuilds the compressed file with the pdf-lib library on your own machine. There is no server, upload, database, API or tracking in the processing path, so forms, reports, scans and private paperwork you are shrinking to fit an 800 KB upload box stay on your device; the tool works offline once cached, and closing the tab discards everything. The only optional network use anywhere on the site is consent-gated advertising, which never sees your files.
800 KB is a roomy, gentle target, so quality loss is minor for everyday files — a text document or light scan usually stays crisp and keeps selectable text, and a file already under 800 KB is barely touched.
Reaching any size target uses lossy compression — images are down-sampled to a lower DPI and re-encoded as JPEG — but 800 KB is a comfortable, generous cap, roomier than the 700 KB, 500 KB or 300 KB presets and just under 1 MB, so the tool rarely has to push hard. A few pages of text, a filled form or a lightly scanned certificate typically lands under 800 KB with little to no visible change and keeps its text live and searchable. Three variants are generated in one pass (Best Quality, Balanced and Smallest) and the tool defaults to the best one that still fits. Only a longer, photo-heavy or high-resolution scan is compressed firmly enough that fine detail softens, and if the tool must rebuild those pages as JPEG images to hit 800 KB the text on them becomes part of the picture; even then the result stays legible, and you can pick the Best Quality variant for maximum fidelity.
800 KB fits web forms and portals that cap uploads around 800 KB to 1 MB, and makes a compact email attachment that sends and downloads fast on any connection.
Many web forms, e-filing systems and job, education or exam portals cap each uploaded document at a modest size, and some state a limit right around 800 KB or 1 MB; a file that clears 800 KB uploads without the “file too large” error. It is also a friendly size for email: well within Gmail’s 25 MB and Outlook.com’s 20 MB limits, a sub-800 KB attachment sends instantly, downloads quickly for the recipient and is gentle on people with limited bandwidth or storage. This tool targets that exact number: drop your PDF and download a version that clears 800 KB, then upload or attach it with confidence. If a portal specifies a tighter limit, 700 KB, 500 KB, 300 KB, 200 KB or smaller presets are one click away; for a roomier cap, 1 MB, 2 MB and larger presets are just as close.
Yes. It runs entirely in your browser on any modern phone, tablet or computer, and works offline once the page has been cached — no app or install needed.
The tool is 100% client-side, so it works in any modern browser on Android, iPhone, iPad, Windows, macOS or Linux without installing anything. Because the compression happens on your own device with pdf.js and pdf-lib, it keeps working offline once the page has loaded once — useful when you are finishing a form or application on patchy Wi-Fi. One PDF is processed at a time and the practical size ceiling is your device’s memory, so a very large scan is bounded by available RAM; on a phone, extremely heavy files may compress more slowly, but for the ordinary documents that need to fit an 800 KB box it is quick and stays entirely on the device.
Detailed Explanation
📖How It Works
Compressing a PDF to 800 KB — Entirely in the Browser
Compress PDF to 800KB shrinks a document to a fixed 800 kilobyte target without uploading a single byte. The 800 KB target is read from the page URL and locked, so there is nothing to choose — drop your PDF and the tool goes to work. It renders every page in the browser with Mozilla’s pdf.js, re-encodes the embedded images at a lower resolution and JPEG quality only as far as needed, and rebuilds the file with pdf-lib inside a Web Worker, aiming to land at or just under 800 KB. Three quality variants are produced in a single pass — Best Quality, Balanced and Smallest — each tagged with a check when it clears the cap, alongside the original versus new size and the exact percentage saved. Because 800 KB is a roomy, gentle target — a touch more generous than the 700 KB preset and just below the 1 MB line, and far roomier than the 300 KB or 200 KB squeezes — a short text document, a filled form or a light scan usually drops under 800 KB while keeping its text selectable, and a file already under 800 KB is barely altered. Only a longer, image-heavy scan is squeezed hard, and if 800 KB is genuinely out of reach the tool reports the smallest size it achieved rather than producing an unreadable file. Everything runs on your device, so the PDF never leaves the tab.
Targets an 800 KB ceiling read from the URL and locked — a roomy, gentle target
Renders pages with pdf.js and rebuilds with pdf-lib in a Web Worker — no upload
Three variants (Best / Balanced / Smallest) with live sizes and a target-met check
Light at this size — everyday text and light scans stay crisp and keep selectable text; files already under 800 KB barely change
📋Use Cases
When an 800 KB PDF Is What You Actually Need
The 800 KB target sits comfortably in range for form and portal uploads. Many web forms, e-filing systems and job, education or exam portals cap each uploaded document at a modest size, and some state a limit right around 800 KB or 1 MB — a file that clears 800 KB uploads without the “file too large” error while staying more legible than an aggressively squeezed 200 KB or 100 KB version. It is also a friendly size for email: comfortably within Gmail’s 25 MB and Outlook.com’s 20 MB limits, a sub-800 KB attachment sends instantly, downloads quickly for the recipient and is gentle on limited bandwidth or storage. It suits sharing a scanned certificate, a short report or a filled application through chat, a portal or a customer account without the file feeling heavy. You drop the PDF and download a version that clears 800 KB, then upload or attach it with confidence. When a portal specifies a tighter limit, 700 KB, 500 KB, 300 KB, 200 KB and smaller KB presets are one click away; for a roomier cap, 1 MB, 2 MB and larger presets are just as close.
Fits web forms, e-filing systems and job, education and exam portals that cap uploads around 800 KB to 1 MB
A compact email attachment — well within Gmail’s 25 MB and Outlook.com’s 20 MB, so it sends and downloads fast
More legible than an aggressive 200 KB or 100 KB squeeze while still comfortably small
Sibling presets cover 1 MB, 2 MB and larger, plus 700 KB, 500 KB, 300 KB, 200 KB and smaller for tighter caps
🔧Technical Details
How the 800 KB Target Is Reached
When the page loads at /compress-pdf-to-800kb, a URL parser (getPdfPresetFromPath) matches the “800kb” token, fixes the target at 800 KB and shows a locked-target banner (“Target: 800 KB”) instead of the usual preset grid. On drop, the PDF is read into an ArrayBuffer with the File API and pdf.js (pdfjs-dist) renders a first-page thumbnail and the page count, its worker bundled with the app locally rather than fetched from a CDN. Smart Compress hands the buffer and options { targetKB: 800, grayscale, removeMetadata } to the smartCompressPDF routine (src/lib/workerClient.ts), which pursues two strategies and keeps whichever yields the smaller file that still meets 800 KB: it re-encodes the PDF’s embedded images at reduced JPEG quality and scale, and, when a target needs it, rasterises whole pages by having pdf.js paint each page onto an HTML canvas at a chosen DPI, encoding the canvas as JPEG and assembling a fresh PDF from those images with pdf-lib. Because 800 KB is a roomy ceiling, the downward sweep of DPI and JPEG quality often stops early for everyday documents — the Best variant frequently lands under the cap with little visible loss and most such files keep their text live, so it is kept as the default; a heavier scan pushes the sweep further and may need pages rasterised to fit. Three configurations run in one pass — Best Quality (highest DPI and JPEG quality), Balanced, and Smallest — and metadata is stripped by default. Each variant is measured, tagged when it lands under 800 KB, and the chosen one downloads from a local Blob with a -compressed.pdf suffix.
getPdfPresetFromPath parses the URL, fixes the target at 800 KB and locks it with a banner
pdf.js (pdfjs-dist) reads the page count and renders the thumbnail; its worker is bundled locally, not from a CDN
smartCompressPDF re-encodes images and, when needed, rasterises pages via canvas, rebuilding with pdf-lib
Three variants generated and measured in one pass; the chosen file downloads from a local Blob
⚠️Limitations
Honest Limitations
Whether 800 KB is reachable depends on the content. An ordinary document — a few pages of text, a filled form, a lightly scanned certificate — clears 800 KB comfortably and usually keeps its text selectable, and a file already under 800 KB needs no real compression at all. A longer, photo-heavy or high-resolution scan is harder: to hit 800 KB the tool may have to rebuild those pages as JPEG images, which makes the text on them part of the picture and no longer selectable or searchable, and a very heavy scan can bottom out just above the cap, at which point the tool stops at the smallest legible size it can produce and surfaces a warning naming that figure rather than returning junk. The savings come from lossy compression, so there is a genuine quality trade-off on image-rich files, though at 800 KB it is gentler than at the 500 KB, 300 KB or 200 KB presets. Everything runs in browser memory, so a very large or high-page-count PDF is bounded by your device’s RAM, and the tool compresses one PDF at a time rather than a batch. The file must be openable by pdf.js and pdf-lib — a password-protected or corrupt document reports a clear, auto-dismissing error instead of a broken result. If a heavy scan will not fit 800 KB, enabling grayscale, removing spare pages or splitting the document first usually gets you under the cap.
Ordinary documents reach 800 KB comfortably and keep selectable text; a file already under 800 KB needs no real compression
A heavy photo-laden scan may need pages rasterised (making their text part of the image) or may bottom out just above the cap, with the smallest achieved size reported
Lossy compression means a real quality trade-off on image-rich files, though gentler than at 500 KB, 300 KB or 200 KB
In-browser processing bounded by device RAM; one PDF at a time; password-protected or corrupt files report a clear error
🔒Privacy & Security
Privacy: Your PDF Never Leaves the Tab
The documents people compress for an 800 KB form or upload box are often the sensitive kind — filled applications, signed forms, scanned certificates, short financial records — and this tool is built so none of it leaves your machine. The file is read with the browser File API, rendered entirely in memory with pdf.js (whose worker is bundled locally, so no third-party CDN is contacted), and the compressed document is rebuilt with pdf-lib inside a Web Worker on your own device. There is no server, upload, database, logging, API or CDN anywhere in the processing path, and the finished PDF is generated locally and downloaded straight from a Blob. The tool works offline once the page has been cached, and closing the tab discards every byte. There is no login and no telemetry, and the only optional network use anywhere on the site is consent-gated advertising, which never sees your files.
PDF read, rendered and rebuilt entirely in the browser; nothing uploaded
No server, upload, database, API or CDN in the processing path; pdf.js worker bundled locally
Compressed PDF built on-device in a Web Worker and downloaded from a local Blob; works offline once cached
No login or telemetry; closing the tab discards everything
Compress PDF to 800KB — target, quality and limits
Capability
Support
Notes
Target size
Locked at 800 KB
Parsed from the URL; a banner replaces the preset grid so there is nothing to configure
Quality variants
Best, Balanced, Smallest
Three generated in one pass; each tagged with a check when it lands at or under 800 KB
Method
Image re-encode + page rasterise
pdf.js renders pages, images are down-sampled and JPEG-re-encoded, and pdf-lib rebuilds the file
Fidelity
Light — gentle for everyday files
The sweep often stops early at 800 KB, so text documents and light scans keep detail and selectable text; files already under 800 KB barely change
Hard cases
Reports smallest achievable
Ordinary documents clear 800 KB easily; a heavy photo-laden scan may rasterise pages or stop at the smallest legible size with a warning
Privacy & scale
In-browser, bounded by RAM
Compressed with pdf-lib in a Web Worker on-device, one PDF at a time; 100% client-side, no upload
Compress PDF to 800KB locks the target at 800 KB (parsed from the URL) and rebuilds the document in the browser: pdf.js renders the pages, images are down-sampled and JPEG-re-encoded, and pdf-lib assembles the result inside a Web Worker, producing three variants (Best, Balanced, Smallest) each marked when it clears 800 KB. Because 800 KB is a roomy, gentle target — a touch more generous than 700 KB and just below 1 MB, yet far roomier than the 300 KB or 200 KB caps — the compression is light, so text documents and light scans keep detail and usually meet the cap without rasterising pages, keeping text selectable, and a file already under 800 KB barely changes; ordinary files reach it easily, while a heavy photo-laden scan may rasterise pages or stop at the smallest legible size with a warning. Reaching the target is lossy, so any rasterised pages lose selectable text. Everything runs on-device; nothing is uploaded.