Compress PDF for Malaysian Government Portal Upload — LHDN, JPA, EPF (2026)
You've filled in the form, scanned all your documents, and then — the portal rejects your file for being too large. This happens to thousands of Malaysians every year on LHDN, JPA, EPF, UPU, and SPA portals. Here's a complete guide to fixing it fast, for free, without uploading your sensitive documents to any server.
File Size Limits by Portal
Malaysian government portals enforce strict upload limits to manage server load. The limits below are based on current portal requirements as of 2026. These limits are per file — not per submission — so a multi-document application may require compressing each file separately.
Upload Limits by Portal (2026)
LHDN e-Filing (ezHASiL): 2MB per supporting document
UPU / MyGovUC (university application): 2MB per file
JPA Scholarship Portal (Biasiswa JPA): 2MB per document
EPF i-Akaun (KWSP): 1–2MB per file depending on document type
SPA Online (Suruhanjaya Perkhidmatan Awam): 2MB per document
MARA / Bank Rakyat scholarship portals: 1–2MB per file
MySejahtera / Padu: 2MB per upload
MyIPO (intellectual property): 5MB per attachment
MyEG (road tax, licence renewal): 2MB per supporting document
PTPTN (loan application): 2MB per file
Most portals share the same 2MB threshold. EPF i-Akaun is stricter for certain document types — when in doubt, compress to under 1MB to be safe across all portals. Portal limits can change without notice; if a file you've submitted before is now rejected, the portal may have tightened its limits.
Why Are My Scanned Documents So Large?
A scanned document at default scanner settings (300 DPI, colour) easily produces a 5–15MB PDF for just a few pages. Understanding why helps you fix it faster — and avoid the problem in future.
High DPI (dots per inch): 300 DPI is the standard for printing. For screen-only submissions to government portals, 150 DPI produces files that are 75% smaller while remaining perfectly readable. The portal reviewer is reading your document on a screen, not printing it at A3 size.
Colour scanning: Colour images store three values per pixel (red, green, blue) versus one for grayscale. For official documents like payslips, transcripts, and forms, colour is rarely required — and switching to grayscale cuts file size by 60–70%.
No compression in the scanner app: Default settings in CamScanner, Adobe Scan, and iPhone Notes prioritise quality over file size. The raw image data is embedded in the PDF with minimal compression applied.
Multiple pages: A 6-month bank statement scanned at 300 DPI colour can exceed 15MB. Each page adds 1–3MB at high quality settings. A 5-page payslip history can easily reach 8MB before compression.
Embedded metadata: Scanner apps embed device information, GPS data, and editing history into the PDF. This adds surprisingly little to file size but compounds with other factors.
The practical implication: a document that scans at 8MB can typically be compressed to under 500KB without any visible loss of legibility. The compression headroom is large because the source quality is far higher than needed.
Portal-Specific Tips
LHDN e-Filing (ezHASiL)
LHDN requires supporting documents during tax filing for claims like medical expenses, education fees, donations, and lifestyle purchases. The most commonly rejected files are:
EA Forms scanned in colour at 300 DPI — typically 3–6MB, compress to under 1.5MB
Medical receipts with logos and colour headers that inflate file size
Combined bank statements across multiple months — split into individual months before compressing
Insurance policy documents that are already-digital PDFs but bloated with embedded fonts
For LHDN, aim for under 1.5MB per file to have a comfortable margin under the 2MB limit. If you're uploading multiple supporting documents (e.g. several months of receipts), compress each one individually rather than merging them first.
UPU / MyGovUC (University Application)
SPM results slips, co-curricular certificates, and personal statements are the most commonly oversized files. Certificates printed in colour on certificate paper and scanned at high DPI are the usual culprits — the colour background and gold borders make these files surprisingly large. Since these documents have no fine print requiring high resolution, 150 DPI black-and-white compression works perfectly and is what portal reviewers expect.
JPA Biasiswa Scholarship Portal
JPA requires income proof, academic transcripts, and supporting letters. Income documents — payslips and bank statements — can get large when covering multiple months. Best practice: upload each document type separately rather than merging everything into one PDF. Compress each file to under 1.5MB. JPA reviewers often need to cross-reference specific pages, and separate files make this easier for them too.
EPF i-Akaun (KWSP)
EPF is one of the stricter portals — some document categories have a 1MB limit per file. Compress your documents to under 800KB when submitting to EPF to be safe. IC copies, bank account documents, and marriage certificates are the most frequent uploads. For IC copies, a simple black-and-white scan at 150 DPI produces a file well under 200KB, which is well within any portal's limit.
SPA Online (Civil Service Application)
SPA requires academic certificates, transcripts, and experience letters. Multi-page transcripts and certificate bundles are common — a full 3-year university transcript can be 10–15 pages and reach 8MB when scanned. Use maximum compression and split certificates from transcripts into separate uploads if the portal allows it. SPA also accepts documents via email in some cases, where attachment limits are typically 10–20MB — compression still helps here.
PTPTN Loan Application
PTPTN commonly requires offer letters, IC copies, and guarantor documents. The guarantor's income documents (payslips, EA form) are often the largest files. Compress each to under 1MB. If a guarantor is submitting on a phone, use ShrinkPDF's mobile-friendly interface — it works on Android and iPhone without installing an app.
Compression by Document Type
Different documents respond differently to compression. Here's what to expect:
Expected File Size After Maximum Compression
IC copy (1 page, colour scan): Typically 3–5MB → under 300KB after compression
Payslip (1–2 pages): Typically 1–3MB → under 300KB after compression
Bank statement (1 month, 2–4 pages): Typically 2–6MB → under 500KB after compression
Academic transcript (5–10 pages): Typically 5–12MB → under 1MB after compression
Certificate (1 page, colour): Typically 2–4MB → under 400KB after compression
EA Form (1–2 pages): Typically 1–3MB → under 400KB after compression
Offer letter / official letter (1–3 pages, text-heavy): Typically 500KB–2MB → under 300KB after compression
Text-heavy documents (letters, forms with typed content) compress significantly better than image-heavy scans. A well-formatted offer letter that is already a digital PDF may only need light compression to stay under 2MB.
Step-by-Step: Compress for Government Portal Upload
1
Check Which Files Are Too Large
On Windows: right-click the file → Properties → check the file size under "Size on disk". On Mac: right-click → Get Info. On phone: long-press the file in Files app or Google Files. Note the original size so you can confirm the compression worked. Any file over the portal's stated limit needs compression before upload.
2
Open ShrinkPDF on Any Browser
Go to ShrinkPDF.fyi on Chrome, Safari, or Firefox — no app download, no account required. Works on desktop (Windows, Mac) and mobile (Android, iPhone). The full tool loads in a few seconds.
3
Upload and Select Maximum Compression
Click "Choose PDF File" or drag and drop. Select Maximum compression — this is the right choice for all government portal documents. Maximum compression reduces file size by 70–85% while keeping text fully readable. Your file is processed entirely in your browser — nothing is uploaded to any server, which matters for sensitive documents like IC copies and payslips.
4
Download and Verify the File Size
After compression, download the file and check its size again. For EPF submissions, confirm it's under 1MB. For all other portals, confirm it's under 2MB. If submitting multiple documents, check each one before starting the portal upload session.
5
Open the File and Verify Readability
Before uploading to the portal, open the compressed PDF and scan through every page. Confirm the text is legible, no pages are missing, and key details (IC number, account number, amounts, signatures) are clearly visible. Zoom in to check fine print if needed. A rejected or unreadable document submission wastes everyone's time.
6
Upload to the Portal
Use the compressed file for your portal submission. If the portal still rejects the file despite being under the size limit, try refreshing the session and re-uploading, or use a different browser. Occasionally portal upload errors are server-side rather than file-related.
Privacy Note — Important for Government Documents
ShrinkPDF processes all files locally in your browser using JavaScript. Your IC copies, payslips, tax documents, and bank statements never leave your device — they are not sent to any server at any point. This is verifiably different from tools like Smallpdf or iLovePDF, which upload your files to their cloud servers for processing. You can confirm ShrinkPDF's local processing by opening your browser's Network tab while compressing — you will see no outgoing file transfer. For sensitive government documents, this distinction matters.
Tips Before You Even Scan
If you haven't scanned your documents yet, the right scan settings eliminate the compression step entirely. These settings produce portal-ready files directly from the scanner:
Use 150 DPI instead of 300 DPI — 150 DPI is sufficient for all Malaysian government portal submissions. Text remains sharp on screen. File size is ~75% smaller than 300 DPI. In CamScanner: Settings → Scan Quality → Standard. In Adobe Scan: this is harder to control, but exporting as "Compressed" helps.
Scan in black and white (grayscale) — Most Malaysian government documents (payslips, transcripts, letters) do not require colour. Black and white scanning cuts file size by 60–70% compared to colour. In iPhone Notes scanner: use the "Document" option, not "Photo". In CamScanner: colour mode → Grayscale.
Use Microsoft Lens (free) — Microsoft Lens produces smaller PDFs than most scanner apps by default and has better automatic edge detection. Available on Android and iPhone. Free with no ads.
Scan individual pages separately if possible — Managing one page at a time makes it easier to verify each scan and control file sizes. Avoid scanning 6-month bank statements as a single session if individual months can be uploaded separately.
Still Too Large After Compression?
For documents that still exceed the portal limit after maximum compression, these are the most effective fallbacks:
Split the document: Use the ShrinkPDF Split tool to break a multi-page PDF into smaller files. Upload each part separately if the portal allows multiple uploads for the same document category.
Re-scan at lower settings: If you have the original physical document, re-scan at 100–150 DPI in grayscale. A single A4 page scanned at 150 DPI grayscale is typically 50–150KB — well under any portal's limit.
Remove unnecessary pages: Use the Reorder tool to delete blank pages, duplicate scans, or summary pages before compressing. Removing even one high-resolution page can make the difference.
Contact the portal helpdesk: Some portals have an exception process or an email submission alternative for documents that genuinely cannot be compressed further (e.g. a 20-page medical report). LHDN and EPF both have customer service lines where this can be raised.
✓ Compress Your PDF Free — No Login Required
No registration. No file size limit. Your file never leaves your browser.
Is it safe to compress sensitive government documents like IC copies or payslips? ▼
Yes. ShrinkPDF processes all files locally in your browser. Your IC copies, payslips, tax documents, and bank statements never leave your device — they are not sent to any server at any point. This is verifiable: open your browser's Network tab while compressing and you'll see no outgoing file transfer. You can also go offline after the page loads — compression will still work because no server connection is needed.
What file format do Malaysian government portals accept? ▼
All major Malaysian government portals (LHDN, JPA, EPF, UPU, SPA, PTPTN, MyEG) accept standard PDF format. The compressed file from ShrinkPDF remains a fully standard PDF and is compatible with all portal upload systems. Do not convert to JPG or PNG unless the portal specifically requests image format — most portals that accept images also accept PDF and PDF is generally preferable.
My compressed PDF is still over 2MB. What should I do? ▼
The most effective fix is to re-scan the original document at 150 DPI in black and white — this alone reduces scanned PDFs by 70–80% compared to default scanner settings. If re-scanning isn't possible, use ShrinkPDF's Split tool to divide the document into smaller parts and upload them separately. If the portal accepts only a single file, contact the portal helpdesk — they often have an email submission alternative for genuinely large documents.
Will compression make my documents unreadable or invalid for government purposes? ▼
No. Maximum compression keeps text sharp and fully legible while reducing image resolution. For text-heavy documents like payslips, letters, and transcripts, the compressed output looks nearly identical to the original. Images (like a scanned photo or logo) may look slightly softer at high zoom, but remain perfectly readable for official purposes. Always open the compressed file and verify key details (IC number, amounts, signatures) are clear before submitting.
Which compression level should I use for LHDN vs EPF? ▼
Use Maximum compression for both. For EPF, which enforces 1MB limits on some document types, maximum compression is essential. For LHDN's 2MB limit, maximum compression gives a comfortable margin. There is no practical reason to use a lower compression level for government portal submissions — text quality is preserved at all levels, and the only difference is how aggressively images are resampled.
Can I compress PDFs on my phone for portal uploads? ▼
Yes. ShrinkPDF works on mobile browsers — Chrome and Samsung Internet on Android, and Safari on iPhone. Open shrinkpdf.fyi in your browser, tap "Choose PDF File", and select the file from Files, Google Drive, or your downloads. After compression, the file downloads to your device's Downloads folder, from where you can attach it directly to the portal upload field. No app installation required.
I compressed my IC copy but it looks slightly blurry. Will the portal still accept it? ▼
For Maximum compression, images are resampled at lower resolution, which can make them look slightly softer when zoomed in closely. However, the IC number, name, and address should remain clearly legible at normal viewing size. Portal reviewers read documents at standard zoom — they are not examining pixel-level sharpness. If in doubt, try Balanced compression instead of Maximum — it produces a slightly larger file but preserves image quality more closely. Always verify the compressed file before submitting.