Switching

Optimization

How to Get an Image Under 500KB: Resize First, Then Compress

Phone photos run 3 to 8MB, so a 500KB limit stops them right away. How resizing differs from compressing, how a target-size setting works, and sensible limits for forms, email, and job sites.

June 25, 2026· Last updated September 3, 2026

To get an image under 500KB, shrink the pixel dimensions first and lower the quality second. File size grows with the number of pixels, so halving the width leaves a quarter of the pixels and gives the biggest drop. If it is still too large, adjust the JPG quality, or use a tool that takes a target size and finds the right quality for you.

Government portals and job sites often turn a photo away with "file size must be under 500KB." A phone photo today is 3 to 8MB, so it won't go through as it is. There is a set order for shrinking it without visibly hurting the quality.

Resizing and compressing are different jobs

You have two dials for file size, and they do different things.

  • Resize: reduce the image's width and height in pixels. Taking 4000×3000 down to 1600×1200 cuts the size sharply.
  • Compress: keep the pixel count and lower the JPG quality value, so the data is stored less densely.

Resizing makes the image physically smaller. Compressing keeps the dimensions and stores the detail less precisely. In most cases you lose the least quality by using the two together.

The order that works best

Lowering the quality again and again makes the whole image look grimy. This order works better.

  • Step 1: Resize to a size that fits the use. For viewing on a screen, around 1600px wide is enough.
  • Step 2: If it's still too big, lower the JPG quality a little at a time: 80, then 70, then 60.
  • Step 3: If it's a PNG that doesn't need a transparent background, converting it to JPG can by itself cut the size in half or more.

Setting a target size

Re-saving over and over at different quality values is tedious. With a target-size mode you enter a limit such as "under 500KB," and the tool finds the highest quality that still fits.

Limits by use

The right size depends on where the file is going.

  • Online forms and applications: usually capped at 200 to 500KB. Resizing first and then setting a target size works best.
  • Email attachments: when sending several, keeping each image under 500KB makes the total easy to manage.
  • Job and profile photos: these come with an aspect-ratio rule as well as a size cap, so check the ratio when you resize.
  • Blog and product images: they're for screen display, so 1200 to 1600px wide at quality 70 to 80 is enough.

Switching's image compress tool takes a target size and gets the file under it, and the resize tool lets you cut the pixel dimensions first. Processing happens inside your browser and files are not uploaded to a server, so ID photos and identity documents stay on your device while you shrink them.

Frequently asked questions

How far can I lower quality before it shows?
For photos, quality around 80 is hard to tell apart from the original. Below 60, blotches start to appear in areas where color changes smoothly, such as sky or skin. Images with text are more sensitive: the edges of the letters already look messy below 80.
Should I resize or compress first?
Resize first. Squeezing a 4000px photo to 500KB with quality alone damages it badly. Reducing the width to 1600px and then lowering quality slightly gives a much cleaner result. For anything viewed on a screen, 1600px is usually enough.
My PNG won't get any smaller.
PNG is lossless, so there is no quality setting to lower. If you have a photo saved as PNG, converting it to JPG or WebP usually cuts it to a fifth or a tenth. If you really need transparency, lossless WebP is still lighter than PNG.
I need to hit 500KB exactly and trial and error is tedious.
Use a tool that accepts a target size. It finds the highest quality that stays under the byte limit you set, and if quality alone isn't enough, it reduces the dimensions as well until the file fits.

Related tools