Reduce image file size when the file is too large to upload

Hit a "file too large" error trying to upload a photo? Most upload limits are 5-25 MB, and most phone photos exceed that. Here's how to shrink yours to under the limit in 30 seconds.

You're filling out a form. You attach a photo. You hit submit and get an error: "file too large, maximum 5 MB". Your phone photo is 12 MB. Now what?

This article covers the fastest paths to shrink an image under any size limit while keeping it readable. Methods are ranked by speed and reliability.

Common upload limits

Most platforms enforce one of these limits:

  • Email attachments (Gmail, Outlook): 25 MB total per email.
  • WhatsApp: 16 MB per file.
  • Government and tax portals: often 2-5 MB per file.
  • Job application sites: usually 2-10 MB.
  • School and university portals: 2-5 MB typically.
  • Social media uploads: usually generous (20+ MB) but they re-compress aggressively.
  • Web forms (general): 5-10 MB is the common default.

The 2-5 MB tier is where most people hit problems, because that's where modern smartphone photos exceed the limit. A current iPhone or Android shoots photos at 5-15 MB.

Method 1: shrink in your browser (30 seconds)

The fastest path: a browser-based image compressor. Open the page, drop your file, set a target size, download the result.

Using pictoolkit's compressor:

  1. Open the compress tool.
  2. Drop your photo onto the drop zone.
  3. Adjust the quality slider (start at 75 for aggressive compression).
  4. Watch the live file size estimate. Adjust until it's under your target.
  5. Download the compressed file.

For a 12 MB iPhone photo, quality 70 typically produces a 600-1200 KB result with no visible quality loss. That's well under the 2 MB limit most forms enforce.

Files never leave your device — everything happens in your browser. If you're submitting a photo with sensitive content (passport, ID document, signature), this is the safest option.

Method 2: resize before compressing

If aggressive compression isn't enough — or if you want the smallest possible file — resize first, then compress.

Most uploads only need an image at moderate dimensions. A passport photo doesn't need to be 4032×3024. A scan of a signed form doesn't need 24 megapixels. Resizing to 1200-1600 pixels on the longest side handles almost every use case and cuts file size by 80% before you touch compression quality.

Use pictoolkit's resize tool first (set max 1600px), then compress the resized file.

Method 3: change the format

If the source file is a PNG (often the case for screenshots), simply converting to JPG or WebP can cut the size by 5-10× with no real quality loss for most content.

  • Photos as PNG: convert to JPG. Massive savings.
  • Screenshots: keep as PNG (text degrades in JPG) but optimize with a PNG optimizer.
  • Anything for modern platforms: WebP. Smaller than both JPG and PNG.

Many forms accept JPG and PNG but reject other formats. Stick to JPG for maximum compatibility.

Method 4: built-in OS tools

iPhone: Mail's "Choose image size"

When you attach a photo to an email on iPhone, Mail asks if you want to resize the image. Pick "Small" (320KB-ish) or "Medium" (1-2 MB) to automatically shrink the attachment.

This doesn't help for non-email uploads, though. For browser uploads, you'll need a different method.

Android: Files app

Google Files (the Files app) has a basic "compress" option in the share menu on some Android versions. Quality control is limited but it works for quick fixes.

Windows: Photos app

Open the image in Photos, click the resize button (the icon that looks like a square with arrows), pick a smaller size. The output is saved as a new file.

Limited control compared to dedicated tools but built-in and free.

Mac: Preview

Open the image in Preview, go to File → Export, set a quality (uses a slider for JPG, or pick "smaller file size" presets). Export as a new file.

Method 5: PDF compression (when uploading a scan)

If you're uploading a scanned document and it's a PDF that's too large, the situation is slightly different. PDFs containing image scans can be compressed by:

  • Re-saving with lower image quality (Acrobat's "Reduce File Size" option).
  • Converting to grayscale if color isn't required.
  • Lowering DPI from 600 to 200-300.

For text documents in PDF, the file is usually small to begin with — the issue is image-heavy PDFs.

How small to go

The smallest file that still serves the purpose. For these specific use cases:

  • Profile photo / avatar: 50-200 KB is plenty.
  • Photo evidence for an insurance claim: 500 KB-2 MB. Detail matters here; don't go too small.
  • Scan of a document: 200-500 KB if text-only; up to 1-2 MB if it has photographs.
  • Product photo for a marketplace listing: 200-500 KB.
  • Photo to send to a friend: 500 KB-1 MB is courteous; bigger is fine if the friend's data plan can handle it.

Quality red flags

You've compressed too aggressively if you see:

  • Blocky, checkerboard-like patterns in smooth areas.
  • Color banding (gradients showing as visible stripes).
  • Halos around sharp edges.
  • Text becoming hard to read.

If any of these appear, bump the quality up by 10-15 and re-export.

A reusable workflow

  1. Open the image and check its current size.
  2. If wildly over (10× the limit), resize first to 2× display dimensions.
  3. Compress at quality 75-80. Check size.
  4. If still over, drop quality to 65-70. Recheck.
  5. If still over, resize smaller again (1200px max). Compress at 70.
  6. If still over and the platform is being unreasonable, switch to a different platform.

Shrink any image to fit any upload limit with pictoolkit's compressor and resizer. Drag, set target size, download — under 30 seconds.

Keep reading

Related articles