Skip to main content

How to get a image under 5MB for most upload forms

5MB is the sweet-spot limit for university portals, job boards, and most web forms. Document Scanner hits it without thinking.

Most people hit this exact problem at least once: a image that needs to be under 5MB.

5MB is a scanned 10-page document or a short photo album. It's tighter than the average phone snapshot and a long way from a raw scanner output. Getting there cleanly is doable, but the defaults most software ships with are tuned for archival quality, not for hitting a hard upload limit.

Launch the tool: Document Scanner — Everything happens locally in your browser — your file never leaves your device.

What 5MB actually looks like

For context — 5MB of a image is roughly a scanned 10-page document or a short photo album. If the original image is dramatically larger, expect a visible quality drop. If it's only marginally over, you'll hit 5MB without compromising the look.

How to hit the 5MB target with Document Scanner

  1. Open Document Scanner. No install, no signup.
  2. Drop the image on the upload area. Document Scanner reads it locally — the file never goes to a server.
  3. Choose the most aggressive preset available. For tight size targets, you want maximum compression. The middle setting won't get you to 5MB on the first pass.
  4. Check the output size badge. Document Scanner shows the result size next to the download button. If it's still above 5MB, run it through a second time with the aggressive preset.
  5. If you need exactly 5MB, accept slightly more aggressive compression than feels comfortable. Most viewers will not notice; the upload portal will.

When the first pass isn't enough

Some images fight back. Three reliable second-pass tricks:

  • Downsize first, then compress. If the image has more resolution than the final use needs, reduce dimensions before re-encoding. Half the pixels = a third the file size, with no visible loss for screen viewing.
  • Strip embedded metadata. EXIF, color profiles, thumbnails, and history layers can add 10–30% to the size with zero visual impact. Document Scanner strips them automatically on aggressive presets.
  • Convert format on the way down. If the image is in a lossless format, switching to a lossy one (where appropriate) often beats any in-format compression. Document Scanner suggests the right output format based on what you're optimising for.

Run it in your browser

Document Scanner →

Browser-only. Nothing is sent to a server.

Why 5MB is such a common target

It's not a coincidence. Most upload forms — government portals, university applications, job-board file uploads — settled on 5MB or thereabouts because it's the largest size that still loads quickly on mobile networks worldwide. Knowing how to hit 5MB reliably solves about 60% of all "my file is too big" situations.

Frequently asked questions

Does Document Scanner support batches?

Yes — drop multiple images at once and they all hit the 5MB target. Useful when a portal asks for multiple documents within the same per-file cap.

What's the smallest a image can reasonably get?

It depends on content. A pure-text image can compress to a few KB. A photo-heavy image hits diminishing returns somewhere between 50KB and 200KB depending on the image content.

Will Document Scanner change the file extension?

Only if you ask it to. By default it keeps the original extension and only changes the bytes inside. The output drops in cleanly anywhere the original would have.

Will compressing to 5MB look bad?

It depends on the source. A image that started at 5MB of natural content will look fine. One that started at 50× the target will show visible compression artifacts.

Related guides


Ready to try it?

Launch the tool: Document Scanner. Everything happens locally in your browser — your file never leaves your device.


Last reviewed May 2026. File-size limits, portal requirements, and software defaults change over time — always verify with the destination platform before uploading time-sensitive documents. References to third-party services and products are for descriptive purposes only and do not imply any partnership or endorsement.