Free Online Image Compressor – Compress Images Under 40 KB
Large photos slow websites down, fill up mobile data and hurt Core Web Vitals. This free online image compressor shrinks images straight in your browser, can hit a strict size limit such as 40 KB, and exports WebP, JPG, JPEG, AVIF or PNG. Nothing is uploaded, nothing is watermarked. More free utilities live on the Floan homepage and in the tools directory.
How to Compress an Image to Under 40 KB
- Select an image – JPEG, PNG, WebP, AVIF or GIF (animated GIFs are flattened to one frame).
- Keep “Limit size” on and set the target, for example 40 KB for forms and job portals, or 100 KB for blog photos.
- Pick a format – Auto compares WebP, JPG and AVIF (where supported) and keeps the smallest.
- Download the result, or hit Reset to start again.
How the Size Limit Works
For lossy formats the tool runs a binary search over quality to find the best-looking file that still fits your limit. If even very low quality is too large, it reduces the dimensions step by step and searches again. PNG is lossless, so only resizing can shrink it; use WebP or JPG for the smallest files.
Which Format Should I Use?
- WebP – best all-round choice for websites, with transparency support.
- AVIF – often smaller still, but encoding is slower and not every browser can create it.
- JPG / JPEG – the same format with different extensions; use it where a site demands a specific one. Transparent areas become white.
- PNG – only when you need lossless output.
Faster images improve Largest Contentful Paint; verify the effect with PageSpeed Insights.
Frequently Asked Questions
Does this image compressor upload my photos to a server?
No. Compression runs entirely in your browser with the HTML5 Canvas API, so your images never leave your device.
How do I compress an image to under 40 KB?
Keep “Limit size” switched on with the target set to 40 KB, then choose an image. The tool searches for the highest quality that fits, and reduces the dimensions step by step if quality alone is not enough.
Which formats can I export?
WebP, JPG, JPEG, AVIF and PNG, plus an Auto mode that picks the smallest result. Formats your browser cannot encode are disabled automatically.
Will compression reduce image quality?
Lossy formats trade a little detail for size. Between 70 and 85 percent quality most photos look nearly identical to the original at a much smaller file size.
Is it free?
Yes. It is free, needs no sign-up and has no daily limit. Find more tools at Floan.in.