Skip to main content
ponderloop

Image Resizer

Choose, drop or paste JPEG, PNG or WebP images, set a size, and download the resized copies. For example, a 4032 × 3024 px phone photo (4:3) fitted to a longest side of 1920 px becomes 1920 × 1440 px, and scaled to 50% it becomes 2016 × 1512 px. Set an exact width and height (locking the aspect ratio keeps the picture undistorted), a percentage, or a preset longest side such as 1080 or 1920 px, then pick JPEG, PNG or WebP and a quality for the lossy formats. Each file shows its original and new dimensions and file size. Everything happens in your browser: your images are never uploaded.

Updated Runs in your browser: nothing you enter is uploadedHow this tool works

Resize by
Presets (longest side)
Output

Example

Original
4032 × 3024 px (4:3)
Longest side 1920 px
1920 × 1440 px

Add an image above to see its real original and new size and file size.

Longest-side presets on common photo shapes

The size each preset gives, computed with the same rule the tool uses: the longest side is set to the preset and the other side follows the aspect ratio.
Original640 px1080 px1280 px1920 px2560 px
Phone photo (4:3), 4032 × 3024 px640 × 480 px1080 × 810 px1280 × 960 px1920 × 1440 px2560 × 1920 px
Camera photo (3:2), 6000 × 4000 px640 × 427 px1080 × 720 px1280 × 853 px1920 × 1280 px2560 × 1707 px
Widescreen (16:9), 3840 × 2160 px640 × 360 px1080 × 608 px1280 × 720 px1920 × 1080 px2560 × 1440 px
Portrait phone photo (3:4), 3024 × 4032 px480 × 640 px810 × 1080 px960 × 1280 px1440 × 1920 px1920 × 2560 px
Square (1:1), 3000 × 3000 px640 × 640 px1080 × 1080 px1280 × 1280 px1920 × 1920 px2560 × 2560 px

Which output format to choose

FormatCompressionTransparencyBest for
JPEGLossy; the quality slider trades size for detailNo: transparent areas are filled with the background colour you pickPhotographs and web pages where small files matter
PNGLossless; the quality slider does not applyYesScreenshots, logos, line art and images with text or sharp edges
WebPLossy; the quality slider trades size for detailYesSmaller files than JPEG or PNG on modern browsers; offered only if your browser can encode it

How to resize an image in your browser

  1. Add your images. Choose files, drop them on the box, or paste an image from the clipboard. JPEG, PNG and WebP work fully; a GIF keeps its first frame and an SVG is turned into pixels. You can add up to 40 files at once.
  2. Set the size. Pick “Width and height”, “Percent” or “Longest side”. With the aspect ratio locked, typing a width fills in the height (and the other way round). The presets set the longest side.
  3. Choose the format and quality. Keep the original format or switch to JPEG, PNG or WebP. For JPEG and WebP, lower the quality to shrink the file. For JPEG, choose the colour that replaces any transparency.
  4. Download. Every file shows its new dimensions and size. Download each one, or use “Download all”. The file name gets the new size added, such as photo-1920x1440.jpg.

Frequently asked questions

Are my images uploaded anywhere?
No. The images are decoded, resized and re-encoded by your browser on your device, and the results are kept in memory only until you close or reload the page. Nothing is sent to a server or saved. If you allow analytics, the site records only that a button was used, never an image, its name or its size.
How do I resize an image without stretching it?
Keep “Lock aspect ratio” on. Typing a width then sets the height from the picture’s own proportions (and typing a height sets the width). The “Percent” and “Longest side” options always keep the proportions. Turn the lock off only if you really want a different shape.
How do I make an image file smaller?
Two things reduce file size: fewer pixels and stronger compression. Resize to the size you will actually display, then use JPEG or WebP with a quality of about 70 to 85, which usually cuts a photo to a fraction of its size with little visible loss. PNG is lossless, so it only shrinks when you reduce the pixels.
Which quality setting should I use?
Around 80 is a good starting point for photos. Go lower (60 to 70) for thumbnails or when size matters most, and higher (90 or more) when you will edit the image again. Quality only applies to JPEG and WebP.
What happens to transparent areas when I save as JPEG?
JPEG cannot store transparency, so transparent pixels are filled with the background colour you choose (white by default) before the image is saved. PNG and WebP keep transparency.
Why is my WebP option missing or disabled?
WebP output depends on the browser. The tool checks whether your browser can encode WebP and turns the option off if it cannot (Safari has had gaps here). JPEG and PNG work in every browser. A WebP file can still be opened and resized when it cannot be saved.
Does the photo keep its correct rotation?
Yes. Phone photos often store a rotation flag (EXIF orientation) instead of turning the pixels. The tool applies that rotation when it opens the image, so the output is upright, and the new file no longer needs the flag. Other metadata, such as location and camera details, is not copied to the output.
Is there a size limit?
Yes. Images above 50.0 MP (for example 8000 × 6250 px) are refused with a message, and so are results above that size or longer than 16,384 px on a side, because the browser would otherwise run out of memory or fail to create the picture. Phones and cameras up to about 48 MP work. The tool also keeps at most 40 files at a time.
What happens to a GIF or an SVG?
A GIF is read as a still image, so only its first frame is kept and the animation is lost. An SVG is rasterized: drawn to pixels at the size it declares, then resized like any other picture. Both are saved as PNG unless you choose another format.
Why does the resized file sometimes get bigger?
Enlarging adds pixels, and re-encoding a well-compressed JPEG at a high quality, or converting a JPEG to PNG, can produce a larger file than the original. The tool shows the change next to each file; lower the quality or pick another format if you need it smaller.

How it works

Each image is decoded by the browser with its EXIF orientation applied (createImageBitmap with imageOrientation “from-image”), so the width and height used are those of the upright picture. The new size is the requested width and height, or, with the aspect ratio locked, the typed side with the other side scaled in proportion and rounded to a whole pixel. Percent scales both sides and rounds each to a whole pixel (never below 1). The longest-side option scales the larger side to the preset. Pixels are drawn onto an HTML canvas with high-quality smoothing. When an image shrinks by more than half, it is drawn through intermediate sizes that each at most halve the previous one, because a single large jump skips pixels and looks jagged. The canvas is then encoded as JPEG, PNG or WebP (quality 1 to 100 for the lossy formats). JPEG is drawn over the chosen solid background first, since it has no transparency. Before decoding, the image’s pixel size is read from its file header; anything above 50.0 MP is refused. Results are held as compressed files and the previews and download links are released when you remove a file, change a setting or leave the page. Metadata such as EXIF, GPS and colour profiles is not copied to the output.

Sources

All toolsHome & DIY calculators