Drop, convert, download
Processing happens on your device using Web Workers — your images never leave the browser.
Your converted images will appear here.
How to use this tool
-
1
Upload your image
Drag and drop a JPG, PNG or WebP image into the upload zone.
-
2
Set a target size
Type the size you need in kilobytes (for example 50 or 100) and pick JPG or WebP output.
-
3
Compress & download
Click Compress to size. The tool adjusts quality automatically to land as close to your target as possible.
Format comparison
| Setting | Best for |
|---|---|
| Under 50 KB | Avatars & email attachments |
| Under 100 KB | Web images & forms |
| Under 200 KB | Blog posts & product photos |
| JPG / WebP | Lossy output with adjustable quality |
Frequently asked questions
How does compression to an exact size work?
The tool re-encodes your image at different quality levels using binary search, then picks the quality that lands closest to your target size.
Will my image reach exactly the size I type?
It gets very close — usually within 5%. If the original image is smaller than the target, the output may already be smaller than requested.
Is my image uploaded to a server?
No. Everything runs in your browser using Web Workers and the Canvas API — your image never leaves your device.
More free image tools
All free ToolFlect tools
Meta Tag GeneratorSEO meta, Open Graph & Twitter tags
Image ConverterConvert & compress PNG, JPG, WebP, AVIF
Resize for Social MediaInstagram, Facebook, LinkedIn, X, YouTube
Compress to Exact KBHit a target file size precisely
SVG to PNGVector SVG to transparent PNG
WebP to PNGLossless with transparency
PNG to WebPSmaller files, keep transparency
JPG to PNGUniversal lossless output
PNG to JPGFlatten transparency for sharing
JPG to WebPOptimise for the web
WebP to JPGUniversal compatibility
HEIC to JPGiPhone photos to JPG
HEIC to PNGiPhone photos to PNG
JPG to AVIFSmallest modern format
Compress JPEGReduce JPG file size
Compress PNGOptimise PNG files
Compress WebPShrink WebP images
Merge PDFCombine multiple PDFs
Split PDFExtract pages
PDF to JPGRender pages as images
PDF to PNGLossless page export
JPG to PDFImages to a single PDF
Compress PDFReduce PDF file size
Choose a preset or set a custom size below. Images are centre-cropped to the exact dimensions.