Original image
Compressed image
Original Compressed
Fit

Nothing to compare yet.

Versions tried

Every version here is real and ready. Tap one to keep it instead.

How this was measured

Format
Visual match
Dimensions
Time

Just this image

Pocketsize — compress images and video in your browser, free and private

Pocketsize makes pictures smaller. Add PNG, JPEG, WebP, GIF, BMP or TIFF files and it saves each one several ways — as JPEG, PNG, WebP and AVIF — measures every version against your original, and keeps the smallest one that still looks right. You never have to take its word for it: the original and the result sit side by side with a slider, a difference view, and a measured visual-match score for every file.

It compresses video the same way. Drop in an MP4, MOV, WebM or MKV and it re-encodes the clip, measures the result against the original frame by frame, and keeps the smallest version that still looks right — then plays the two side by side, in step, so you can check. A video going to a chat app is held under that app's size limit, and if fitting the limit cost some sharpness, the same line that shows the saving says so.

Your pictures and videos never leave your computer. There is no upload, no server and no account — the compression runs on your own device, inside your browser. That is not a promise to take on trust: here is how to check it yourself, in about a minute. It is also why the whole app keeps working with no internet after your first visit, and why you can install it like an app and open images with it straight from your file manager.

It can shrink big photos to a pixel limit you choose, or work to a size cap — "keep this under 200 KB". And if you choose "identical — every pixel kept", that is exactly what happens: the same pixels, never resized, just stored smaller.

If you came with one job in mind, these pages open with the plan already set for it: compress to 200 KB · 100 KB · 50 KB · 1 MB · compress JPEG · compress PNG · compress WebP · PNG to AVIF · for email · a whole folder at once.

And for video: compress video · for Discord's 10 MB limit · small enough to email.

Pocketsize is free and open source. The same engine is also a command line, for folders and scripts: pip install pocketsize · source & licence

Pocketsize

Every picture is saved several ways, measured against the original, and the smallest one that still looks right is kept. Nothing ever leaves your computer — after one visit, it even works offline.

Spacehold to flick between before and after — the fastest way to spot a difference
Ddifference heatmap
Ffocus mode — just the comparison
Escleave focus mode
move through the pictures
Deleteremove the selected picture
?this card

The same engine as a command line: pip install pocketsize · source & licence

This format cannot store transparency