Image Compression

Choose the quality and max width to reduce image file size

📁

Drag & Drop Images

or

Supported: JPG, PNG, WebP

Mockup Builder

Create professional mockups by placing images in smartphone or PC frames

📁

Drag & Drop Images

or

Supported: JPG, PNG, WebP, GIF

What You Can Do

The Image Compressor re-encodes JPEG, PNG and WebP images with the quality and maximum width you choose to make the files smaller. The result shows the original and compressed sizes, the output format and the file name it will be saved as. Images are processed in your browser and are not uploaded to a server.

  • ✅ Compression: JPEG and WebP images are re-encoded at the quality you set to reduce file size
  • ✅ Resize: Images wider than the max width are scaled down, keeping the aspect ratio
  • ✅ Mockup Creation: Place images in iPhone/Android/PC frames for presentation materials
  • ✅ Fine-tuned compression quality adjustment with slider
  • ✅ Batch compression of multiple images
  • ✅ Completely free with no registration required
  • ✅ Image files are processed in your browser and are not uploaded to a server

How to Use

Basic Image Compression Guide

Re-encode images with the quality and max width you choose, and compare the original and compressed sizes.

  • Step 1: Upload Images - Drag & drop or select files (multiple selection supported)
  • Step 2: Adjust Quality - Set quality from 10-100% with the slider (default: 80%; not used for PNG)
  • Step 3: Set Max Width - Optionally set max width for resizing (default: 1920px)
  • Step 4: Start Compression - Click "Start Compression" button to begin processing
  • Step 5: Download - Check the size, format and file name of each result, then download individually or all at once

Mockup Creation Guide

Transform screenshots into professional mockups. Perfect for presentations and portfolios.

  • Step 1: Upload Screenshot - Select app or website screenshot
  • Step 2: Choose Device - Select from iPhone, Android, Laptop, or Desktop
  • Step 3: Select Background - Choose from White, Gray, Gradient, or Transparent
  • Step 4: Generate Mockup - Preview and download

Use Cases

  • Images for websites: Reduce the width and file size of images before publishing them
  • Social Media: Optimize image sizes for Instagram, Twitter, Facebook
  • Email Attachments: Compress large images to meet email size limits
  • Portfolio Creation: Create mockups from app and website screenshots
  • Presentations: Enhance visual impact with device-framed images

Key Features

  • 🔒 Processed in your browser - Image files are compressed in your browser and are not uploaded to a server
  • ⚖️ Compare size and quality - How much smaller an image gets depends on its content and format, so check the resulting size and appearance and adjust the quality
  • 📱 Mockup Builder Included - Easily create professional mockups by placing images in iPhone, Android, Laptop, or Desktop frames
  • 🎨 Flexible Customization - Freely adjust quality (10-100%), max width (100-4096px), and background color (white/gray/gradient/transparent)
  • 📊 Batch Processing - Select and compress multiple images at once for efficient workflow
  • 📄 Format and file name shown - The result shows the output format (PNG files over 5 MB become JPEG) and a file name with the matching extension
  • 📥 Easy Download - Compare before/after file sizes and download individually or all at once
  • 🌐 Formats - JPEG, PNG and WebP. Images are generally saved in the same format (PNG files over 5 MB are saved as JPEG)

Image File Size on Websites

Image file size and page data

Making the images on a page smaller can reduce the amount of data visitors have to download. If a photo is much wider than the size it is displayed at, simply scaling it down to the display width can make it smaller.

However, actual loading speed and the scores of measurement tools also depend on things other than images, such as server response, scripts, fonts and how images are loaded. Compressing images alone does not guarantee a faster page or a better score.

Differences Between Formats

  • JPEG and WebP (lossy): Lower quality values tend to give smaller files but coarser detail. How low you can go depends on the image, so check how the result looks.
  • PNG (lossless): PNG keeps every pixel, so the quality value is not used. A PNG mainly gets smaller when it is scaled down by the max width. PNG files over 5 MB (5,000,000 bytes) are saved as JPEG with a .jpg file name (transparent areas become white).
  • WebP: WebP images are saved as WebP (the tool does not convert JPEG or PNG to WebP). If your browser cannot write WebP, the image is saved as PNG with a .png file name.

Choosing Quality and Max Width

A quick way is to start with the defaults (quality 80%, max width 1920 px), check the resulting size and appearance, and then adjust. If you know the width the image will be displayed at, setting the max width to that width tends to make the file smaller.

On websites, you can also serve different image sizes for different screen widths with the srcset attribute.

What is the Image Compressor?

The Image Compressor is a free web tool that re-encodes JPEG, PNG and WebP images with the quality (10-100%) and maximum width you choose, to make the files smaller. It can also place an image in an iPhone, Android or PC frame to create a mockup. Images are processed in your browser and are not uploaded to a server.

Create mockups with smartphone and PC frames. Secure browser-based processing, completely free.

Who is this for?

Anyone who wants to reduce the file size of images for a website or blog, shrink images for email attachments, make images lighter before posting them on social media, or compress several images at once.

FAQ

There is no fixed percentage; it depends heavily on the image content and format. For each image the tool shows "original size → compressed size" and the percentage change, so check that together with how the image looks, and try again with a different quality if needed.

PNG is a lossless format, so the quality setting is not used. A PNG mainly gets smaller when it is wider than the "Max Width" and is scaled down. Note that PNG files over 5 MB (5,000,000 bytes) are saved in JPEG format, so transparent areas become white and the file name ends in .jpg.

For images that are not scaled down (width at or below "Max Width"), if the result would be larger than the original, the tool returns the original file, so it does not grow (the result shows "No change"). Scaled-down images and PNGs converted to JPEG can end up larger; in that case the result shows an increase.

Not in images that are re-encoded. However, when the tool returns the original file because it could not make it smaller, the original EXIF data stays in it. If you need to be sure location data is removed, check with an EXIF removal tool.

Images wider than the value you set (1920 px by default, 100-4096 px) are scaled down to that width, keeping the aspect ratio. Smaller images are never enlarged. Height is not limited, so tall images keep their height.

No. The compressed image is downloaded as a new file: "_compressed" is added to the original file name, and the extension matches the format actually written (.jpg for JPEG, .png for PNG, .webp for WebP). For example, a photo.png over 5 MB is written as JPEG, so it is saved as photo_compressed.jpg.

Including the margin around the device, iPhone and Android mockups are saved as 1400 × 2800 px PNG images, and laptop and desktop mockups as 2600 × 1800 px.

📅 Last Updated: November 4, 2026