FLXCode Resize Image

FLXCode apps

Appearance

Resize Image

Make a picture smaller in two clicks. It starts at 50%, and you can change it to pixels or a preset.

or drop them here, or paste with Ctrl+V

JPG, PNG, WebP, HEIC, AVIF, GIF and BMP, up to 50 megapixels each. Nothing is uploaded. Location and camera data are removed from the saved files.

Works offline: load this page, edit one picture, turn off Wi-Fi, edit more. Nothing you add is sent anywhere.

Your pictures never leave this device. There is no upload, no account and no watermark. How we count

Problem or idea? Email us

How to use it

  1. Choose a picture or drop it here. A whole folder worth of photos works too.
  2. The tool starts at 50%. Change the number, or switch to Pixels or Preset.
  3. Press Resize.
  4. Download the new file, which keeps your name with "-resized" added.

Percent to size, for a 4000 × 3000 photo

Each row is a setting you can type in the Percent box. The size comes from the same code as the tool.

PercentResult in pxMegapixelsPixels left
75%3,000 × 2,2506.8 MP56.3%
50%2,000 × 1,5003.0 MP25%
33%1,320 × 9901.3 MP10.9%
25%1,000 × 7500.8 MP6.3%
10%400 × 3000.1 MP1%

The same on a 1200 × 800 screenshot

Small pictures get small fast. Rounding goes to the nearest whole pixel and a side never drops below 1.

PercentResult in pxMegapixelsPixels left
75%900 × 6000.5 MP56.3%
50%600 × 4000.2 MP25%
33%396 × 2640.1 MP10.9%
25%300 × 2000.1 MP6.3%
10%120 × 800.0 MP1%

When to resize a picture

The usual reasons are an email that bounces for size, a form that wants a smaller upload, or a web page that loads slowly because of a 12 MP photo shown 600 px wide. Cutting the pixels fixes all three.

Phone photos are 3000 to 4000 px wide, far more than most screens show. Going down to 1600 px wide loses nothing you would see on a laptop and leaves about a sixth of the pixels.

Numbers this uses

  • Percent: new side = old side × percent ÷ 100, rounded to a whole pixel, at least 1.
  • Half of each side is a quarter of the pixels. 50% is not "half the file".
  • Default 50%. The range allowed is 1% to 1000%.
  • Presets and the longest side leave pictures smaller than the target alone, unless you untick "Don't enlarge".
  • Saved as the same type as the input (JPG, PNG or WebP). HEIC, AVIF and BMP are saved as JPG, GIF as PNG.
  • Largest picture: 50 megapixels, 100 MB.

What happens to the file

The picture is opened by your browser, drawn smaller and saved again. The new file is a fresh JPG, PNG or WebP, so camera and location tags are gone.

If the picture was taken sideways on a phone, it comes out upright. Transparent areas stay see-through in PNG and WebP and turn white in JPG.

Pictures are opened and saved by your browser. A finished run counts one event, "resize", and never a file name, size or dimension (details). Zip files are made with fflate and HEIC decoding uses libheif: open source used on this site.

FAQ

Where do I set an exact size or a preset?

Switch the box to pixels or pick a preset here, or use the image resizer, which opens on presets for Instagram, email and the web and handles a whole batch.

How do I resize an image to half its size?

Leave the percent at 50 and press Resize. Both sides are halved, so a 4000 × 3000 photo becomes 2000 × 1500. The file ends up about a quarter of the size, give or take.

How do I resize a picture on my phone without an app?

Open this page in the phone browser, choose the picture from your gallery and resize it. Nothing is installed or uploaded. On iPhone, pick "Photo Library" or "Choose File" and the picture is read on the device.

How can I resize an image to fit an email attachment?

Most mail services allow around 20 to 25 MB per message in total. Set the longest side to 1600 px for photos, which usually brings each one to a few hundred KB. For an exact limit, use the compressor.

What is the difference between resizing and compressing?

Resizing changes the pixel size. Compressing keeps the pixels and lowers the quality setting to shrink the file. Use resize first, then compress if the file is still too big.

Why does the resized picture look blurry?

You may have enlarged it, which cannot add detail. Or the percent was very small. Try a bigger size, keep "Don't enlarge" on, and save as JPG at 90% or more.

Can I resize a HEIC photo from my iPhone?

Yes. The page opens HEIC, and the result is saved as JPG so it opens everywhere. The decoder is fetched once if your browser can't read HEIC itself.

Are my pictures uploaded?

No. The picture is read and edited by your browser on this device. To check it, load this page, switch to airplane mode and edit a file. It still works. The picture and its file name are never put in the address, saved or counted.

More from FLXCode

Share Resize Image