Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Image Processing
  3. Image Compressor
Add to favorites

Image Compressor

Make photos and graphics smaller as JPEG, WebP or PNG. Set a quality or a target size in KB, and compare the result with the original before you download.

Edits stay in your browserMore image processingJump to full guide
Related readingComplete Guide to Image Compression: JPEG vs PNG vs WebP11 min

Initializing in your browser…

You might also like

SVG Optimizer

Shrink SVG files by removing editor data, comments, metadata and extra precision, and check that the optimised file still draws exactly the same picture.

SVG to PNG/JPG

Convert SVG files to PNG, JPG or WebP at any size, sharp at every scale, with a transparent or coloured background and a live preview.

Image Resizer

Resize one photo or a whole batch to exact pixels, a percentage or a social media preset, with fit, fill and crop, or stretch, and save as JPEG, PNG or WebP.

Image Compressor: a worked example

A 405 KB photo has to go into a web form that accepts at most 100 KB.

Input

sample-sunset.jpg, 1600 x 1067, 405 KB
Target size: Email (100 KB)
What Image Compressor produces

Result

JPEG: 64% quality, 92.4 KB, likeness 0.826
WebP: 76% quality, 94.2 KB, likeness 0.848
Highest JPEG quality: 1,033 KB; lowest: 13.9 KB

The search first encodes at the lowest and highest quality to find the range this photo can reach (13.9 KB to 1,033 KB as JPEG), then keeps halving the range of qualities, ten test encodes in all. 64% is the highest JPEG quality that fits, and rounding it down keeps the file at 92.4 KB, safely under the limit. WebP compresses this photo more efficiently, so the same limit allows 76% quality and a slightly higher likeness score. The likeness values are modest because the sample photo carries deliberate film grain, which no compressor can keep cheaply.

About the Image Compressor

Shrink a picture so it uploads faster, fits an email or a form limit, or loads quickly on a web page. Choose a quality and watch the file size change, or type a target such as 100 KB and let the tool find the highest quality that fits. A before and after slider shows exactly what the compression did.

How to use

  1. 1Drop a picture on the page, paste one, or press Try a sample image.
  2. 2Choose JPEG, WebP or PNG.
  3. 3Move the Quality slider, or switch to Target size and pick a size such as 100 KB.
  4. 4Drag the divider on the preview to compare the original and the compressed version.
  5. 5If the file is still too big, open Reduce dimensions and lower the longest side.
  6. 6Press Download.

Where this helps

  • Upload limits

    Get under the size limit of a form, job portal, marketplace or email service.

  • Website speed

    Lighter pictures load faster, which visitors and search engines both notice.

  • Saving space

    Smaller copies of photos for sharing or for storage on a full phone.

  • Checking quality

    See how far a photo can be compressed before the difference shows.

Key features

  • Quality slider and presets for JPEG and WebP
  • Target size in KB with presets for email, social media and the web
  • The exact size of the file you will download
  • A before and after slider that works by touch and keyboard, plus side by side and flip views
  • A likeness score (SSIM) comparing the result with the original
  • Warnings when a file grows or loses transparency
  • Optional reduction of the dimensions with a choice of filter
  • Shareable settings links

Tips & best practices

  • Resize before compressing when a picture is much bigger than it will be shown.
  • Use WebP for websites and JPEG for anything sent by email or printed.
  • Keep screenshots with text as PNG or WebP at a high quality so the text stays sharp.
  • Compress from the original each time; compressing an already compressed file adds artefacts.

Examples

  • A photo for an email

    A 405 KB 1600 by 1067 JPEG needs to be under 100 KB. Target size finds 64% quality and a 92 KB file after ten test encodes; as WebP the same target allows 76% quality, which looks a little better.

  • A faster web page

    Saving the same photo as JPEG at 80% gives 159 KB, 61% smaller than the original, with a likeness of 0.85 on a deliberately grainy sample.

  • A big phone photo

    A 4000 pixel photo will not get under 250 KB without looking blocky. Cap the longest side at 2048 pixels under Reduce dimensions: a quarter of the pixels, so the target can be met at a much higher quality.

How compression works here

Two ways to compress. With Quality you set the JPEG or WebP quality and see the result straight away; 70 to 85% suits most photos, and the presets jump to 95, 85, 75 and 60%. With Target size you pick Email (100 KB), Social (250 KB), Web page (500 KB) or Large (1 MB), or type any size, and the tool tries qualities in turn, halving the range each time, until it finds the highest one whose file fits. The quality it settles on is rounded down, so the file you download is never over the target.

The size shown is the real file. Every change makes the actual compressed file in the background, so the Compressed figure is the size of the file you will download, to the byte, not an estimate. The tool also opens the compressed file again and compares it with the original, pixel by pixel. The likeness figure is SSIM, a standard measure of how similar two pictures look, where 1 means identical; above about 0.95 differences are hard to see at normal size. Measurements and metadata adds PSNR and how many pixels changed.

Choosing a format. JPEG is the safe choice for photos and opens everywhere. WebP is usually smaller at the same quality and keeps transparency. PNG keeps every pixel exactly, so it has no quality setting and suits screenshots and graphics; a photo saved as PNG usually gets bigger, and the tool warns when a result is larger than the original. When a picture has transparent areas and you choose JPEG, they become white, and the tool says so.

When quality is not enough. If a target cannot be reached, the tool says how small the format can go at this size. The answer is then fewer pixels: under Reduce dimensions you can cap the longest side, with a choice of resampling filter and an option that keeps fine detail from darkening. A 4000 pixel phone photo shown on a web page at 1200 pixels wide carries far more data than it needs.

Privacy and metadata. Compression happens in your browser; nothing is uploaded. The compressed file does not keep camera details, GPS location or other metadata from the original, and a photo marked as rotated is saved the right way up.

Frequently asked questions

What quality should I use?

For photos, 70 to 85% is usually indistinguishable from the original at normal viewing size. Go lower for thumbnails, higher for pictures people will zoom into. Use the slider and the before and after view to judge your own picture.

How does Target size work?

It compresses the picture at the highest and lowest quality first, then keeps halving the range of qualities, about ten test encodes in all, until it finds the highest quality whose file fits. The quality is rounded down, so the download is always at or under the target.

Why did my file get bigger?

Either the format was PNG, which cannot compress photo detail the way JPEG does, or the original was already compressed more strongly than the quality you chose. Pick JPEG or WebP, or lower the quality.

Why can I not reach my target size?

Every format has a floor for a given number of pixels. When the lowest quality is still too big, the tool says so; reduce the dimensions or switch from PNG to WebP or JPEG.

Is WebP better than JPEG?

Usually smaller at the same quality, and it keeps transparency. On the sample photo at a 100 KB target, WebP fits at 76% quality where JPEG needs 64%. Every current browser opens WebP, but some older apps do not.

Does compressing remove EXIF data?

Yes. The picture is re-encoded, so camera details and GPS location are not carried over. To remove metadata without recompressing, use the Image Metadata Remover.

Are my pictures uploaded?

No. Compression and the comparison both run in your browser.

Related tools and how they differ

  • Image Format Converter: Changes the format without aiming for a size, and compares every format on your picture.
  • Image Resizer: Changes the pixel size, the other big lever on file size, with presets for common uses.
  • Image Batch Processor: Compresses and resizes many pictures in one go.

Further reading

  • Complete Guide to Image Compression: JPEG vs PNG vs WebP11 min read

Private by design

Images are decoded, edited, and exported entirely inside this browser tab. No originals, exports, or metadata are uploaded.