Resize PDF to target file size
Set a hard byte cap—common for government portals, visa uploads, and résumé sites. We search JPEG quality and DPI locally until we hit your target or show the closest result.
Compress PDF to a specific size
Most “compress PDF” buttons only promise a smaller file. Real life—especially in India, the United States, the European Union, and corporate HR portals—often demands a number: 100 KB, 200 KB, 500 KB, or 1 MB. When a portal rejects your upload at 9:47 p.m. without explaining why, you need a workflow that treats that cap as the objective, not a suggestion. Our resize tool runs entirely in your browser: it tries structural cleanup first, then rasterizes pages and re-encodes them as JPEG while binary-searching quality and stepping down DPI until your target is met—or until it tells you the smallest honest result your settings allow.
Common PDF size requirements
- Indian UPSC / SSC / state PSC portals: applicants routinely see 100 KB–300 KB caps on photograph and signature PDFs. Colour scans blow past those limits unless you resize deliberately.
- US DS-160 and similar visa flows: supporting uploads often land between 500 KB and 2 MB depending on the embassy's intake software and the document category.
- Job portals (LinkedIn, Indeed, greenhouse, government HR): résumé PDFs are commonly limited to roughly 2 MB–5 MB, but aggressive recruiters still prefer lean files for mobile review.
- Email attachments: SMTP gateways and Outlook rules still nudge people toward 10 MB–25 MB effective ceilings even when providers advertise more.
- Banking KYC packs: Indian private-sector banks, cooperative societies, and NBFC onboarding stacks frequently ask for 100 KB–500 KB evidence uploads per field—passport, address proof, income statement—each validated independently.
How to compress a PDF without losing quality blindly
Start with the highest JPEG quality floor you can afford, then let the tool walk downward. Structural passes preserve vector text when they work; raster passes bake the entire page into pixels, which is heavier visually but sometimes the only way to satisfy a 200 KB cap on a colour scan. Always zoom to 150% in your desktop reader before you submit anything with small fonts or stamped seals.
Why specific size targets matter
Upload validators rarely care that your document “looks fine on screen.” They read file size first because it proxies memory usage, virus-scanning cost, and archival quotas. A tool that speaks in kilobytes aligns with how those validators think. That is the difference between a generic compressor slider and a target-size workflow built for government forms, visa evidence, and bank KYC queues.
FAQ
Why does my PDF need to be exactly 100 KB?
Legacy intake systems allocate fixed buffers. When the buffer is 102,400 bytes, 102,401 bytes fails—even if the extra byte is harmless. Targeted resizing exists to satisfy those rigid checks without uploading your passport to a random cloud shrinker.
Will compression affect text quality?
If we never rasterize, vector text stays sharp. If we rasterize to hit a micro-cap, text becomes part of a JPEG like a screenshot—readable at normal zoom but vulnerable to ringing if you push quality too low.
What is the smallest size I can achieve?
Physics and page count set the floor. A twenty-page colour scan cannot become 20 KB without removing pages or converting to monochrome outside this tool's scope.
Does this work on scanned PDFs?
Yes. Scans compress dramatically compared with vector academic papers, but you should expect to trade resolution for bytes.
Can I compress to a size larger than the original?
No meaningful work happens in that case—the tool returns your original file because the target is already satisfied.
Hitting an exact PDF byte budget in your browser
Some portals do not ask for “smaller”—they ask for “under 200 KB” or “under 500 KB.” That requirement is painful when your export is a crisp scan or a slide deck packed with images. This tool treats the cap as the goal: we first try a structural rebuild with pdf-lib, then—only if needed—rasterize pages through PDF.js, re-encode them as JPEG, and binary-search quality (and step DPI down) until we land inside your budget or surface the closest achievable size with an honest warning.
Text-native PDFs exported from Google Docs or LaTeX often shrink a little from structural cleanup alone, but scans behave like photographs: the real savings come from JPEG recompression and resolution. That trade is why we show live progress with current bytes versus your target, plus how many search iterations ran. You stay in control of the aggressiveness floor and the maximum DPI so you can bias toward readability when the portal still gives you a few hundred kilobytes of headroom.
Government forms, visa uploads, bank KYC packets, and Indian competitive-exam portals are the classic use cases. They reject oversize files at upload time, sometimes without a helpful error message. Running the resize locally means you can iterate at midnight without exposing passport scans to a third-party API. Keep an original master PDF somewhere safe; treat the resized file as a derivative purpose-built for submission.
If the tool cannot reach an unrealistic target—say a forty-page colour scan down to 50 KB—it will still return the smallest file it could produce under your settings, along with guidance to raise the cap, allow aggressive compression, lower the DPI ceiling, or split the document. That transparency matters more than pretending every document can shrink infinitely.
FAQ
Why does my PDF need to be exactly 100 KB?
Many legacy government and banking portals hard-code upload limits. They validate file size before they read page content. Meeting the number is what lets your application proceed.
Will compression affect text quality?
Structural passes try to preserve vector text. If we must rasterize to JPEG to hit a tiny cap, text becomes part of the image and can soften at aggressive qualities—zoom the download before you submit.
What is the smallest size I can achieve?
It depends on page count, colour versus grayscale content, and how low you allow JPEG quality and DPI. Multi-megabyte scans can often reach a few hundred kilobytes; reaching 100 KB with many colour pages may be impossible without splitting.
Does this work on scanned PDFs?
Yes—scans are where raster compression helps the most. Expect larger quality swings than text-only PDFs.
Can I compress to a size larger than the original?
If your target is bigger than the file you already have, we simply return the original bytes—there is nothing to gain.
Do you upload my PDF?
No. All passes execute in your browser tab using pdf-lib and PDF.js.