Compress Image Online: Reduce JPG, PNG and WebP Size

Upload one image, adjust the settings below, and download the processed result instantly.

Enter a quality value or a target KB. The estimate updates for queued files.
Queue is empty 0 files queued | 0 MB total
Ready for up to 20 files. Queue builds instantly as you drop files.
Advertisement Clicker Alchemist — a mobile game by icyabmod, on Google Play and the App Store

How Compress Image Online: Reduce JPG, PNG and WebP Size works

Shrink an image file by choosing a quality level or a target size in KB. The format stays the same and metadata is stripped, which helps with upload limits and email.

Input JPG / PNG / WebP / AVIF / GIF / BMP
Output Compressed file
Works done 3,053

How to use it

Use this tool to compress image files so they take up fewer kilobytes without changing their width or height. It re-encodes JPG, PNG, WebP, AVIF, GIF and BMP in the same format they arrived in, driven either by a quality level from 20 to 95 or by an approximate target size in KB. That makes it the quick fix for upload caps, bulky email attachments and slow-loading pages.

How to compress image files to a target size

  1. Drop the picture onto the upload area or pick it with Browse files; each file can be up to 24 MB.
  2. Leave Quality at the default of 82, or lower it if you need a lighter file.
  3. If a website or form enforces a hard limit, type a number about 10 percent below it into Target KB.
  4. Download the result and check its real size in your file manager before uploading it anywhere.
  5. Still too big? Reduce the pixel dimensions first, then compress the original again.

What the quality number really controls

JPG, WebP and AVIF are lossy formats. The encoder saves space by discarding detail your eye is unlikely to miss, and the quality number decides how aggressive that discarding is. At high settings the change is invisible; as you go lower, smooth skies start to show steps, fine textures such as hair or grass flatten out, and faint halos appear around text and sharp edges.

The relationship is far from linear. Going from 82 to 95 can make a file noticeably heavier for a difference almost nobody can see on screen, while dropping from 82 to 70 usually trims a meaningful amount at little visible cost. Below about 50, JPG starts to reveal its 8×8 pixel blocks in faces and flat areas, so keep such low values for thumbnails and previews.

Why Target KB is an estimate, not a promise

The number you enter is compared with the size of the original upload and translated into a quality value, and the file is then encoded once. Content matters as much as the setting: a grainy low-light shot will always weigh more than a clean product photo at the same quality and dimensions. Expect the output to land somewhat above or below the target. If your target is less than a fifth of the original size, quality bottoms out at 20 and the file may still be too large; at that point only fewer pixels will help.

What happens to each format

UploadTreatmentTypical outcome
JPGRe-encoded at the chosen qualityLarge savings on camera and phone photos
WebPRe-encoded as lossy WebPModerate savings if the file was already optimized
AVIFRe-encoded at the chosen qualityOften small gains, since the format is efficient to begin with
PNGColors reduced to a palette of up to 256Excellent for screenshots, logos and interface graphics; possible banding on photos
GIFAlready limited to 256 colors; animations keep only the first frameLittle to gain
BMPSaved again as uncompressed BMPNo real reduction; convert the format instead

For photographic PNGs, a PNG to JPG conversion beats palette reduction by a wide margin, and for raw bitmaps a BMP to JPG conversion is the step that actually shrinks the file. If you are unsure which format suits a picture, the guide on choosing an image format walks through the trade-offs.

Common limits and the settings that fit them

  • Passport, visa and ID uploads: online application portals usually state both a pixel size and a maximum file size, and the numbers differ from one form to the next. Resize to the exact dimensions first with the image resizer, then aim Target KB slightly under the cap. Try not to go below about 60 quality on faces.
  • Email attachments: many providers cap a message at roughly 20–25 MB. Attachments are Base64-encoded in transit, which inflates them by about a third, so a set of photos totalling 20 MB can bounce against a 25 MB limit.
  • Website and blog images: scale to the width the layout actually displays and use quality 70–82. The image compression and web performance guide explains how much this affects load time.
  • Chat apps and social networks: they recompress whatever you upload. Sending a cleaner file at 85–90 limits the damage of that second round.
  • Print and archives: keep the original. If you must compress, stay at 90 or above.

Mistakes that make compressed images look worse

  • Compressing the compressed copy. Every lossy save adds its own damage. When you want to try a different setting, go back to the original file.
  • Saving a low-quality JPG at a higher quality. A photo already saved at 60 can grow when re-encoded at 82, and the lost detail does not come back. If the output is larger than the input, lower the quality or simply keep the original.
  • Ignoring pixel dimensions. Squeezing a 4000-pixel-wide photo into 200 KB produces mush. Scaling it to 1600 pixels first and then compressing gives a file that is both sharper and lighter.
  • Phone photos that turn sideways. Many phones record orientation as an EXIF tag instead of rotating the pixels. Because the compressor strips metadata, such a photo can appear sideways afterwards; the image rotator fixes it with a 90-degree turn.

Pixels first, quality second

File size depends on two things: how many pixels the picture contains and how efficiently each one is encoded. Compression works on the second factor; resizing works on the first. Halving both width and height leaves a quarter of the pixels, which usually saves more than any quality tweak could. For a 12-megapixel phone photo headed to a web page or a form, combining both steps gives the cleanest result, as the walkthrough on how to reduce image file size shows with examples.

Metadata, privacy and what happens to the file

Compression removes EXIF metadata, so the camera model, capture time and any GPS coordinates are absent from the download. That is a handy way to scrub location data before posting a picture publicly. Embedded color profiles are not kept either, which can make some wide-gamut photos look slightly flatter.

Your image is uploaded to the server, compressed within that same request and sent straight back. It is not stored or shared, and there is no account or fee. As a safety check, the file contents must match the extension, so a renamed file is rejected. A single image can be at most 50 megapixels, with no side longer than 16,384 pixels.

Advertisement icyabmod — get a website for your business, design it on a live demo

Frequently asked questions

Reduce the dimensions before touching quality. Scale the long edge to around 1000 pixels with the resizer, then enter 90 in Target KB on this page. If the result still exceeds 100 KB, shrink the long edge a little more and repeat from the original file. Trying to reach that limit with quality alone tends to leave faces blocky and text smeared.

With JPG, WebP and AVIF every compression throws away some detail; the real question is whether you can see it. Between 75 and 85 the difference is usually invisible at normal viewing size and only shows when you zoom to 200 percent. Pictures with small text or fine product detail deserve a higher setting. With PNG the loss appears as fewer colors rather than blur.

That happens when the original was already saved at a lower quality than the one you chose. Re-encoding a quality-60 JPG at 82 spends more bytes on the same, already degraded picture. Set the quality below the original level, or keep the original if it already meets your limit. Small PNG icons that already use a compact palette can behave the same way.

No. A JPG comes back as a JPG and a PNG as a PNG, with the same extension. If you also want a different format, run the file through one of the converters first; turning a photographic PNG into JPG or WebP usually saves far more than palette reduction. After converting, you can still fine-tune the quality here.

No. The image is held only for the duration of the compression request, and the result is returned in the same response. It is not written to a gallery, kept for later or shared with anyone. Because EXIF data is removed, location and device details do not travel with the downloaded file either.