← 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. Pick a compression level (smallest, best quality, or balanced default). The tool runs smart compression that removes unused bytes while keeping your image looking like the original. Before-and-after preview shows you exactly what you are saving before you download. Most images shrink 50 to 90 percent with no visible quality difference. Optional resize for even smaller output. Compress up to 30 images at once without an account, or 100 with a free account. Free, no watermark, mobile-friendly. This guide covers everything: the supported formats and how each compresses differently, when to pick which compression level, how to batch process, mobile workflow, common use cases like email attachments and social uploads, and how the compression actually works under the hood.

Quick answer (30 seconds)
  1. Open iHatePDF Compress Image and upload up to 30 images (100 with a free account)
  2. Pick compression level: smallest size, best quality, or balanced default
  3. See the before-and-after preview with file sizes shown
  4. Click Compress to apply
  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. Pick a compression level:
    • Smallest size: maximum savings. Best for web, email, social media, WhatsApp. Slight quality reduction not visible at normal viewing sizes.
    • Best quality: lighter compression. Best for portfolios, prints, professional photography. Smaller savings but pristine output.
    • Balanced (default): big savings with no visible difference at normal viewing sizes. Works for most cases.
  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. Review the before-and-after preview. The tool shows the original image and the compressed result side by side with exact file sizes. Verify the quality looks acceptable for your use case before downloading.
  6. Click Compress. 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.

Compression levels explained

Smallest size (maximum savings)

Aggressive compression that prioritises file size over perfect quality. Most images shrink 80 to 90 percent. Minor quality loss visible on close inspection but invisible at normal viewing sizes. Use for: web pages, email attachments, social media, WhatsApp sharing, anywhere the file is viewed on screen at typical sizes.

Best quality (lighter compression)

Conservative compression that preserves quality almost perfectly. Savings are smaller, typically 30 to 50 percent, but output is pristine. Use for: portfolios, prints, professional photography deliverables, archival storage, anywhere you may zoom in or where quality really matters.

Balanced (default)

The middle ground: significant savings (50 to 75 percent) with no visible quality difference at normal viewing. Best general-purpose setting that works for most cases. Use when you are unsure which level to pick.

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: PNGs use lossless compression by default, meaning every pixel is preserved exactly. Savings come from removing redundant data and re-encoding more efficiently. For photo-heavy PNGs, converting to JPG via Convert to JPG achieves much more compression because JPG's lossy compression is designed for photographs.

Common scenarios that need image compression

ScenarioRecommended setting
Photo for email attachmentSmallest size, no resize
Image for blog postBalanced, max width 1600 pixels
Instagram or social postBalanced, max width 1080 pixels
WhatsApp or Messages shareSmallest size, no resize needed
Product photo for online storeBalanced, max width 2000 pixels
Portfolio image for designerBest quality, original dimensions
Profile pictureBalanced, max width 500 pixels
iPhone HEIC for non-Apple recipientBalanced, convert to JPG
Resume photoBest quality, max width 800 pixels
Banner or hero imageSmallest size, max width 1920 pixels
Print-quality archivalBest quality, original dimensions
Bulk batch of mixed photosBalanced default, batch up to 30 (100 signed in)

Common Compress Image issues (and fixes)

Compressed image looks blurry or pixelated

Compression level too aggressive for the use case. Fix: Try the balanced default instead of smallest size, or go to best quality if you need maximum fidelity. The before-and-after preview shows exactly how the output looks before you download.

Image still too big after compression

The source image may be at extremely high resolution, or already optimised. Fix: Try smallest size compression for maximum savings. If that is not enough, also set a max width to resize the image smaller in pixels. Combined resize plus compression produces the smallest output. PNG photos can also be converted to JPG via 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: When compressing, output as JPG instead of HEIC for universal compatibility. 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. Pick a compression level (smallest size for quick sharing)
  4. Tap Compress
  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. Pick compression level
  4. Tap Compress
  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. iHatePDF is built with this in mind. Compression runs entirely in your browser - 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 during re-encoding for added privacy, unless you switch on "Keep metadata (EXIF)". No human review, no AI training, no third-party sharing. GDPR-compliant. Full picture in the privacy and security guide.

Frequently asked questions

What image formats can I compress?

JPG, JPEG, PNG, WEBP, HEIC, GIF, and BMP are all supported. The tool auto-detects the format and picks the right compression algorithm for each one. Each format compresses differently: JPG and JPEG use lossy compression for maximum savings on photos; PNG uses lossless compression that preserves transparency and is best for screenshots, graphics, and logos; WEBP and HEIC are modern formats with excellent compression-to-quality ratios; animated GIFs are detected and passed through unchanged so the animation is preserved (static GIFs are optimised normally); BMP gets converted to optimised storage.

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?

Depends on the compression level you pick. Best quality setting: barely any visible change, just removing unused metadata and re-encoding more efficiently. Balanced setting: tiny quality reduction not visible at normal viewing sizes, big file size savings. Smallest size setting: more aggressive, may show very mild quality loss on close inspection but still looks fine for web, email, and social media. The preview lets you compare and choose the right balance before downloading.

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. Click the cloud icon during upload and authenticate once with your cloud provider. After that, browse cloud folders and select images directly. Compressed images can be saved back to the same cloud location with one click, no local download or re-upload step required.

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.

Does it work on mobile?

Yes. Works in any modern mobile browser (Safari on iPhone, Chrome on Android, Firefox, Edge, Samsung Internet). Upload images directly from camera roll or phone storage. Compressed images download to your Photos (iOS) or Downloads folder (Android), ready to share via Mail, Messages, WhatsApp, or any other app. HEIC images from iPhone are auto-handled and can be output as compressed JPG for compatibility with non-Apple apps and services.

What compression level should I pick?

Three rules of thumb. For web, email, and social media: smallest size (maximum savings, quality still fine for screen viewing). For portfolios, prints, or anywhere quality really matters: best quality (lighter compression, smaller savings but pristine output). For everything else (the default balanced setting): big savings with no visible difference at normal viewing sizes. When in doubt, try balanced first; the before-and-after preview shows whether it meets your needs.

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.

How does this compare to other compressors?

iHatePDF Compress Image is browser-based (no app install), supports many formats (JPG, PNG, WEBP, HEIC, GIF, BMP), offers adjustable quality with live preview, batches up to 30 at once without signup (100 with a free account), and produces no watermark on output. Some alternatives are app-based, support fewer formats, lack live preview, or add their own watermark to free output. The free tier here is generous and unlocks the core compression workflow for all users.

Is there a watermark on compressed images?

No. No watermarks on the output, no signup gate for compression, no daily caps. The compressed images are your original images, just smaller. iHatePDF makes money through optional Pro features, not by watermarking free tool output.

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

Compression is one-way: data removed during compression cannot be perfectly recovered. The compressed image is smaller, but you cannot get back to the original quality from the compressed file. Always keep a backup of original images if you may need the higher-quality version later. The before-and-after preview lets you check the output looks good before downloading, so you can pick a different compression level if needed.

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