🗜️ Image Compressor

Compress JPEG, PNG, and WebP images without visible quality loss. Reduce file size up to 90%. Free online image compressor — runs in browser, images never uploaded to any server.

Drop image here or click to upload
PNG, JPG, WebP supported

How to Use

1

Upload your image

Drag and drop a PNG, JPG, or WebP image onto the upload area, or click to browse your files.

2

Adjust quality and format

Use the quality slider (1–100) to balance file size vs. visual quality. Choose JPEG or WebP for best compression.

3

Download compressed image

See the before/after file size comparison. Click Download to save the compressed image to your device.

Frequently Asked Questions

How does browser-based image compression work? +
The tool uses the HTML5 Canvas API to re-encode your image at a lower quality level. The image is drawn onto a canvas element and exported as a JPEG or WebP at the quality you choose. This is the same technique used by many professional tools.
What image formats are supported? +
PNG, JPG/JPEG, and WebP files are supported as input. The output format can be JPEG or WebP, which offer the best compression ratios. PNG uses lossless compression so quality stays at 100%.
Is my image uploaded to a server? +
No. Your image never leaves your device. All compression happens entirely in your browser using the HTML5 Canvas API. This means your images are completely private.
What quality level should I use? +
For most web images, 75–85% quality is a good balance between file size and visual quality. At 80%, you typically get 60–80% smaller files with no visible quality loss to the human eye.
Why is my PNG not getting smaller? +
PNG uses lossless compression, so the quality slider does not apply. To significantly compress a PNG, convert it to JPEG or WebP format using the output format selector.


Tam Rehber: Görsel Sıkıştırıcı

Görsel sıkıştırma, bir web sitesine uygulayabileceğiniz en yüksek etkili optimizasyonlardan biridir. Görseller, bir sayfanın toplam bayt ağırlığının %50-70'ini oluşturur; bu ağırlığı azaltmak yükleme sürelerini, Core Web Vitals puanlarını ve kullanıcı deneyimini doğrudan iyileştirir.

Kayıplı ve Kayıpsız Sıkıştırma

Kayıplı sıkıştırma, daha küçük dosya boyutları elde etmek için bazı görsel verileri kalıcı olarak atar. JPEG, fotoğraflar için mükemmel bir kayıplı formattır. Kayıpsız sıkıştırma, herhangi bir veri atmadan fazlalıkları giderir; PNG bu yöntemi kullanır ve düz renk içeren grafikler için idealdir.

Format Karşılaştırması

Kalite Kaydırıcısı: Altın Orta

JPEG veya WebP için %80 kalite ayarı, çoğu fotoğrafik içerik için altın orta noktadır; dosya boyutu dramatik şekilde küçülürken sıkıştırma artefaktları çoğu izleyiciye fark ettirmez.

Canvas API ile Tarayıcı Tarafında Sıkıştırma

const canvas = document.createElement('canvas');
canvas.width = img.naturalWidth;
canvas.height = img.naturalHeight;
const ctx = canvas.getContext('2d');
ctx.drawImage(img, 0, 0);
canvas.toBlob(
  (blob) => sikistirmaIsle(blob),
  'image/webp',
  0.80
);

Meta Veri Temizleme (EXIF)

JPEG dosyaları kamera modeli, GPS koordinatları ve oluşturma tarihi gibi EXIF meta verileri içerebilir. Bu meta veriler dosyaya 10-30 KB ekleyebilir. Canvas API dışa aktarma işlemi EXIF verilerini otomatik olarak temizler.

Core Web Vitals: LCP Etkisi

Largest Contentful Paint (LCP) metriği, görünüm alanındaki en büyük görünür öğenin ne kadar hızlı yüklendiğini ölçer. Google'ın "iyi" LCP eşiği 2,5 saniyenin altıdır. Hero görselinizi sıkıştırmak ve WebP/AVIF formatına dönüştürmek LCP puanınızı önemli ölçüde iyileştirir.

Görselleri satır içi veri URI'si olarak kodlamak için Görsel to Base64 aracına, vektör grafikleri dönüştürmek için SVG'den PNG'ye aracına bakın.

🧰 50+ Tools