MalaysiaGovernmentLHDNHow-To⏱ 10 min read

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)

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.

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:

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

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:

Still Too Large After Compression?

For documents that still exceed the portal limit after maximum compression, these are the most effective fallbacks:

✓ Compress Your PDF Free — No Login Required

No registration. No file size limit. Your file never leaves your browser.

📚 Compress My PDF Now

Frequently Asked Questions

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.