Image Resizer & Compressor

Resize and compress JPEG, PNG and WebP images in your browser. Set a max size or target file size, convert formats, and download one image or a whole batch as a ZIP. Nothing is uploaded.

Loading image resizer…

How the Image Resizer & Compressor works

Resize and compress up to 30 images at once, convert them to JPEG, WebP or PNG, or shrink them under a file-size limit such as 200 KB. Images are decoded and re-encoded in your browser, so nothing is uploaded.

  1. Drop images onto the page, click to choose them, or paste them.
  2. Under Resize, pick Max size (fit within a width and height), Percent, Exact or Keep. Presets set the longest side to 3840, 1920, 1280, 800 or 400 px.
  3. Under Save as, choose Keep, JPEG, WebP or PNG.
  4. For JPEG or WebP, set Quality, or switch to Target size and enter a maximum in KB.
  5. Use the Result/Original toggle to compare, then download each image or click Download all (ZIP).

How Target size works

The tool encodes the image at 95% quality; if that fits under your limit, it keeps it. Otherwise it tries 30%, and if that fits it searches between the two (seven halving steps) for the highest quality that stays under the limit. If even 30% is too big, it keeps the 30% version and marks the target as not met. Pixel count matters more than quality, so lowering Max size is the reliable fix for a large photo.

Formats and what Keep does

Inputs can be JPEG, PNG, WebP, GIF, BMP or AVIF, identified by their contents rather than the file extension. Keep saves JPEG, PNG and WebP in the same format, turns GIF and BMP into PNG, and turns AVIF into WebP. Animated GIFs are saved as a single frame.

JPEG has no transparency, so transparent areas are filled with the Background color (white by default). If re-saving a PNG at its original size would make it bigger, the tool keeps the original PNG data with its metadata removed and labels it "already optimised, original kept".

Sizes and limits

Images are never enlarged unless you turn on Allow enlarging. Exact stretches to the width and height you type; Max size keeps the proportions. Large reductions are done in halving steps for a smoother result.

Each file can be up to 50 MB and 50 megapixels. Output is capped at about 16.7 megapixels (the iOS Safari canvas limit) and 10,000 px on a side; a bigger result is scaled down as a whole, so its proportions don't change. Saved files are named after the original plus the new size, for example photo-1280x720.jpg.

Privacy and metadata

Everything runs in your browser with the Canvas API, and no image data is sent anywhere. Saved images contain only pixels, so EXIF data such as GPS location, camera model and capture time is left out. Phone photos are rotated upright before saving so they still display correctly without that data.

Frequently asked questions

How do I compress an image to under 100 KB?

Set Save as to JPEG or WebP, switch compression to Target size, and enter 100 in Maximum file size. The tool finds the highest quality that fits. If a large photo still can't get under 100 KB, also set a smaller Max size, such as 1280 or 800.

Are my images uploaded anywhere?

No. Images are decoded, resized and compressed in your browser tab, and downloads are created on your device, so the tool is safe for private photos and documents.

Should I save as JPEG, WebP or PNG?

Use WebP for websites: it usually makes the smallest files and works in all modern browsers. Use JPEG when a site or form requires it, and PNG for logos, screenshots and graphics that need sharp edges or transparency.

Can I resize many images at once?

Yes, up to 30 at a time. The same settings apply to every image, each one can be downloaded separately, and Download all (ZIP) saves them together as resized-images.zip.

Does it remove GPS location and camera data?

Yes. Saved images don't include EXIF metadata such as GPS coordinates, camera model or capture time.

Why can't it open my iPhone HEIC photo?

Most browsers can't decode HEIC. On iPhone, set Settings > Camera > Formats to Most Compatible, or share or export the photo as JPEG first, then add it here.

What quality setting should I use?

80% (the default) is a good balance for JPEG and WebP; compression artifacts usually start to show below about 60%. Compare with the Result/Original toggle before downloading.

Similar Utility tools

3 related