snaptxt.app

Image Compressor

Compress PNG, JPEG, and WebP images with a live quality slider and side-by-side preview. Runs in your browser — your photos never leave your device.

Drop a PNG, JPEG, or WebP here.

Oron your computer. Up to 50 MB.

Your image never leaves your device.

Compression runs in your browser via the native Canvas API. No upload, no signup — safe for personal photos, sensitive design comps, and anything else you wouldn’t hand to a random site.

How to use it

  1. 1Drop an image into the upload zone, or click to browse for one. Up to 50 MB; PNG, JPEG, WebP, GIF, and BMP all work.
  2. 2Pick an output format: WebP (best modern compression), JPEG (broadest compatibility), or PNG (lossless).
  3. 3Drag the Quality slider — 75 is a safe default for WebP and JPEG. PNG ignores quality since the format is lossless.
  4. 4Optional: set a Max dimension to resize the longest side (in pixels). Useful for shrinking high-res phone photos down to web sizes.
  5. 5Compare before/after side-by-side, then click Download to save the compressed file.

Common use cases

  • Shrink phone photos before uploading them to a website or sharing in chat.
  • Convert legacy PNGs and JPEGs to WebP for a 20–35% file-size win without visible quality loss.
  • Resize and compress hero images so a landing page actually loads fast.
  • Strip metadata and bloat from images exported by Photoshop, Figma, or screenshot tools.
  • Hit a CMS or app file-size cap ("images must be under 2 MB") without opening a desktop editor.

Frequently asked questions

Are my images uploaded anywhere?
No. Compression uses the browser's native Canvas API and runs entirely on your device. Safe for personal photos, NDA design comps, screenshots with sensitive data — nothing is sent to a server.
Which format should I pick?
WebP if the consumers are modern browsers (basically all of them today) — best compression for the same visual quality. JPEG when you need maximum compatibility (email attachments, old software). PNG when you need transparency or a lossless save.
What does the quality slider do?
It controls the lossy compression strength for JPEG and WebP. 100 is the largest file with the least loss; 1 is the smallest with the most. The 70–80 range is the typical sweet spot — visually indistinguishable in most cases at half the file size.
Why is PNG quality disabled?
PNG is a lossless format — the quality slider has no effect. To shrink a PNG, you mostly need to either resize it or convert it to WebP / JPEG.
What if compression makes the file bigger?
Possible — a small PNG with limited colors can re-encode larger as JPEG with lots of detail. The Reduction stat goes negative and is tinted amber so you notice. Try a different format, lower quality, or a smaller max dimension.
Why does my JPEG have a white background after compressing a PNG?
JPEG doesn't support transparency. When converting from a PNG with an alpha channel to JPEG, the transparent areas become white. Use WebP or stick with PNG if you need transparency.
Is there a file-size limit?
50 MB on the input. Larger images would slow your browser enough to feel broken. For raw photos and design comps, 50 MB is plenty of headroom.