Free · Under 5 MB

Get your image under 5 MB

Pick a photo, hit Shrink it, and download a copy under 5 MB. It stays as sharp as it can, and it never leaves your device.

Target size

  • Under 5 MBFree

More sizes in the HTML Lens iPhone app

  • Under 2 MBApp
  • Under 1 MBApp
  • Under 500 KBApp
  • Under 200 KBApp
  • Under 100 KBApp
  • Custom target sizeApp

Need a specific size? Get HTML Lens for iPhone.

HTML Lens is coming to the App Store. Join the waitlist and we’ll tell you when it’s out.

Runs in your browser. Your photo never leaves your device.

How it works

01

Choose a photo

Pick a JPG or PNG, or drop it on the box. It opens in your browser, not on a server.

02

Shrink it

HTML Lens looks for the sharpest copy that fits under the limit, lowering quality first and dimensions only if it has to.

03

Check and download

See the size and dimensions before and after, then download the copy. Your original stays exactly as it was.

How it gets under 5 MB

First it tries your photo at full size with slightly lower JPEG quality, which is usually enough. If the file is still over, it steps the dimensions down a little at a time until it fits.

If your image is already under 5 MB, it says so and doesn't make a pointless copy.

Common questions

Is it free?

Yes. Getting an image under 5 MB here is free, with no account and no watermark.

Does my photo get uploaded anywhere?

No. The resizer runs in your browser on your own device. There is no HTML Lens server receiving your image, and the original file is never changed. You download a new copy.

Will it turn my photo into a blurry mess?

It tries hard not to. HTML Lens keeps the quality high first and only makes the picture smaller in dimensions when it has to. You see the before and after size and dimensions before you download anything.

What if it can't get small enough?

It tells you. HTML Lens only says a copy fits when the file it actually made is under the limit. If it can't get there, you'll see the closest it got and can decide whether to use it.

Which formats work?

JPG and PNG go in. You can save as JPEG, PNG, or WebP in browsers that can create WebP. For photos, JPEG usually gives the sharpest result for the size.