Image Compressor

Reduce JPEG, PNG, and WebP file sizes by up to 80% with no uploads and no waiting. Private & Secure

How it works

  1. 1

    Your image is decoded into a raw pixel buffer inside a Web Worker using the Canvas API, keeping the main thread responsive.

  2. 2

    The buffer is re-encoded via OffscreenCanvas.convertToBlob() using the format and quality level you select.

  3. 3

    For PNG, a palette quantization pass reduces the color count before encoding, achieving lossless size reduction.

  4. 4

    For SVG, the XML source is parsed and redundant attributes, comments, and whitespace are stripped without touching any path data.

  5. 5

    The compressed blob is transferred back to the main thread. Your original file is never modified or uploaded.

Tip

WebP re-encodes the same pixel data using a more efficient codec than JPEG, giving smaller files at the same perceived quality.