Blog · Guides

Compress PDF

Reduce PDF file size for Malaysian government portal uploads

Upload forms on Malaysian government and agency websites tend to give unhelpful errors. “File size exceeded” or “invalid file” tells you very little when the PDF opens perfectly on your own computer. Usually the real cause is one of three things: the file is too heavy, it contains pages that should not be there, or it is a scan built from very large photographs.

The steps below set out an order of work that cuts size while keeping the document legible. It is troubleshooting based on how PDFs behave, not an official rule from LHDN or any other agency, and it is not tax or legal advice.

Usual reasons an upload fails

Every service sets its own limit, and limits change. Find the figure in the upload instructions or help page of the portal you are using and aim below it. If no figure is given, make the file as compact as you can while it stays easy to read, then try the upload.

Step-by-step order

  1. Drop unnecessary pages. Empty reverse sides, accidental rescans, cover sheets you made yourself and unrelated attachments cost size and add nothing. Take them out with Remove PDF Pages, or use Split PDF if the content really belongs in two separate uploads.
  2. Straighten and trim. Sideways pages and thick black scan borders may not add much weight, but they slow down the officer reviewing your file. Rotate or crop only where it helps.
  3. Compress a single time. Put the file through Compress PDF, download it and open the result. At normal reading zoom, check signatures, IC or passport numbers, dates and small print.
  4. Give it a sensible name. Something like ea-form-receipts-2026.pdf or perkeso-claim-supporting-docs.pdf works well. Some portals reject odd characters in file names, so keep to letters, numbers and hyphens.
  5. Upload, then verify. Confirm the attachment appears on the portal and, if there is a preview, that the pages display properly.

Why compressing again and again is a bad idea

Compression shrinks a PDF mainly by lowering image detail. Most of the saving comes in the first round. Each extra round saves less, while the text on scanned pages turns fuzzier and more pixelated. If one pass does not get you under the limit, go back and cut pages or rescan at a lower setting, instead of squeezing the same file yet again.

Uploading to MyTax, KWSP, PERKESO, SSM and similar portals

Whether you are attaching documents for LHDN e-Filing, a KWSP withdrawal or PERKESO claim, an SSM registration, a UPU university application or a state or local council service, clarity matters as much as file size. A tiny, unreadable MyKad scan might pass the size check and then be turned down when an officer actually looks at it, which normally costs more time than the size error did.

Choose a clear file of moderate quality over a minuscule one nobody can read. If the form takes more than one attachment, two legible files beat one over-compressed file. And upload into the matching field: where there is a slot for identity documents and another for income evidence, fill each one separately rather than merging everything.

If size is not the issue

A file comfortably under the limit that still fails usually has a different problem, such as:

No guarantees

Government systems are upgraded from time to time. A file accepted last year can be refused after an update, and different sections of the same portal may not behave alike. If you are still stuck after removing pages and compressing once, read the service’s FAQ or contact its helpdesk to ask about other formats, separate uploads or another way to submit. Do what they advise rather than shrinking the same scan over and over.

Upload checklist

Related guides