Compress Image Online Free: Complete 2026 Guide
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.
- Open iHatePDF Compress Image and upload up to 30 images (100 with a free account)
- Choose a quality, or a target size such as 100 KB
- See the before-and-after preview with file sizes shown
- Click Compress images
- 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:
- Email attachments hit size limits. Gmail caps individual attachments around 25 megabytes; many corporate email systems are stricter. Compressed photos slip under any limit.
- Faster web pages. Each image on a webpage adds to load time. Compressed images can cut load times by 50 to 80 percent, improving user experience and SEO.
- Social media uploads. Instagram, Facebook, Twitter, LinkedIn all re-compress your photos when you upload anyway. Starting with a smaller file means faster upload and predictable output.
- WhatsApp and Messages. Sharing high-res phone photos eats data and clogs the recipient's storage. Compressed versions transfer instantly.
- Cloud storage. Compressed photos take up much less space in Google Drive, Dropbox, OneDrive, iCloud, freeing your storage quota.
- iPhone HEIC to web-friendly JPG. Compressed and converted, HEIC photos work everywhere.
- E-commerce product images. Online stores need fast-loading product photos; compressed JPGs are standard.
- Document attachments. Resumes, applications, and forms with photos compress down to email-friendly sizes.
- Phone storage management. Compressing old photos frees up space without losing them.
- Faster cloud backups. Smaller files back up faster, especially on slow connections.
How to compress images: full walkthrough
- Open the tool. Visit iHatePDF Compress Image in any web browser. Works on Windows, Mac, Linux, Chromebook, iPhone, Android, and tablets.
- 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.
- 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.
- 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.
- 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.
- Click Compress images. Each image is processed in parallel. Original dimensions are kept by default (unless you set a resize).
- Download the results. Single images: one file. Batch jobs: one ZIP containing all compressed images. Optionally save back to cloud (Google Drive, Dropbox, OneDrive).
- 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:
- Drop up to 30 images in one upload (100 with a free account). Mix formats freely: JPG, PNG, WEBP, HEIC, all in the same batch.
- One set of settings applies to all. Pick the settings once and the tool uses them for every image in the batch.
- Images process in parallel. They compress simultaneously, much faster than processing one at a time.
- Each output is optimised individually. With a target size, the tool finds the best quality for each image separately, so every file fits.
- Results come back as a ZIP. One download containing all your compressed images, ready to extract and use.
- Runs entirely in your browser. Your images aren't uploaded to a server to be compressed.
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.
| Format | Best for | Typical savings |
|---|---|---|
| JPG / JPEG | Photos, scans, complex images | 50 to 85% |
| PNG | Screenshots, logos, graphics with transparency | 20 to 70% |
| WEBP | Modern web format, photos and graphics | 30 to 60% |
| HEIC | iPhone photos | 20 to 50% (already efficient) |
| GIF | Simple graphics (animated GIFs kept as-is) | 10 to 40% (static only) |
| BMP | Legacy raw images | 90%+ (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
| Scenario | Recommended setting |
|---|---|
| Photo for email attachment | Quality 60 to 70%, no resize |
| Image for blog post | Quality 80%, max width 1600 px |
| Instagram or social post | Quality 80%, max width 1080 px |
| WhatsApp or Messages share | Target size, for example 200 KB |
| Product photo for online store | WebP or JPG at 80%, max width 2000 px |
| Portfolio image for designer | Quality 90% or more, original size |
| Profile picture | Quality 80%, max width 500 px |
| iPhone HEIC for non-Apple recipient | JPG output at 80% |
| Resume photo | Quality 90%, max width 800 px |
| Banner or hero image | Quality 70%, max width 1920 px |
| Print-quality archival | Quality 90% or more, original size |
| Bulk batch of mixed photos | Default 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:
- Open Safari and visit ihatepdf.com/compress-image
- Tap the upload area and choose images from Photos or Files
- Choose a quality, or a target size such as 200 KB for quick sharing
- Tap Compress images
- Compressed image saves to Files or Photos, ready to share via Mail, Messages, WhatsApp, or any other app
On Android:
- Open Chrome and visit ihatepdf.com/compress-image
- Tap the upload area and select images from Gallery, Photos, or Google Drive
- Choose a quality or a target size
- Tap Compress images
- 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
- Start with the default 80%. It works for most uses. Lower it for more savings, raise it for more quality, or use a target size when a form sets a limit.
- Check the results before downloading. Look at the new file sizes and the preview, and adjust if needed.
- Resize for web use cases. Setting a max width (1200 to 1920 pixels) on top of compression produces much smaller files. Most uses do not need original-resolution images.
- Convert PNG photos to JPG for major savings. PNG's lossless compression is overkill for photos. Pick JPG or WebP as the output here, or use Convert to JPG for the conversion, then compress.
- Keep PNGs as PNGs for transparency, logos, screenshots. When transparency matters, do not convert to JPG.
- For iPhone users sharing with non-Apple recipients. Compress and output as JPG to ensure compatibility everywhere.
- Batch when possible. Compressing many images at once is much faster than running separate single-image jobs.
- Test compression for the actual use case. An image that looks fine on a phone may not look fine when blown up to a 4K display. Try the compression at the target viewing size.
- Keep originals. Compression is one-way. If you may need the higher-quality version later, save the original separately.
Workflow chaining
Compressing images often pairs with other operations. Common chains:
- Compress, then attach to email. The most common workflow: shrink first, then send.
- Compress, then convert. Use Convert to JPG if format conversion is also needed (especially HEIC to JPG, PNG to JPG).
- Compress, then combine into PDF. Use JPG to PDF to bundle compressed photos into a single PDF for sharing.
- Compress, then watermark. Use Watermark Image to add branding or copyright marks to compressed photos.
- Compress, then remove background. Use Remove Background for product photos or portraits before compression.
- Resize first, then compress. If your target dimensions are much smaller than the source, resize first (via the resize option in this tool) for the smallest possible final output.
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.
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.