Free · Browser-Based · No Uploads Ever

The Smarter Image
Compressor

Compress JPG, PNG, WebP, AVIF, GIF and BMP images in seconds — right in your browser. Batch processing, live drag-to-compare preview, target file size mode, format conversion, smart resize, watermarking, and real-time savings stats. Everything is 100% private.

No Server Upload Unlimited Files Live Drag Compare Target File Size Format Convert 100% Private
🗜️

Image Compressor

Choose output format, quality, resize and options — then drop your images

Batch Compare Convert Target KB Private
Output Format:
Quality 82%
Resize Mode
Target File Size
Enable target KB
Enable to auto-hit a KB target
Filename Mode
Options
Strip metadata
Watermark text
Grayscale output
🗜️
Drop images here to compress
Drag & drop or tap to browse your device
Supports all major image formats
JPGPNG WebPAVIF GIFBMPTIFF
Original
Compressed
⟺ Slide
Select or drop an image
to see the live preview
No file selected
0
Files
0
Done
Original
Compressed
Saved
Reduction

Format Compression Guide

Typical file size reduction compared to unoptimised originals at quality 82. Results vary by image content.

JPG → WebP
~72% Best for photos needing smaller size
JPG → AVIF
~80% Smallest modern format
PNG → WebP
~65% Great for graphics & illustrations
JPG → JPG
~55% Re-compress with optimised settings
PNG → PNG
~35% Strip metadata & colour profiles
Advanced Capabilities

Every Feature You Need. Zero Cost.

Professional-grade image compression with a complete set of tools, running privately in your browser.

Batch Processing

Drop unlimited images at once. All files compress simultaneously with individual progress tracking and status badges.

🎛️

Quality Presets

One-click presets for Max (95), Web (82), Social (70), and Tiny (55) — plus a fine-grained 1–100 slider for precise control.

Drag-to-Compare

The "Slide" preview tab shows a draggable divider between original and compressed — see the difference at any split point.

🎯

Target File Size

Set a maximum KB target and the compressor automatically finds the right quality level to hit it — no guesswork required.

🔄

Format Conversion

Convert between JPG, PNG, WebP, and AVIF during compression. Output AVIF for maximum savings or JPG for maximum compatibility.

📐

8 Resize Modes

By width, height, custom dimensions, percentage, max dimension, cover crop, or "contain" fit — all with aspect ratio preservation.

💧

Text Watermark

Bake a copyright notice or brand name into every output. Configure position (5 options), opacity, and text colour.

Grayscale Mode

Convert colour images to greyscale during compression. Great for reducing file size on images where colour adds no value.

🧹

Metadata Stripping

Remove EXIF, GPS location, camera info, colour profiles and ICC data from compressed output for maximum privacy and smaller files.

📊

Live Stats Dashboard

Real-time summary showing total files, completed, original size, compressed size, bytes saved, and percentage reduction.

🗂️

5 Naming Modes

Keep original names, add a prefix or suffix, auto-number outputs, or append a timestamp to prevent filename conflicts.

🔒

100% Private

Zero uploads. All compression happens inside your browser via the Canvas API. Your images never leave your device under any circumstance.

📖

The Complete Guide to Image Compression

Everything you need to know about compressing images for the web, email, and social media

Why Image Compression Actually Matters

If you have ever waited impatiently for a website to load while staring at a blank space where an image should be, you have experienced the direct consequence of poor image compression. Images are almost always the heaviest assets on any webpage — they account for roughly 60 to 70 percent of the total page weight on an average website. When they are too large, everything suffers: your page loads slowly, your visitors leave, your search rankings drop, and your hosting costs go up.

The good news is that image compression is one of the highest-return optimisations available to any website owner, photographer, designer, or developer. A 5MB unoptimised product photo can often be reduced to under 200KB without any visible quality loss when compressed correctly. That is a reduction of over 96 percent — and it translates directly into faster load times, better user experience, and measurable improvements in key search ranking signals like Google's Core Web Vitals.

The rule of thumb: For most web images, aim for a file size under 200KB. Hero images and full-width banners can go up to 400KB. Thumbnails and gallery previews should ideally be under 80KB. Product images destined for e-commerce marketplaces should follow platform-specific guidelines.

What Is Image Compression and How Does It Work?

Image compression is the process of reducing an image file's size by eliminating or reorganising the data it contains. There are two main types:

  • Lossy compression permanently discards some image data — specifically fine details and subtle colour variations that the human eye struggles to detect at normal viewing distances. JPEG and WebP lossy mode work this way. The quality slider in our tool controls how aggressively this data is removed.
  • Lossless compression reorganises the image data more efficiently without removing any information. The decompressed file is mathematically identical to the original. PNG uses lossless compression, though the files are typically much larger than equivalent lossy JPEG images.

Our compressor uses the browser's native HTML5 Canvas API to re-encode images. This is the same technology used by professional image tools — it re-renders the image on a canvas element and outputs a newly encoded version at your chosen quality level and format. The result is typically far smaller than the original while remaining visually near-identical to the human eye.


Choosing the Right Output Format

The format you choose has a bigger impact on file size than any other setting. Here is a practical breakdown to help you make the right decision:

JPEG / JPG — The Universal Standard

JPEG has been the dominant photo format for over 30 years, and for good reason. It offers excellent lossy compression for photographs and works everywhere — every browser, email client, social media platform, print service, and operating system handles JPEG natively without any issues. Use JPEG when universal compatibility is non-negotiable: e-commerce listings, email attachments, social media, and print.

WebP — The Smart Default for Web

WebP was developed by Google specifically for web use and is now supported by all major browsers (Chrome, Firefox, Safari, Edge). It produces files roughly 25–35 percent smaller than equivalent JPEG images, supports transparency like PNG, and can handle both lossy and lossless compression. If your images are destined for a website and you do not need to support very old browsers, WebP should be your first choice.

AVIF — The Size Champion

AVIF (AV1 Image File Format) is the newest entrant in mainstream image formats, and it produces the smallest files of any widely supported format. At equivalent visual quality, AVIF files are typically 50 percent smaller than JPEG and 30 percent smaller than WebP. It supports HDR, wide colour gamut, transparency, and animation. The trade-off is slower encoding (which our tool handles entirely client-side) and slightly lower browser support (about 80% globally as of 2024). For cutting-edge web projects where page speed is critical, AVIF is worth using.

PNG — When You Need Perfect Clarity

PNG uses lossless compression, which means every pixel is preserved exactly. This makes it the right choice for logos, icons, screenshots, diagrams, and any image that contains text or sharp geometric shapes that would show JPEG compression artifacts. The downside is that PNG files are significantly larger than equivalent JPEG or WebP files for photographic content. Use PNG when quality and transparency matter more than file size.

FormatBest ForTransparencyLossyLosslessAvg Saving vs JPEGCompatibility
JPEGPhotos, e-commerce, print✗ No✓ Yes✗ NoBaselineUniversal
WebPWeb photos & graphics✓ Yes✓ Yes✓ Yes25–35% smaller95%+ browsers
AVIFModern web performance✓ Yes✓ Yes✓ Yes40–55% smaller~80% browsers
PNGLogos, icons, screenshots✓ Yes✗ No✓ YesLargerUniversal

How to Choose the Right Quality Level

The quality slider is the single most powerful control for balancing file size against visual fidelity. Here is a practical guide to quality settings that professional web developers and designers use:

  • Quality 95–100 (Max): Near-lossless output. Files are large but visually perfect. Use this for archival copies, images destined for further editing, or professional print work where every pixel must be preserved.
  • Quality 85–95: Excellent quality with meaningful file size reduction. Ideal for hero images, portfolio photography, and any image that will be displayed prominently at large sizes. Compression artifacts are essentially invisible at this range.
  • Quality 75–85 (Web preset): The sweet spot recommended for most web images. You can expect 50–70% file size reduction compared to quality 100 with no perceptible quality loss when viewed at normal screen sizes. This is what professional image optimisers like Squoosh and ImageOptim default to.
  • Quality 60–75 (Social preset): Aggressive compression producing very small files. Slight compression artifacts may be visible at 100% zoom on a calibrated monitor, but these are invisible at normal viewing sizes and scroll speeds. Perfect for blog images, gallery thumbnails, and social media content.
  • Quality below 60 (Tiny preset): Maximum compression at the cost of noticeable quality reduction. Use this for placeholder images, lazy-load blur-up previews, or content where file size is the absolute priority and quality is secondary.

When to Use the Target File Size Feature

Sometimes you need to hit a specific file size — a client has specified a 200KB maximum for all images, or an email service provider limits attachment sizes, or a form upload has a strict byte limit. Manually adjusting the quality slider to hit a target is tedious and imprecise. The target file size feature solves this by automatically running a binary search through quality levels until it finds the setting that produces a file at or below your target while maintaining the best possible visual quality at that size. It is a genuinely useful feature that most online compressors do not offer.


Image Compression and Google Core Web Vitals

Since 2021, Google has incorporated Core Web Vitals into its search ranking algorithm. These are a set of real-world performance metrics that measure how users experience the speed and stability of a webpage. Images directly affect two of the three key metrics:

Largest Contentful Paint (LCP)

LCP measures how long it takes for the largest visible element on the page — almost always an image — to finish loading and become visible to the user. Google's target is under 2.5 seconds. An uncompressed 3MB hero image can easily push LCP beyond 5 or 6 seconds on a typical mobile connection, which has a direct negative impact on your search rankings and your bounce rate. Compressing that image to under 300KB can bring LCP well within the target threshold.

Total Blocking Time (TBT) and Cumulative Layout Shift (CLS)

While TBT is more related to JavaScript execution, CLS — which measures visual stability — is directly affected by images. If an image loads without explicit width and height attributes in the HTML, the browser does not know how much space to reserve, causing the page to jump when the image loads. Always include width and height attributes on your image elements. Beyond that, smaller compressed images arrive faster, giving the browser more time to lay out the page correctly before the user starts scrolling.

Practical SEO Tips for Compressed Images

  • Serve compressed WebP or AVIF images using the HTML <picture> element with a JPEG fallback for older browsers
  • Use descriptive, keyword-rich filenames (e.g., handmade-leather-wallet-black.jpg not IMG_3092.jpg)
  • Always write meaningful alt text — it is read by screen readers and indexed by Google's image search algorithm
  • Implement loading="lazy" on all below-the-fold images to defer loading until the user scrolls near them
  • Use a CDN (Content Delivery Network) to serve your compressed images from servers geographically close to each visitor
  • Set a long Cache-Control header so repeat visitors receive images from their local cache rather than downloading them again

Metadata Stripping: Privacy and Performance

Every digital photograph contains embedded metadata — invisible data stored alongside the image pixels that describes the image and the conditions under which it was taken. This data, known as EXIF (Exchangeable Image File Format), can include:

  • The make and model of the camera or smartphone used to take the photo
  • The exact GPS coordinates of where the photo was taken — including latitude, longitude, and altitude
  • The date and time the photo was captured, often to the nearest second
  • Camera settings including ISO, aperture, shutter speed, and focal length
  • Software version information, colour profiles, and copyright notices

When you publish images on a website without stripping this metadata, anyone who downloads or inspects the image file can extract it — including the GPS coordinates of your home or workplace if you photograph from there. Stripping metadata before publishing is both a privacy best practice and a performance optimisation, as EXIF data can add 50–150KB to a file unnecessarily.

Our metadata stripping toggle removes this data during compression. For sensitive images or any photo taken at a location you do not wish to disclose publicly, enable this option every time.


Common Mistakes People Make When Compressing Images

Compressing Already-Compressed Images Repeatedly

Each time you compress a lossy JPEG, you re-encode it and introduce a new round of compression artifacts. If you compress a JPEG at quality 80, then compress the result again at quality 80, the second output is not quality 80 — it has been degraded twice. Always start from the highest-quality original you have. Our compressor works best when given pristine source files, not already-compressed outputs.

Using PNG for Photographs

PNG is a lossless format designed for graphics, logos, and illustrations. Using it for photographs produces enormous files with no quality benefit over JPEG. A photograph saved as PNG is typically 3–5 times larger than the same photograph saved as a quality-80 JPEG with no visible difference. Always use JPEG, WebP, or AVIF for photographic content.

Ignoring Image Dimensions

Compressing a 6000×4000 pixel photograph to quality 70 produces a smaller file than quality 100 — but it is still a very large image being served to users who may only see it at 800×600 pixels. The single most impactful optimisation is resizing the image to the largest dimensions it will ever be displayed at, and then applying quality compression. Our resize feature handles this automatically — simply choose your target dimensions or use the percentage or max-dimension modes.

Not Testing on Real Devices

A compression level that looks perfect on a high-resolution desktop monitor may show visible artifacts on a phone screen held at reading distance. Always test compressed images at 100% zoom on a range of devices. The Slide preview feature in our compressor lets you drag to compare original and compressed versions side by side — use it to verify quality before downloading.


Image Compression for Specific Use Cases

E-Commerce Product Images

Amazon, Etsy, Shopify, and eBay all have specific image requirements. Amazon requires JPEG for most product categories, with a white background and a minimum of 1000 pixels on the longest side for zoom functionality. Compress product images to quality 85–90 for maximum clarity at the zoom level. Use our "contain" resize mode to fit images within a specified dimension while preserving the aspect ratio.

Social Media Images

Each social platform re-compresses uploaded images using its own algorithm — often aggressively. To minimise quality loss from double compression, upload images at quality 90+ and let the platform compress them. For Instagram, the optimal upload size is 1080×1080 for square, 1080×1350 for portrait. For X (Twitter), 1200×675 for landscape. For LinkedIn, 1200×628 for shared links. JPEG is the safest format for all platforms.

Email Attachments and Newsletters

Email clients vary wildly in their image rendering capabilities. Always use JPEG for email images — it is universally supported. Compress email images to quality 70–75 since email clients typically display images at fixed small sizes where high-quality compression is invisible. For newsletter templates, keep all images under 100KB and test across major email clients including Gmail, Outlook, and Apple Mail.

WordPress and CMS Platforms

WordPress automatically generates multiple image sizes when you upload media, but it cannot undo damage done by uploading already over-compressed images. The ideal workflow is to compress your images manually to the correct dimensions and quality before uploading. This prevents WordPress from double-compressing your images and gives you full control over the output. Many modern WordPress setups also support WebP — check whether your theme and hosting environment support it before converting.


Frequently Asked Questions

  • Is this image compressor completely free? Yes — entirely free with no file limits, no registration required, and no watermarks added to your images unless you enable that feature yourself.
  • Are my images uploaded to a server? No. All compression happens locally inside your web browser. Your images never leave your device at any point. This makes the tool completely safe for sensitive, confidential, or proprietary images.
  • Can I compress images on my phone? Yes. The tool is fully touch-optimised and responsive. Tap "Choose Images" to access your phone's photo library. All processing happens in your mobile browser with no app installation required.
  • What is the maximum file size I can compress? There is no imposed server limit. The practical limit depends on your device's available RAM. Most modern phones and computers can handle images up to 20–30MB without issues. Very large raw files from DSLRs may take a few seconds to process.
  • Does re-compressing a JPEG damage quality? Yes, slightly — every re-compression of a lossy format introduces a small amount of additional quality loss. Always start from the highest-quality original you have, and aim to compress only once.
  • Why is my PNG file larger after compressing to PNG? PNG is a lossless format with no quality reduction. Our tool can strip metadata from PNG files, but it cannot reduce their pixel data. For significantly smaller files, convert PNG images to WebP or AVIF using the format selector.
  • What is the "Contain" resize mode? Contain mode scales your image so it fits entirely within the specified W×H dimensions while preserving the aspect ratio. If your image is landscape and you specify a square target, the image will be scaled so neither dimension exceeds the target — you may see whitespace on the sides depending on how the output is displayed.
  • How does the target file size feature work? It performs a binary search — it tries quality 50, checks if the file is under the target, then tries 75 or 25 depending on the result, and so on — narrowing down to the exact quality level that produces a file at or below your target. It runs up to 12 iterations to find the optimal setting.