Image Compressor
Shrink a JPEG, PNG or WebP and see what each quality costs.
Compress an image and see what each quality setting actually costs, side by side, before you commit to one. Most compressors make you guess a number and resubmit; this one shows you the whole curve.
Metadata is stripped in the process, which usually saves a few kilobytes on its own and removes the GPS coordinates phone cameras embed.
How it works
Lossy compression works by discarding information the eye is bad at noticing. JPEG and WebP both split the image into blocks, convert each to frequencies, and round away the high-frequency detail — fine texture and sharp edges — while keeping the broad shapes. The quality number controls how aggressively that rounding happens.
The relationship between quality and file size is not linear, and that is the single most useful thing to understand here. Going from 95 to 85 typically saves half the bytes for a difference almost nobody can see. Going from 85 to 75 saves much less and starts to show on flat areas like skies. Below about 60, blocking artefacts appear around edges and text becomes mushy. The sweet spot for web photographs is usually 75–85, which is why the table below brackets it.
PNG is a different animal. It is lossless, so there is no quality dial at all — its size comes from how well the pixel data predicts itself. Re-encoding a PNG saves whatever metadata it carried and not much else. If a PNG is too big, the real answers are to reduce its dimensions, cut the colour depth if it is a simple graphic, or convert it to WebP, which has a lossless mode that beats PNG outright.
Which brings up the thing compression cannot fix. If a 4000-pixel photograph is displayed in an 800-pixel slot, no quality setting solves that — you are sending twenty-five times the pixels needed and then throwing them away in the browser. Resize first, compress second. This page flags it when the image looks oversized for any plausible display size.
A caution on repeat compression: every lossy pass discards more, and it never comes back. Compressing an already-compressed JPEG rounds away detail that was already an approximation, which is how images acquire that over-processed look after being saved and re-saved a few times. Always work from the largest, least compressed original you still have.
Frequently asked questions
What quality setting should I use?
For photographs on the web, 75–85. Above 90 you pay a lot of bytes for a difference almost nobody sees; below about 60 blocking artefacts become visible on flat areas. Compare the sizes in the table and pick the smallest that still looks right to you.
Why did compressing my PNG barely help?
Because PNG is lossless — there is no detail to discard, so the only saving is stripped metadata. For a photograph stored as PNG, convert to WebP or JPEG. For a simple graphic, reducing the colour palette or the dimensions is what actually helps.
Does compressing lose quality permanently?
For JPEG and WebP, yes — the discarded detail is gone and cannot be restored by re-saving at a higher quality. Keep your original. PNG and BMP are lossless, so those round-trip exactly.
Should I compress or resize?
Resize first, then compress. If an image is displayed at 800 pixels wide, serving 4000 pixels wastes bandwidth no quality setting recovers. Compression is the second step, not a substitute for the first.
Is it safe to compress the same image repeatedly?
No. Each lossy pass discards detail from an already approximate image, which is how pictures acquire that over-processed look after several rounds of saving. Always start from the original rather than a previously compressed copy.
Are my images kept on the server?
For fifteen minutes, then they are deleted automatically. Nothing is logged and nothing is retained. Uploads and results both go.
Related tools
Image Converter
Convert between WebP, JPEG, PNG, GIF and BMP in the browser.
Images & FilesImage Resizer
Resize or crop an image to exact dimensions or a percentage.
Images & FilesFavicon Generator
Turn one image into a complete favicon set with the HTML to match.
Images & FilesWebsite Speed Test
Break a page's response time into DNS, connect, TLS and TTFB.
Website & SEOQR Code Generator
Make a QR code for a URL, Wi-Fi network, contact card or SMS.
Images & FilesMeta Tag Analyzer
Check a page's title, description, headings, canonical and social tags.
Website & SEONeed hosting that just works?
Free SSL, daily backups and 24×7 support on every Loudhost plan.