Toolezs
Back to All Tools
Compress Image

Compress image files to the size you need.

Drop in JPG, PNG, or WebP photos and pick a level, or set a target such as 100 KB and let the tool lower the quality — and the pixels only if it must — until the file fits. Nothing is uploaded, it all happens in your browser.

Your images are processed in your browser and never uploaded.

Add images

Up to 20 images, 25 MB each. Read here in your browser — nothing is uploaded.

Why this image compressor is handy

When a form or an email asks for a number, target file size is how to compress image files to it: you set the limit and the file lands at or under it.

  • An upload form or portal says the picture must be under a limit such as 100 KB.
  • An email or messenger service refuses attachments heavier than its own cap.
  • A website needs a small hero or card image, and you want it right on the first try.

How to compress an image to a target size

  1. 1.Add your image: drag it in or click to browse.
  2. 2.Choose Target file size and pick a preset such as 100 KB or 1 MB, or type your own limit, and optionally choose the output format.
  3. 3.Start the compression and wait for the row to finish.
  4. 4.Download the result, or save every image at once.

Why use this image compressor?

  • You give it the number: no quality slider to guess with, just the limit the form asked for.
  • Quality first, pixels only if it must: it lowers the quality, and scales the picture down in small steps only when quality alone is not enough.
  • It never enlarges: if your image is already smaller than the target, the original is offered back unchanged.
  • It is honest: if a picture cannot reach the number, the row says so and shows the smallest file it could make.

Tips for smaller photos

Always compress from the original photo; squeezing a copy that is already compressed loses more for very little gain. If a format change would help more than a quality change, convert the picture first with Image Converter. When the goal is a document rather than a picture, join photos with Image to PDF and shrink the finished file with Compress PDF instead. If you need the picture as text rather than a file — a Base64 string or data URI for HTML, CSS or JSON — encode the smaller result with Image to Base64.

Common uses

Email attachments, upload forms and portals with a size limit, website images and thumbnails, profile pictures and avatars, and photos sent through a service that caps file size.

Frequently asked questions

How do I compress an image to a specific size?

Switch to Target file size, pick a preset such as 100 KB or type your own. The tool lowers quality, and pixel size only if it must, until the picture fits.

What is the difference between Quick and Target file size?

Quick sets a quality and keeps your picture at its own size. Target file size works backwards from a number you give it, lowering quality and then pixels until the file fits.

What if an image cannot reach the target?

The row says so and shows the smallest file it could make, so you can decide whether that is close enough.

Does compressing to a target size shrink the picture itself?

Only when quality alone is not enough. It lowers quality first and scales the pixels down as a last resort, and says on the row when that happened.

What format does the target-size result use?

By default the result keeps your image's format: a JPG stays a JPG and a WebP stays a WebP. A PNG cannot be shrunk by lowering quality, so it is saved as WebP unless you choose JPG. You can also choose JPG or WebP yourself.

Are my images uploaded or stored?

No. Every image is read, resized and compressed in your browser, and nothing is uploaded or kept after you close the tab.

Need the right dimensions before you compress? Use the Social Media Image Resizer to resize images for Instagram, YouTube, Facebook, LinkedIn and more. Want a full walkthrough with example sizes? Read How to compress an image to 50 KB, 100 KB or 1 MB.