Images & files
Image Compression: JPEG, PNG, or WebP?
A smaller image can load faster, but a file is not better merely because it has fewer bytes. The right format and quality depend on the content: a photograph, a screenshot with small text, and a transparent logo have different needs. First choose suitable pixel dimensions, then compare formats and compression settings.
There is no single quality percentage that guarantees a good result for every picture. Use the Image Compressor on a copy and inspect the exported file at its intended size. Keep the original so you can try another format or setting without accumulating unnecessary loss.

Choose a format that suits the content
JPEG is a common choice for photographs and continuous-tone images. Its usual lossy compression trades some detail for fewer bytes, and it does not support an alpha transparency channel. Strong compression can produce visible artifacts around sharp edges and text.
PNG supports lossless compression and transparency, which often makes it useful for graphics or screenshots where exact edges matter. Photographs can be much larger as PNG. WebP supports both lossy and lossless modes and transparency, but your destination software still needs to support the exported format.
Reduce unnecessary pixels before tuning quality
A 4,000 x 3,000 image contains 12 million pixels. A proportional 1,200 x 900 version contains 1.08 million, or 9% as many pixels. File size will not follow that ratio exactly, but removing unneeded dimensions often saves more than aggressively lowering quality at the original size.
Use the Image Resizer when the source is much larger than the placement requires. Then compress the resized output. Avoid making a low-quality export and repeatedly compressing that export again; lossy artifacts can accumulate with each re-encoding.
Compare the parts that reveal artifacts
Look at hair, foliage, gradients, fine texture, and high-contrast text. Check transparent edges against both light and dark backgrounds. A thumbnail may hide artifacts that become obvious when the same image is opened at a larger size.
A quality control is encoder-specific, not a standardized measure of visual fidelity. Quality 80 in one encoder is not guaranteed to match quality 80 in another. For lossless formats, a lossy-style quality control may not apply at all. Judge the actual output rather than treating a slider value as a universal specification.
Use a repeatable export check
Start with the original, select a format compatible with the destination, and export one candidate. Compare byte size, pixel dimensions, orientation, color appearance, and transparency with the source. If the result is too large, try an appropriate dimension reduction or another supported format.
Compression does not by itself establish that all sensitive metadata was removed. If location or device metadata matters, inspect the file or use a dedicated metadata-removal workflow. Keep in mind that recognizable details within the image itself remain visible even after metadata is removed.
- Keep the original file unchanged.
- Resize only when the display needs fewer pixels.
- Choose a format based on photos, sharp graphics, or transparency.
- Inspect the downloaded file, not just the preview.
Choose a starting point, then compare exports
| Image content | Formats to compare | Important check |
|---|---|---|
| Photograph | JPEG and WebP | Texture and gradients |
| Transparent logo | PNG and WebP | Alpha edges and sharpness |
| Screenshot with small text | PNG and lossless-capable formats | Text legibility |
| Email attachment | Formats accepted by recipient | Compatibility and byte limit |
Related tools
- Open Image Converter
Convert PNG, JPG, and WebP images in your browser.
- Open Image Resizer
Resize an image to a target width in your browser.
Common questions
Will converting a JPEG to PNG restore lost quality?
No. A lossless output can preserve the pixels that remain, but it cannot reconstruct detail discarded by an earlier lossy encoding. The new file may also be larger.
Why did compression produce a larger file?
The source may already be highly optimized, or the output may use a different format, encoder, or setting. Compare the actual files and keep the better result for your use case.