compress images
shrink jpg, png and webp files by up to 90%. pick a quality, or type a target size like 100 kb and let the tool find it. nothing is uploaded.
runs on your device · free · no sign-up
loading tool…
how to compress images
- drop one or many jpg, png or webp images on the box above.
- choose target file size (type a size in kb) or choose quality and drag the slider.
- optionally set a max width and an output format, then check the size shown next to each file.
- drag the before and after slider to check the look, then download one file or the whole zip.
file size comes from three things: pixel dimensions, quality and format. a 12 megapixel phone photo is about 4000 × 3000 pixels, far more than any screen shows. cutting the width to 1600 or 2000 px often saves more than lowering quality, and it hurts less. use the max width box together with a quality of 70 to 80 for the best results.
for most photos jpg or webp at quality 70 to 80 looks identical to the original at a quarter of the size. below about 50 the blocky artifacts start to show, especially on skies and faces. png is the right format only for screenshots, logos and anything that needs transparency. if a png is huge, webp keeps the transparency at a fraction of the size.
when a form or portal has a hard limit such as 100 kb, use target file size mode. the tool searches quality between 95 and 30 before it touches your dimensions, so you keep as much sharpness as the limit allows. aim a few kb under the limit if a site counts kilobytes as 1,024 bytes.
features
- target file size mode: 20 kb, 50 kb, 100 kb, 500 kb or any number you type
- quality mode with a slider and a max width option for web pages
- batch compression with a combined zip download and total savings
- before and after slider so you can judge the quality
- never returns a file bigger than the original
- 100% in your browser: no upload, no account, no watermark
popular uses
frequently asked questions
how much smaller will my image get?
photos usually shrink 60–90% at quality 75 with no visible difference. converting png photos to webp or jpg saves the most.
does compressing remove transparency?
jpg has no transparency, so transparent areas turn white. choose webp to keep transparency at a small size.
are my images uploaded?
no. compression runs in your browser with the canvas api, so images never leave your device.
how does target file size mode work?
you type a size such as 100 kb. the tool encodes the image at a middle quality, checks the result, then goes higher or lower, about eight tries in total. you get the sharpest version that still fits. if even the lowest quality is too big, it also shrinks the pixel dimensions step by step.
why is my png not getting much smaller?
png is lossless, so quality settings do nothing to it. leave the format on keep and png files become webp, which is usually 60–80% smaller. screenshots with flat colors and text can stay large as jpg, so webp is the better choice there.
can i compress many images at once?
yes. drop as many files as you like, each one is compressed on its own (in target mode each file gets its own best quality) and you can download them one by one or as a single zip. the total saved is shown under the list.