Image Tool

Compresser une image en ligne

Réduisez la taille des fichiers image en quelques secondes. Compressez des photos JPEG, PNG, WEBP et HEIC avec un curseur de qualité ou une taille cible en Ko. Aucun compte requis.

Free to use No account required Stays on your device Nothing uploaded

What this image compressor does

This tool takes an image you upload and re-encodes it so the file uses fewer bytes. Compressing an image is different from resizing it: resizing changes the width and height in pixels, while compression reduces image file size and usually leaves the dimensions untouched. A photo can stay 4000 × 3000 pixels and still lose most of its weight, or barely shrink at all if it was already optimized.

Use it when a JPEG is too big for a website upload form, an email attachment limit, a social platform, or a product listing. If you also need different dimensions, run the image resizer first and compress afterwards.

How to compress an image online

  1. Téléversez votre image. Déposez un JPEG, PNG, WEBP, HEIC ou une autre image prise en charge dans la zone de téléversement, ou choisissez plusieurs images à la fois.
  2. Choisissez un niveau de qualité. Déplacez le curseur de qualité (80 % par défaut). Une qualité plus basse signifie un fichier plus petit et plus d'artefacts visibles.
  3. Ou définissez une taille cible. Saisissez une taille cible en Ko et la qualité est ajustée automatiquement pour s'approcher de cette taille de fichier.
  4. Compressez et téléchargez. Appuyez sur Compresser l'image, attendez la fin du traitement, comparez avant et après, puis téléchargez le fichier plus léger.

Three ways to reduce image size

File size comes from three things: how much detail the encoder keeps, how many pixels the image has, and which format stores those pixels. You can pull any of those levers, and combining them gives the biggest reduction.

1. Lower the encoding quality

The quickest way to reduce image file size is to compress at a lower quality. Dropping a photo from 100% to 80% often removes more than half the bytes with no obvious difference on screen. This is what the quality slider above does.

2. Reduce the pixel dimensions

A 6000-pixel-wide photo displayed in a 1200-pixel column is carrying five times more data than it needs. Cutting the width in half removes roughly three quarters of the pixels. Use the resize image tool to set exact dimensions or a percentage, then compress the result.

3. Switch to a lighter format

Format matters as much as quality. A screenshot saved as PNG can shrink dramatically as WEBP, and a photo stored as PNG is often much smaller as JPEG. Keep PNG only when you need transparency or pixel-exact graphics.

Compressing JPEG, PNG, WEBP, and HEIC

Compress JPEG

JPEG is built for photographs and responds well to compression. Camera and phone JPEGs are usually saved at a very high quality setting, so re-encoding at 75–85% typically cuts the file size in half while the photo still looks the same at normal viewing size.

Compress PNG

PNG is lossless. This compressor runs OxiPNG in your browser on the original PNG bytes — it does not re-encode through Canvas. Flat graphics, logos, and screenshots compress well. Photographs saved as PNG usually get much smaller by converting them instead.

Compress WEBP and AVIF

WEBP and AVIF are already efficient modern formats, so expect smaller gains than with an untouched JPEG. They are still worth compressing when you are chasing page speed and every kilobyte in the payload counts.

Compress HEIC photos from an iPhone

HEIC uploads are compressed and saved as JPEG, which makes them viewable everywhere. If you only need the format change without extra compression, use the dedicated HEIC to JPG converter.

Which quality setting should you use?

Quality What you get Good for
85–90% Modest size reduction, detail kept Portfolios, print-adjacent work, photo archives
75–85% Large saving, hard to tell apart from the original Website images, blog posts, product photos
60–75% Small file, slight softness in fine texture Email attachments, forms with upload limits
10–60% Smallest file, visible blocking and banding Thumbnails, previews, strict size caps

These are starting points, not rules. After compressing you get a before and after slider, so you can raise or lower the quality and re-apply until the balance looks right.

Why people reduce image file size

  • Faster pages. Images are usually the heaviest part of a page, so compressing them is the simplest way to improve load time and Core Web Vitals.
  • Email and messaging limits. Most providers cap attachments, and a handful of phone photos passes that cap quickly.
  • Upload forms. Job applications, government portals, and school systems often reject anything over a fixed number of kilobytes.
  • Marketplace and CMS rules. Storefronts and content platforms enforce their own maximum file size per image.
  • Storage and backups. Smaller files mean more photos in the same space and quicker syncing.

Supported formats and limits

Accepted uploads: JPEG, PNG, WEBP, GIF, BMP, TIFF, AVIF, HEIC. Maximum size: 200 MB per image.

Limitations: Compression can reduce visual quality. HEIC inputs are saved as JPEG. Transparent PNGs converted through JPEG-oriented paths lose transparency. Savings depend on the original file.

Privacy: Your image is processed locally in your browser and is not uploaded to ImgTask's server. Image files never leave your device. No account is needed and results carry no watermark.

More Tools

Frequently Asked Questions

La compression réduit la taille du fichier image pour faciliter le téléversement, l'envoi par e-mail ou le chargement sur un site web. Elle ajuste généralement la qualité d'encodage sans nécessairement modifier la largeur et la hauteur.
Saisissez une valeur dans le champ Taille cible (Ko) avant de compresser. La qualité est ajustée automatiquement pour atteindre cette taille — par exemple 100 Ko pour un formulaire ou 500 Ko pour une image web.
Commencez autour de 80 % de qualité et comparez l'aperçu avant/après. La plupart des photos restent identiques entre 75 et 85 % tandis que le fichier devient nettement plus petit.
La compression vise la taille du fichier. Le redimensionnement change les dimensions en pixels (largeur et hauteur). Vous pouvez utiliser les deux : redimensionnez d'abord, puis compressez si le fichier reste volumineux.
Vous pouvez téléverser JPEG, PNG, WEBP, GIF, BMP, TIFF, AVIF et HEIC/HEIF. Les photos HEIC sont compressées et enregistrées en JPEG. Les résultats et économies varient selon le format.
La taille maximale est de 200 Mo par image. Des dimensions en pixels très grandes peuvent échouer dans le navigateur. Le traitement reste dans votre navigateur — les fichiers ne sont pas envoyés à une file serveur en arrière-plan.
La compression s'exécute dans votre navigateur. Votre image est traitée localement et n'est pas téléversée sur le serveur d'ImgTask. Les fichiers image ne quittent jamais votre appareil.
Vous pouvez sélectionner plusieurs images dans le téléverseur. Chaque image est traitée comme une tâche distincte.

Blog

Guides and tips from the blog

Short, practical articles to get more out of ImgTask and your image or PDF workflow.

View all articles

Processing…