HomePixelKitImage Compressor

Image Compressor

Make JPG, PNG and WebP images smaller in seconds. Compare formats, set an optional target size, and inspect every result before downloading. Signed-in users can batch up to 20 images.

Files never leave your device Batch up to 20 100% free

Compress your images

Dedicated MozJPEG, WebP and lossless OxiPNG encoders.

100% browser-side & private

Drag & drop your images here

or browse files from your device

Browse images JPG, PNG, WebP supported · Up to 20 images when signed in · 20 MB each · 16 MP output

Compression settings

Settings apply to every image in this batch
80%
Lower quality usually means a smaller file.
Leave blank for original width.
Aspect ratio is preserved.
Auto chooses from tested formats; transparency stays protected.
1 KB = 1,000 bytes. Dimensions stay fixed; a target is not guaranteed.
Start with
Compressing…0%
Choose some images to get started.

Images (0)

Compare each original and download at 100% or 200% zoom.

0 compressed

Compare image

Original

Original image

Your download

Compressed image
Tested formats at these dimensions. Quality numbers differ between codecs; compare the preview.
FormatSizeEncodingTarget
Download selected image
How to use this tool
01
Upload images

Drop or browse for up to 20 JPG, PNG or WebP files.

02
Adjust & compress

Choose quality, optional dimensions, and format.

03
Download files

Save images one by one or download a ZIP.

Tip: JPG and WebP support adjustable visual quality. PNG uses lossless encoding in most browsers, so its quality slider may not noticeably reduce file size. PNG uses OxiPNG lossless optimization. Auto can compare a lossless WebP, or set smaller maximum dimensions when you need fewer pixels. Converting transparent images to JPG fills transparency with white.
Share this tool WhatsApp Facebook X Telegram LinkedIn

Frequently asked questions

Everything you should know about compressing images.

Will compressing an image reduce its quality?

It depends on your settings. JPG and WebP use lossy compression, so lower quality values can reduce detail. An 80% setting is a reasonable starting point; preview the downloaded image if sharpness matters. PNG uses lossless OxiPNG encoding, so the quality slider does not change its pixels.

How many images can I compress at once?

Signed-in users can add up to 20 JPG, PNG or WebP images per batch; signed-out users can process one at a time. You can download each result separately or get all successfully processed results in one ZIP file. Very large batches may take longer depending on your device.

Are my photos uploaded to a server?

No. Image decoding, resizing, compression and ZIP creation happen locally in your browser. Files never leave your device. An internet connection is needed initially to load the open-source compression and ZIP libraries from this website, but no image data is sent to them.

Can I change image dimensions without stretching them?

Yes. Enter a maximum width, maximum height, or both. Images are fitted inside those limits while preserving their original proportions. Smaller images are not enlarged.

Which format should I choose: JPG, PNG or WebP?

Use JPG for regular photographs when broad compatibility matters, PNG for graphics requiring lossless detail or transparency, and WebP for many web images where smaller files and transparency support are useful. Auto protects transparency and can compare lossless PNG/WebP for PNG input. Select Original format to keep the format, or choose JPG explicitly to fill transparent pixels white.

Can I compress an image to 200 KB?

Enter 200 in Target per image. Each lossy format gets a bounded quality search, and the result reports whether it fits. Dimensions stay fixed unless you set maximum width or height. Lossless PNGs and already-optimized photos may miss a small target.

What happens to transparency, animation and photo metadata?

Auto excludes JPG when transparency is detected. Explicit JPG output fills transparent pixels white. Re-encoded files normalize the displayed photo orientation and discard original EXIF metadata; a smaller original kept unchanged retains its metadata. Animated PNG and WebP files are rejected rather than reduced silently to one frame.

Why is my compressed file not smaller?

Some images are already highly optimized, and converting formats can sometimes increase their size. If a recompressed file is larger and the format stays the same, the tool keeps your smaller original instead. For stronger savings, try a lower quality, smaller dimensions or WebP output.

Encoders run in a local background worker. Open-source engine licences. Targets do not automatically reduce dimensions. Modern WebAssembly and Worker support required.

About Image Compressor

The image compressor helps you compress JPG, PNG and WebP images online for free. It is intended for people preparing photos and graphics for websites, documents or social posts. Start with the input and settings shown in the tool above. Review the result before saving or reusing it, especially when converting between formats that support different features. Keep your original so you can compare the output or try another setting.

How to use Image Compressor

  1. Add images — Choose up to 20 JPG, PNG or WebP images.
  2. Choose compression settings — Set the output format, quality and optional maximum dimensions, then select Compress images.
  3. Save the results — Download individual compressed files or use Download All for a ZIP.

Key features

Related images tools

Explore PixelKit · Privacy policy · Contact us