HEX vs RGB vs HSL: Choosing the Right Colour Format
The differences between HEX, RGB and HSL, when each is most useful, and how to convert between them without guessing.
Large images slow down websites and overflow email limits. This tool re-encodes an image at a quality level you choose, optionally resizing it, and shows exactly how many bytes you saved.
Everything happens on your device with the Canvas API: the file is never uploaded, which also makes it safe for private photos.
Runs locally in your browser — nothing is uploaded.
Only if you set a maximum width smaller than the original. Otherwise the pixel dimensions stay the same and only the JPEG encoding quality changes.
PNG is lossless and this tool encodes the compressed result as JPEG or WebP, which are better for photos. For screenshots with text, keep the original PNG.
No. The file is read by the browser, drawn to a canvas and re-encoded locally. It never leaves your computer.
Compression settings trade size against visible artefacts. For photographs, quality around 75–85 usually looks identical at screen size while cutting the file substantially; below about 60, gradients and skin tones start to band.
Resizing often beats compressing. An image displayed at 800px wide does not need to be 4000px; shrinking it first reduces both dimensions and bytes, and the browser no longer has to scale it down on every load.