How to Compress a PDF to a Specific Size for an Online Form
9 min read · 1,794 words
How does compress pdf to specific size work?
How to Compress a PDF to a Specific Size for an Online Form
Get a PDF under a 100 KB, 200 KB or 2 MB upload limit: set a target size, fix scans that will not shrink, and check readability before you submit.
Ask Siliph
Answers from this article
Suggested questions
Free Siliph tool
Compress PDF
Set up for online form uploads.
- Free for personal use
- No account, no watermark
Key takeaways
- Find the exact limit and aim about 5 to 10 percent below it, because portals do not all count kilobytes the same way.
- A target size setting is faster than guessing between compression levels: Siliph's Compress PDF accepts presets from 50 KB to 500 KB or any custom value from 20 KB to 5000 KB.
- Scans and photos are what make PDFs big. Text-only PDFs are already small and barely shrink.
- When a target cannot be reached, convert colour scans to grey, drop extra pages or split the file, then compress again.
- Always open the result at 100 percent zoom and read the smallest print before you upload it.
In this article
To get a PDF under a fixed upload limit such as 200 KB or 2 MB, compress it towards a target size instead of picking a vague "high" setting, aim a little below the limit, and then check that the text is still readable. If the file still will not fit, the fix is to remove what makes it heavy: colour, resolution and pages nobody asked for.
Online forms are blunt about file size. An exam board, a council or a visa portal sets a number, and anything above it bounces, however important the document. This guide walks through how to hit that number on the first or second try, what to do when a scan refuses to shrink, and which free desktop tools do the same job if you would rather not use a website.
Key takeaways
- Find the exact limit and aim about 5 to 10 percent below it, because portals do not all count kilobytes the same way.
- A target size setting is faster than guessing between compression levels: Siliph's Compress PDF accepts presets from 50 KB to 500 KB or any custom value from 20 KB to 5000 KB.
- Scans and photos are what make PDFs big. Text-only PDFs are already small and barely shrink.
- When a target cannot be reached, convert colour scans to grey, drop extra pages or split the file, then compress again.
- Always open the result at 100 percent zoom and read the smallest print before you upload it.
Why some PDFs are so large
Almost all of the weight in an oversized PDF is image data. A page typed in Word is stored as text and font instructions, which take very little space. A page that came from a scanner or a phone camera is stored as a photograph of the paper, and a photograph at print resolution is heavy. Ten scanned pages in colour can easily outweigh a 200-page novel exported as text.
That is why compression tools mostly work by re-encoding images at a lower resolution and quality. The open-source Ghostscript engine, which many PDF tools build on, makes this visible in its documented presets (Ghostscript documentation):
| Ghostscript preset | Colour and grey image resolution | Typical use |
|---|---|---|
| /screen | 72 dpi | Smallest file, on-screen reading only |
| /ebook | 150 dpi | Good balance for forms and email |
| /printer | 300 dpi | Print quality, larger files |
| /prepress | 300 dpi | Print production, largest files |
You do not need to use Ghostscript to benefit from the table. It tells you that dropping a scan from 300 dpi to 150 dpi cuts the pixel count to a quarter, and that 72 dpi is where small print starts to suffer.
Know the limit you are aiming for
Before compressing anything, find the exact rule. Real portals are specific, and the wording often contains extra hints:
- The Jammu and Kashmir Board of Professional Entrance Examinations says "The maximum file size for an individual PDF files is 200KB" and asks applicants to scan "at 150 dpi" in black and white (JKBOPEE scanning guidelines).
- Ipswich Borough Council in the UK lists "PDF files: Maximum 1 MB" for Council Tax evidence uploads (Ipswich Borough Council).
- Email is more generous. Personal Gmail accounts allow 25 MB of attachments (Gmail Help), and Outlook.com also states a 25 MB attachment limit (Microsoft Support).
Two practical points follow. First, some systems treat 1 MB as 1,000 KB and others as 1,024 KB, so a file at 199 KB can still fail a "200 KB" check on a strict system. Aiming for 180 to 190 KB removes that doubt. Second, when a portal tells you the scan settings it expects, use them. A 150 dpi black-and-white scan starts life far smaller than a 600 dpi colour one, and no compressor can fully undo a bad starting point.
How to compress a PDF to a target size with Siliph
Siliph's Compress PDF tool is free, needs no account and takes files up to 200 MB and 2,000 pages each, with up to 50 files in one task.
- Open Compress PDF and drag your file into the drop zone, or tap Choose PDF files on a phone.
- Under the options, pick a target. The presets cover 50, 100, 200, 300 and 500 KB. For anything else, such as 180 KB or 1,900 KB, type a custom value between 20 KB and 5000 KB.
- If you have no fixed limit and only want a smaller file for email, choose a level instead: Less keeps images close to the original, Recommended suits most sharing, and Extreme gives the smallest file.
- Click Compress PDF. The result screen shows the old and new size side by side.
- Download the file and open it. If it is still too large, run it again with Extreme compression, or use the fixes in the next section.
If you always work to the same limit, the pages for compress PDF to 100 KB, compress PDF to 200 KB, compress PDF to 1 MB and compress PDF to 2 MB open the same tool with that target already set.
When the target size will not budge
Sometimes the tool lowers image detail as far as it sensibly can and the file is still over the line. That usually means the document has more image data than the target can hold. Work through these fixes in order, then compress again.
| Problem | Fix | Trade-off |
|---|---|---|
| Colour scan of a black-and-white document | Convert it with PDF to Grayscale | Pages become images, so text in a typed PDF stops being selectable, and a text-only file can even grow |
| Blank backs, cover sheets or pages the portal did not ask for | Remove them with Delete Pages | None, as long as you keep what was requested |
| One long document and a portal that accepts several uploads | Cut it into parts with Split PDF by size | The reviewer receives several files |
| Phone photos about to go into a PDF | Shrink each photo first with Compress Image, then build the PDF with JPG to PDF | Slightly more steps |
| A 600 dpi colour scan | Rescan at the dpi the portal suggests, often 150 dpi in black and white | Needs access to the paper and a scanner |
Grayscale is the change people skip most often, and it is usually the biggest win for scanned certificates, ID cards and mark sheets. A coloured stamp or blue ink signature stays visible as a mid or dark grey. Check pale yellow or pink marks, which can fade.
Check the result before you upload
A file that passes the size check but cannot be read is worse than one that is rejected, because nobody tells you. After compressing:
- Open the PDF at 100 percent zoom, not "fit to page", and read the smallest text on each page.
- Check numbers that matter: roll numbers, dates of birth, account numbers. Digits like 3 and 8 blur together first.
- Look at stamps, seals and signatures. Officials often look for these specifically.
- Confirm the page count. A compressor should never remove pages, but a quick count catches the wrong file.
If the text has gone soft, step back: compress the original with a slightly larger target, and save space by converting to grey or removing pages instead.
Free alternatives to an online compressor
You do not have to upload a document to compress it. These options are built into common software:
- Mac Preview: open the PDF, choose File > Export, set the Quartz Filter pop-up menu to Reduce File Size, and save (Apple Preview User Guide). It has no target size, and it can be aggressive with scans, so check the output.
- Ghostscript: free and open source on Windows, Mac and Linux. The /ebook preset in the table above is a sensible starting point for forms. It suits people comfortable with a command line.
- Adobe Acrobat online: Adobe's free online compressor offers High, Medium and Low levels, and Adobe says "Unlimited compression, batch processing, and advanced setting controls require a paid Acrobat plan" (Adobe).
The trade-off is control. None of these lets you type "190 KB" and get a file that fits, which is the main reason to use a target-size tool for forms.
On privacy: Siliph's Compress PDF is a hybrid tool. Small files are processed in your browser. Larger ones go over an encrypted upload, are processed automatically with no human access, and are deleted from Siliph's servers within 2 hours.
If you are working through an Indian government portal, the DigiLocker upload guide covers that portal's limits in more detail. For scanned documents that also need to be searchable, see how to make a PDF searchable with OCR.
Frequently asked questions
How do I compress a PDF to exactly 100 KB?
Set the 100 KB preset in Compress PDF, or a custom value slightly below it such as 95 KB, and run the task. Exact sizes are rarely possible because image quality moves in steps, so the tool aims to land under the target rather than on it.
Why does the portal reject my file when it is under the limit?
The portal may count kilobytes differently, may also limit pages or file names, or may reject password-protected PDFs. Aim 5 to 10 percent under the stated limit, remove any password, and check that the file name has no unusual characters.
Will compressing a PDF make the text blurry?
Typed text, fonts and vector graphics are not re-encoded, so they stay sharp. Scanned pages are images, so their text can soften at strong settings. Always read the smallest print at 100 percent zoom before uploading.
Can I compress a PDF on my phone?
Yes. Compress PDF runs in the browser on Android and iPhone, so you can pick the file from phone storage, choose a target size and download the smaller copy without installing an app.
Why did my PDF get bigger after converting it to grayscale?
Grayscale conversion turns every page into an image. For a scan that saves space, but a PDF made of typed text was small to begin with, and storing its pages as images can make it larger. Use grayscale on scans, not on text documents.
Free Siliph tool
Compress PDF
Set up for online form uploads.
- Free for personal use
- No account, no watermark
Founder, Siliph
Founder and solo developer of Siliph. He builds the site with one goal: keep every tool free for personal use on the internet.

