Pixel Melt: Compress Any Image to a Target File Size — Batch PNG, JPG, GIF Compressor, Keep GIFs Animated, No Upload

100% Browser-Based · Zero Upload

Drop any image. Hit an exact file size — not a guess.
Keep GIFs animated. Trade quality or resolution. Free forever.

PNG JPG GIF WEBP BMP TIFF UNDER YOUR LIMIT

Hit a Target Size

Say "under 500 KB" and Pixel Melt finds the sharpest version that fits. No more quality-slider guessing.

GIFs Stay Animated

Shrink a batch of animated GIFs to a size limit with every frame, the timing, and the loop intact.

Totally Private

Images never leave your device. No server, no account, no tracking, no data collection. Ever.

0
Compressed
0 KB
Saved
Avg. Reduction
How should I compress?
Target file size (per image)
When it won't fit
Keeps quality high and shrinks the dimensions only as much as needed.
Output format "Keep original" keeps GIFs as animated GIFs. Picking WebP/JPEG/PNG flattens animation to a still.
Drop images here or click to browse
PNG · JPG · GIF · WEBP · BMP · TIFF · AVIF · unlimited batch · never leaves your device
0 files 0 KB saved
Preview
Compressed result
Original image
Original
Compressed
Original
Compressed

Frequently Asked Questions

How do I compress an image to a specific file size?
Set a target like 500 KB, drop your images, and Pixel Melt automatically searches for the largest, sharpest version that stays under your limit. It works on a whole batch at once and runs entirely in your browser, so nothing is uploaded.
Can I shrink an animated GIF without losing the animation?
Yes. Pixel Melt decodes every frame, scales them down to meet your target size, and re-encodes them as a smaller animated GIF. The animation, frame timing, and looping are preserved. Keep the output format on "Keep original" to hold the animation.
Quality vs. resolution — what's the difference?
Lowering quality compresses harder and can add blocky artifacts. Lowering resolution makes the image smaller but keeps every remaining pixel crisp. Use the "When it won't fit" control: Sharpest shrinks dimensions and keeps quality high, Keep Size holds dimensions and lowers quality, Balanced does a bit of both.
Is it free?
Yes, completely free. No account, no watermarks, no feature gates, no ads. Compress as many images as you want, as often as you want.
Does it upload my images?
No. Everything runs locally using the Canvas API and JavaScript. Your images never leave your device. There is no server involved at all. (The animated-GIF engine loads a small open-source library from a CDN the first time you drop a GIF, but your files still stay on your device.)
What formats can I compress, and what can I output?
Input: PNG, JPG/JPEG, GIF, BMP, TIFF, AVIF, and WebP. Output: keep each file's original format, or convert the whole batch to WebP, JPEG, or PNG.
Can I preview before I download?
Yes. Tap any result thumbnail for a before-and-after view with a wipe slider and zoom, plus the exact dimensions and file size of the original versus the compressed version, so you can judge whether the quality held up.
How does this compare to TinyPNG, Squoosh, or ezgif?
TinyPNG and Squoosh compress one image at a time and don't target an exact size, and ezgif uploads your GIFs to its servers. Pixel Melt targets a specific size, runs on a whole batch, keeps GIFs animated, and processes everything in your browser. For full editing try Picturino; for video try Video Shrinker.
Can I download all files at once?
Yes. Click Download All to get a single ZIP with every compressed image. You can also save files individually.