Skip to main content
QuickToolsWorld

Compress Images Online for Smaller File Sizes

Make JPEG, PNG and WebP images smaller for websites, email and messaging. Adjust the quality, compare the result with the original, and download it.

Runs entirely in your browser. Nothing you enter is uploaded.

Drag and drop an image here

or

Supported formats: JPEG, PNG and WebP · Up to 25.00 MB

How to compress an image

  1. Drag an image onto the upload area, or select Choose an image.
  2. Pick an output format and move the Quality slider. The preview and file size update automatically.
  3. Need the file under a limit, such as 100 KB for an online form? Choose it under Target size instead of setting the quality yourself.
  4. Optionally choose a maximum size under Resize. Reducing pixel dimensions often saves more space than lowering quality.
  5. Drag the comparison slider to check the result against the original, then select Download.

Compress an image to 100 KB, 200 KB or another size limit

Job applications, admission forms, exam registrations and government portals often reject images above a fixed size, commonly 20 KB, 50 KB, 100 KB or 200 KB. Choose the limit under Target size and the tool does the rest:

  1. It tries a high quality first. If the file is already small enough, you get the best-looking version.
  2. Otherwise, it searches for the highest JPEG or WebP quality that still fits under the limit.
  3. If even a low quality is too large, it reduces the image’s dimensions step by step until the file fits, and tells you the new size in pixels. Nothing is resized without a message.

Targets use 1 KB = 1,000 bytes, so a file made “under 100 KB” is at most 100,000 bytes. That passes forms that count 1 KB as 1,000 bytes and those that count it as 1,024 bytes. The result shows the exact byte count. Very small targets, such as 20 KB, work best for small images like passport-style photos and signatures. For larger photos, start by choosing a smaller size under Resize, such as 800 px. Some forms also set required pixel dimensions or a file type (usually JPEG), so check the form’s instructions.

How the compression works

The tool draws your image onto an HTML canvas inside the browser and exports it again with the format and quality you choose. JPEG and WebP are lossy formats: at lower quality settings they discard fine detail that is hard to notice, which can shrink files dramatically. The size you see is the exact size of the file you will download.

Because the image is re-encoded, metadata such as camera details and location is not carried over. Results vary between browsers, as each uses its own encoder.

Supported formats

  • Input: JPEG (.jpg, .jpeg), PNG (.png) and WebP (.webp). Animated images are saved as a single still frame.
  • Output: JPEG and PNG in all modern browsers, and WebP where your browser supports saving it (the option is disabled if not).

Tips for smaller files

  • For photos on a website, a quality of 70–85% usually looks almost identical to the original at normal viewing size.
  • Phone photos are often 4000 pixels wide or more. Resizing to 1920 or 1280 pixels is plenty for most web pages and email.
  • Screenshots and logos with flat colors often compress better as WebP than as JPEG, without the blurry edges JPEG can create.

Creating a QR code to share a link to your images? Try the QR Code Generator.

Frequently asked questions

How do I compress an image to 100 KB?
Choose your image, select JPEG output, and set Target size to “Under 100 KB”. The tool picks the highest quality that fits and, if necessary, reduces the dimensions. Check the result in the preview, then download it. The same steps work for 20 KB, 50 KB, 200 KB, 500 KB and 1 MB.
Why does a file “under 100 KB” show as 97.7 KB?
Targets use 1 KB = 1,000 bytes, so “under 100 KB” means at most 100,000 bytes. The size display counts 1 KB as 1,024 bytes, so 100,000 bytes appears as 97.7 KB. This way the file is accepted by forms that use either definition.
Are my images uploaded to a server?
No. Your browser decodes and re-encodes the image on your device using the Canvas API. The file never leaves your computer or phone.
Why did my compressed image get bigger?
Images that are already heavily compressed, very small, or simple graphics saved as PNG can grow when they are re-encoded. The tool tells you when this happens and lets you keep the original. Lowering the quality, resizing, or switching to WebP usually helps.
Why doesn’t the quality slider work for PNG?
PNG is a lossless format: it keeps every pixel exactly, so there is no quality setting to lower. Browsers can only save PNGs at full quality. To make a PNG smaller, resize it or convert it to WebP, which supports transparency, or to JPEG if you don’t need transparency.
Does compressing remove photo metadata?
Yes. Re-encoding through a canvas does not copy EXIF metadata such as camera details or GPS location into the new file. The image is rotated correctly before saving, so photos stay the right way up.
What is the largest image I can compress?
Files up to 25.00 MB are accepted. Images above about 16.7 megapixels are scaled down automatically to stay within browser memory limits, and the tool tells you when this happens.
Which output format should I choose?
Use JPEG for photos that need to work everywhere. Use WebP for the smallest files on the web; it also keeps transparency. Use PNG only when you need a lossless copy, such as for screenshots with sharp text.
Browse all tools

Word Counter

Count words, characters, sentences, and paragraphs instantly.

Case Converter

Transform text between uppercase, lowercase, and other common case styles.