← utilities

Private Image Compressor

Compress images locally in your browser without uploading files to a server.

Drop a JPEG, PNG or WebP

Output format

This browser cannot encode WebP. JPEG and PNG still work.

Selected photo preview

No photo yet

Original Size
Compressed Size
Savings (%)

100% Client-Side Processing

What Private Image Compressor is

You drop a JPEG, PNG or WebP, pick a quality, and see the new size before you download. The work is canvas encode in this tab. Nothing is uploaded to social-hub.io. There is no “cloud squeeze” and no account.

Quality starts at 80% (Medium). Low, Medium and High are presets. You can also drag the slider. Output format is JPEG, PNG or WebP. The page shows original kilobytes, compressed kilobytes, and the saving. PNG often will not shrink the way JPEG does, because PNG is lossless. Some browsers cannot encode WebP; the page says so and leaves JPEG and PNG working.

The chosen file is read with FileReader (or an equivalent blob URL) and decoded into a bitmap. That bitmap is drawn onto a canvas at the same pixel size. Re-encode uses the canvas blob API with the quality you picked. The kilobyte line is the size of that new blob, not a guess. A refresh drops the preview because the picture is not written to local storage. HEIC is not a format this compressor accepts; export a JPEG, PNG, or WebP first.

How to use it

  1. Drop or choose one photo. The preview stays in this tab.
  2. Watch the kilobyte line as you move quality or change format.
  3. If the picture looks soft, raise quality. If the file is still large, drop quality or switch to JPEG.
  4. Download squeezed.jpg (or png/webp). Keep the original if you still need a master.

Common uses

Shrink a camera JPEG for email. Get a hero image under a CMS limit. Make a WhatsApp-sized file without an app. Prepare a WebP for a static site after you have already set the pixel size. Compress a screenshot that is huge for no good reason. Cut a portfolio JPEG so a form will take it. Soften a phone burst shot that is tens of megabytes. Try JPEG when a PNG screenshot barely moves. Raise quality if skin or type looks blocky. Keep the master for print.

Privacy

We never receive the photo. Nothing is stored on our side. A refresh clears the preview. The original file on disk is not overwritten. Keep the download if you still need the smaller copy.