on‑device.tools Image & PDF

Image / Image Compressor

Image Compressor — JPG, PNG & WebP

Make images smaller in your browser — without the ugly quality drop.

Image Compressor on-device · nothing uploaded
Drop images here or click to choose
JPG, PNG, WebP · multiple files OK · stays on your device

How it works

Pick a format, set a max width if you want one, then drop your images in. Your browser draws each one to an off-screen canvas and re-saves it at the quality you choose, and the smaller file comes straight back to your downloads — no upload along the way.

It all runs locally, so there's no queue and no size limit beyond your device's memory. The tool even keeps going if your connection drops mid-session, which is an easy way to see that nothing's leaving your machine.

Picking a format and quality

Use JPG for photos that need to open anywhere, or WebP for the web — it's noticeably smaller at the same quality. Keep PNG when you need lossless output or transparency (it ignores the quality slider). Dropping the quality or capping the width is what shrinks files the most.

Add this tool to your site

Paste it anywhere. It runs in your visitor's browser, so no files ever touch your server — nothing for you to host, store, or worry about.

<iframe src="https://ondevice-tools.pages.dev/embed/image-compressor" data-ondevice-embed width="100%" height="620" loading="lazy" style="border:1px solid #d4d8cd;border-radius:9px;max-width:680px" title="Image Compressor — on-device.tools"></iframe>
<p style="font:12px/1.5 system-ui,sans-serif">Free <a href="https://ondevice-tools.pages.dev/tools/image-compressor">Image Compressor</a> — runs in your browser, no upload — by on-device.tools</p>
<script src="https://ondevice-tools.pages.dev/embed.js" async></script>

Questions

Does it upload my images?

No. Compression happens right in your browser with the Canvas API, so your images never leave your device — it works offline, and there's nothing sitting on a server afterward.

How small can I go?

As small as you like. Drag the quality slider down to trade a little detail for size, and you'll see the percentage saved on each file. WebP usually gets smaller than JPG at the same visible quality.

Will it ruin quality?

That's your call. Around 0.7–0.8 quality usually looks identical to the original for photos while cutting the size a lot — only go lower when size matters more than looks.