← Back to blog
How To · 2026

Compress Image Online Free: Complete 2026 Guide

May 13, 2026·9 min read

You have a photo that is too big. Maybe a beautiful camera shot that will not attach to an email because it exceeds the size limit. Maybe a screenshot for a blog post that will slow down your page load. Maybe a portfolio image that needs to fit a specific upload requirement. Maybe an iPhone HEIC photo that is huge and will not even open properly on the recipient's Android phone. Maybe a batch of product photos you want to upload to a website without making visitors wait forever for the page to load. Whatever the case, you need the image smaller, fast, without obvious quality loss.

iHatePDF Compress Image handles it in seconds. Drop in JPG, PNG, WebP, HEIC, GIF or BMP files. Choose a quality with the slider (80% by default) or type a target size such as 100 KB, pick JPG, WebP or PNG as the output, and optionally set a maximum width. Each result shows a preview with the original and the new file size, so you see exactly what you saved before you download. Most photos shrink a lot with no visible difference. Compress up to 30 images at once without an account, or 100 with a free account. It all runs in your browser. Free, no watermark, mobile-friendly. This guide covers the supported formats, how to pick a quality or target size, batch processing, mobile, common uses like email attachments and upload forms, and how the compression works.

Quick answer (30 seconds)
  1. Open iHatePDF Compress Image and upload up to 30 images (100 with a free account)
  2. Choose a quality, or a target size such as 100 KB
  3. See the before-and-after preview with file sizes shown
  4. Click Compress images
  5. Download single images individually, or batches as a ZIP

Why compress images?

Modern phones and cameras produce images at much higher resolution and quality than most uses actually need. A photo for a blog post does not need to be 8000 pixels wide. A profile picture does not need to be 12 megabytes. A product image for an online store does not need to be at print-quality resolution. Compression bridges the gap between capture quality and the much smaller files most everyday uses actually need.

Ten concrete scenarios where compression matters:

How to compress images: full walkthrough

  1. Open the tool. Visit iHatePDF Compress Image in any web browser. Works on Windows, Mac, Linux, Chromebook, iPhone, Android, and tablets.
  2. Upload your images. Drag and drop your images (up to 30, or 100 with a free account), or click to browse. Cloud import works from Google Drive, Dropbox, and OneDrive. JPG, PNG, WEBP, HEIC, GIF, and BMP all work.
  3. Choose how to compress:
    • Quality slider: from Smallest file to Best quality. The default 80% gives big savings with no visible difference; 60 to 70% squeezes more for web, email and WhatsApp.
    • Target size in KB: type the size you need per image, such as 100 KB, and the tool picks the highest quality that fits. Ideal for upload forms with a size limit.
    • Output format (JPG, WebP or PNG): JPG works everywhere and is the default, WebP makes the smallest files, and PNG is lossless and keeps transparency.
  4. Optional: set a max width. If you also need smaller pixel dimensions (for example a 1200-pixel thumbnail), set a max width. The image will be resized down before compressing for even smaller output.
  5. Check the results. Each result shows a preview with the original and the new file size. Check that the quality looks right for your use before downloading.
  6. Click Compress images. Each image is processed in parallel. Original dimensions are kept by default (unless you set a resize).
  7. Download the results. Single images: one file. Batch jobs: one ZIP containing all compressed images. Optionally save back to cloud (Google Drive, Dropbox, OneDrive).
  8. Optional: chain into another tool. Send compressed images straight into JPG to PDF to combine them into a single PDF, Watermark Image to add branding, or any other image tool.

Batch processing: up to 30 images (100 with a free account)

No account needed to compress in bulk. For anyone working with multiple images (a photo session, a batch of product shots, several screenshots, a folder of email attachments), the tool handles up to 30 at once without signing in (80 MB total, up to 20 MB per file). A free account raises that to 100 images (120 MB total).

How batch processing works:

Typical batch use cases: three product photos for an e-commerce listing, three screenshots for a blog post, three personal photos to email, three iPhone HEIC files to convert and share with non-Apple recipients.

Quality settings explained

Lower quality (about 50 to 70%)

Stronger compression that puts file size first. Photos often shrink 80 to 90 percent, with slight losses you may notice when zooming in but not at normal viewing sizes. Use it for web pages, email attachments, social media and WhatsApp.

High quality (90% and above)

Light compression that keeps the photo almost untouched. Savings are smaller, often 30 to 50 percent. Use it for portfolios, prints, professional photography and archives, or anywhere you may zoom in.

Balanced (default)

The default of 80% is the middle ground: big savings with no visible difference at normal viewing sizes. When an upload form sets a size limit, switch to Target size and type it, and the tool picks the quality for you.

Supported formats and how each compresses

Different image formats have different compression characteristics. The tool auto-detects format and applies the right approach.

FormatBest forTypical savings
JPG / JPEGPhotos, scans, complex images50 to 85%
PNGScreenshots, logos, graphics with transparency20 to 70%
WEBPModern web format, photos and graphics30 to 60%
HEICiPhone photos20 to 50% (already efficient)
GIFSimple graphics (animated GIFs kept as-is)10 to 40% (static only)
BMPLegacy raw images90%+ (uncompressed source)

Important note on PNG: PNG output is lossless, so every pixel is kept and the savings are modest; a target size can't be used with PNG. For photo-heavy PNGs, pick JPG or WebP as the output format, or use Convert to JPG for a plain format change. JPG's lossy compression is designed for photographs and gives much smaller files.

Common scenarios that need image compression

ScenarioRecommended setting
Photo for email attachmentQuality 60 to 70%, no resize
Image for blog postQuality 80%, max width 1600 px
Instagram or social postQuality 80%, max width 1080 px
WhatsApp or Messages shareTarget size, for example 200 KB
Product photo for online storeWebP or JPG at 80%, max width 2000 px
Portfolio image for designerQuality 90% or more, original size
Profile pictureQuality 80%, max width 500 px
iPhone HEIC for non-Apple recipientJPG output at 80%
Resume photoQuality 90%, max width 800 px
Banner or hero imageQuality 70%, max width 1920 px
Print-quality archivalQuality 90% or more, original size
Bulk batch of mixed photosDefault 80%, up to 30 at once (100 signed in)

Common Compress Image issues (and fixes)

Compressed image looks blurry or pixelated

Compression level too aggressive for the use case. Fix: Raise the quality (80% is the default; use 90% or more for maximum fidelity), or switch from a very small target size back to the quality slider. The preview shows how the result looks before you download.

Image still too big after compression

The source image may be at extremely high resolution, or already optimised. Fix: Lower the quality, or switch to Target size and type the size you need. If that is not enough, also set a max width to resize the image smaller in pixels; resize plus compression gives the smallest output. PNG photos shrink far more with JPG or WebP output, or convert them with Convert to JPG for dramatically smaller files.

HEIC file will not open on recipient's phone

HEIC is Apple's format and may not be supported on older Android phones, Windows PCs, or some apps. Fix: Choose JPG as the output format, which is the default. The compressed JPG works on every device and platform.

Want to compress more than 100 images at once

You can compress up to 30 images at once without an account, or 100 with a free account. Fix: For larger jobs, process in batches - the first 100, then the next, and so on. The ZIP outputs can be combined locally if needed.

PNG with transparency lost transparency after compression

Transparency should be preserved when keeping PNG format. Fix: Make sure the output format is PNG (not JPG, which does not support transparency). If you converted to JPG via another tool, transparency is lost. Compress directly as PNG to keep alpha channel.

Compression took longer than expected

Very high-resolution source images take longer to process. Fix: Most images finish in seconds. If a 50-megapixel source takes longer, that is normal. Consider resizing first (smaller pixel dimensions) which speeds up subsequent compression significantly.

Compressing images on mobile (iPhone and Android)

Mobile compression is one of the most common workflows since phones capture huge files. Snap, compress, share, all without leaving the browser.

On iPhone or iPad:

  1. Open Safari and visit ihatepdf.com/compress-image
  2. Tap the upload area and choose images from Photos or Files
  3. Choose a quality, or a target size such as 200 KB for quick sharing
  4. Tap Compress images
  5. Compressed image saves to Files or Photos, ready to share via Mail, Messages, WhatsApp, or any other app

On Android:

  1. Open Chrome and visit ihatepdf.com/compress-image
  2. Tap the upload area and select images from Gallery, Photos, or Google Drive
  3. Choose a quality or a target size
  4. Tap Compress images
  5. Compressed image downloads to your gallery or Downloads folder, ready to share via Gmail, WhatsApp, or any other app

iPhone HEIC files are handled automatically and can be output as compressed JPG for compatibility with non-Apple recipients. Particularly useful for sharing photos with Android friends, posting to platforms that handle JPG better, or attaching to email where HEIC may cause issues.

Tips for the best compression results

Workflow chaining

Compressing images often pairs with other operations. Common chains:

Privacy and security

Image compression often involves personal photos and sensitive content: family pictures, IDs, medical images, confidential business assets. Compression runs entirely in your browser, so your images are never uploaded to a server just to be compressed. They only leave your device if you choose cloud import or create a share link, both over HTTPS. By default, EXIF metadata (including GPS location) is removed for added privacy, unless you switch on Keep metadata (EXIF). Full picture in the privacy and security guide.

Frequently asked questions

What image formats can I compress?

JPG, PNG, WebP, HEIC, GIF and BMP files are accepted. You choose the output: JPG (works everywhere), WebP (smallest files) or PNG (lossless, keeps transparency). Animated GIFs are passed through unchanged so the animation isn't lost.

How much smaller will my image be?

Depends on the source. Most images shrink 50 to 90 percent with no visible quality difference. Photos from phones (which are often saved at much higher quality than needed for screen viewing) typically see 70 to 85 percent reduction. Web screenshots can shrink even more, sometimes 90 percent or more. Already-optimised images (those saved at low quality or compressed before) shrink less, maybe 20 to 40 percent. The before-and-after preview shows the exact savings for your specific files before you download.

Will my photo lose quality?

Only as much as you choose. At the default 80% the photo usually looks the same on screen while the file shrinks a lot; 90% or more keeps it almost untouched; 50 to 70% saves more, with a slight loss you may notice when zooming in. PNG output is lossless.

Will the dimensions change?

By default, the width and height stay exactly the same. The image still has its original pixel dimensions, just stored more efficiently. If you need smaller pixel dimensions (for example for a web thumbnail), set a max width in the tool and the image will be scaled down first, then compressed. This combination of resize plus compression gives the smallest possible output for use cases like web galleries and email thumbnails.

Can I compress multiple images at once?

Yes. Without an account you can compress up to 30 images in one go (80 MB total, up to 20 MB per file). With a free account that rises to 100 images (120 MB total). Drop them into the upload area, pick a compression level, and the tool processes them in parallel - each image gets its own optimised output, and multiple images come back as a single ZIP.

Can I import from Google Drive, Dropbox, or OneDrive?

Yes. Open the menu in the upload box, pick Google Drive, Dropbox or OneDrive, sign in once and select your images directly. When the compressed images are ready, you can save them straight back to Google Drive, Dropbox or OneDrive.

Will the file metadata (EXIF) be kept?

By default EXIF is removed during re-encoding, which maximises file-size savings and strips embedded GPS location (usually desirable for privacy). EXIF typically includes camera model, lens settings, GPS location, date/time, and software details. If you need to keep it, switch on the "Keep metadata (EXIF)" option before compressing - it copies the EXIF from JPEG originals into the JPEG output (the file is then slightly larger).

Are my files kept private?

Yes - compression happens entirely in your browser, so your images are never uploaded to our servers just to be compressed. They only leave your device if you choose cloud import or create a share link, both over HTTPS. No human review, no AI training, no third-party sharing.

Can I compress a photo on my phone?

Yes. It works in any modern mobile browser (Safari on iPhone, Chrome on Android, Firefox, Edge, Samsung Internet), and the compression runs on your phone. Add photos from your gallery, choose a quality or target size and download. iPhone HEIC photos can be saved as JPG so they open anywhere.

What quality should I pick?

Three rules of thumb. For web, email and social media, 60 to 80% is plenty. For portfolios, prints or anywhere quality really matters, use 90% or more. When an upload form sets a limit, switch to Target size and type it, for example 100 KB.

Can I compress HEIC images from iPhone?

Yes. HEIC is iPhone's default photo format and produces excellent compression already, but the files can still benefit from further reduction for sharing with non-Apple devices and apps that may not support HEIC natively. The tool can compress HEIC and optionally output as JPG for maximum compatibility. Useful when sharing iPhone photos via email, WhatsApp, or web upload where HEIC support may be inconsistent.

Why use this image compressor?

It runs in your browser with no app to install, accepts JPG, PNG, WebP, HEIC, GIF and BMP, lets you set a quality or an exact target size in KB, compresses up to 30 images at once without sign-up (100 with a free account) and adds no watermark.

How do I compress an image to 100 KB, 50 KB or 20 KB?

Switch to Target size, type the size you need, such as 20, 50, 100, 200 or 500 KB, and compress. The tool picks the highest quality that fits. If a very large photo still can't get that small, also set a maximum width, for example 1200 px, and try again.

Should I choose JPG, WebP or PNG?

JPG works everywhere and suits photos. WebP makes the smallest files and is supported by modern browsers and apps. PNG is lossless and keeps transparency, which suits logos and screenshots, but it can't use a target size.

Can I compress GIFs?

Animated GIFs are passed through unchanged so the animation isn't lost. Still images in GIF format can be saved as JPG, WebP or PNG instead.

Is there a watermark on compressed images?

No. The compressed images have no watermark and no sign-up is needed. They are your original photos, just smaller.

Can I undo compression if I do not like the result?

Compression is one-way: the compressed file can't be turned back into the original quality. Your original stays on your device untouched, so just compress it again with a higher quality setting.

Compress your images in seconds

JPG, PNG, WEBP, HEIC, GIF, BMP. Smart compression keeps quality. Batch up to 30 (100 with a free account). Mobile-friendly. No watermark.

Compress Image →

Use other tools

Free, fast, private image and PDF tools.

Convert to JPGRemove BackgroundWatermark ImageJPG to PDFPDF to JPGCompress PDFMerge PDFEditlySign PDF
Show all tools →

Related guides