Free image tool

Image Compressor and Resizer

Choose an image, set a maximum width, quality and format, and download a smaller file. The image never leaves your device.

Report a problem or suggest a fix for this tool

What is image compressor and resizer?

Large images slow down websites and use up storage. Smaller files load faster, which helps both visitors and search rankings.

This tool resizes and re encodes the picture in your browser using a canvas, so it is private and works offline once the page has loaded.

How to use the image compressor and resizer

  1. Pick an image from your device.
  2. Set the maximum width, format and quality.
  3. Press Calculate, compare the sizes and download the result.

How the image compressor and resizer works

The picture is drawn onto a canvas at the new size and exported in the format you choose. JPEG and WebP use the quality setting. PNG is lossless and ignores it.

Worked example

A 4 MB photo resized to 1600 pixels wide and saved as WebP at quality 80 is often under 250 KB.

Common uses of the image compressor and resizer

  • Making photos small enough to email or upload to a form.
  • Speeding up a website by shrinking hero images.
  • Preparing product photos for an online shop.
  • Saving phone storage.
  • Creating thumbnails of a set size.

Tips and common mistakes

For photos use JPEG or WebP. For logos and screenshots with text, PNG or WebP lossless is better.

Do not enlarge small images. It only adds blur.

Background: what to know before you rely on it

Images often make up most of a page's weight, and Google's Core Web Vitals reward fast loading. Two things shrink a file: fewer pixels and stronger compression. Resizing to the largest size you actually show has the biggest effect, since a 4,000 pixel photo shown at 800 pixels wastes most of its data. JPEG and WebP are lossy and remove detail the eye hardly notices, usually at quality 70 to 85. PNG is lossless and suits logos and screenshots. Modern formats such as WebP and AVIF give smaller files at the same visual quality than JPEG. Keep your original, as repeated lossy saves reduce quality.

Private, free and fast

This tool runs entirely in your browser. What you type or choose is not uploaded to a server and is not saved after you close the page, which keeps it fast and private. It is free to use as often as you like. See more in all image tools, or browse the full list of tools.

Field by field guide

  • Image file: Choose the file from your device. It is read in your browser and is not uploaded.
  • Maximum width in pixels (optional): Enter a number. The example value is 1600.
  • Output format: Choose one of: JPEG; WebP; PNG.
  • Quality (1 to 100): Enter a number. The example value is 80.

Change one field at a time to see how the result responds, and use the worked example above to check that you get the same answer.

Smaller images without visible loss

Page weight is mostly images. Resizing to the display size and compressing correctly often reduces a photo from several megabytes to under 200 KB.

Expert tips

  • Resize first. A photo shown at 800 pixels wide does not need 4,000 pixels.
  • Use quality around 75 to 85 percent for JPG and WebP, which usually looks identical to the original.
  • Keep a 2x version only for sharp logos on high density screens.
  • Avoid compressing the same file again and again.
  • Add width and height to the img tag and lazy load images below the fold.

Faster images help Largest Contentful Paint, a Core Web Vital, which supports both user experience and search visibility.

Quick answers

What size should hero images be? Usually 1,200 to 1,600 pixels wide, under 200 KB.

Is anything uploaded? No. Compression runs in your browser.

Frequently asked questions

Is my image uploaded?

No, it stays in your browser.

Which format is smallest?

WebP is usually the smallest at the same quality.

Does it remove metadata?

Yes. Re encoding drops EXIF data such as location.

What quality should I use?

70 to 85 is a good balance.

Related tools

Results are for information and education. For legal, financial, medical or security decisions, check with a qualified professional. Keep your original image files.