Image Compressor
Make a photo or graphic smaller in bytes for an upload form, email or website. Choose one JPG, PNG or static WebP, compare the result and download the version that meets your needs.
Before you start
- Input
- JPG, PNG or static WebP; one image.
- Output
- An image in the same format, with before-and-after sizes.
Loading tool…
How to use this tool
- Choose a supported JPG, PNG or static WebP image.
- For JPG or WebP, adjust quality or a target size. For PNG, choose pixel-preserving or reduced-color mode.
- Inspect the preview and actual file size, then download.
Understand the result
Compression methods differ by format. JPG and WebP quality controls can remove detail. PNG can be re-encoded while preserving supported decoded pixels, or use fewer colors in a clearly labeled lossy mode. Keeping transparency does not mean every PNG setting preserves every color.
How do I compress an image to 100 KB or 200 KB?
For JPG or WebP, choose the required target, process the image and compare the exact output bytes with the upload limit. Here, 100 KB means 100,000 bytes. If the image is still too large, reduce its pixel dimensions and try again. PNG uses separate compression modes rather than a target-size control.
Can I reduce photo size without changing its dimensions?
Start by adjusting JPG or WebP quality while keeping the current dimensions. Inspect small text and edges before accepting the result. If the target would require unacceptable quality loss, return to the original and resize it. Repeatedly compressing an already compressed copy can lose more detail.
Quick size targets
1 KB = 1,000 bytes. A target is a maximum to try, not a guaranteed result. PNG uses its own compression modes.
If the result is still too large
Try smaller pixel dimensions before reducing quality further. Fine text and sharp edges can show compression artifacts earlier than a photograph. Check the preview at the size the picture will actually be viewed.
Try a sample
Try an original sample to inspect the supported workflow. A successful sample is not a guarantee for every input.
Image ↓ JPG ↓If the result is not what you expected
The image is still too large.
Quality changes alone may not reach a strict byte limit. Resize the original to the required dimensions, then compress that result. For PNG, preserve transparency and compare reduced-color output before accepting it.
Next useful tool: Image Resizer →Important limits
- Animated or unsupported PNG variants are not accepted.
- A smaller file is not guaranteed; an already optimized image may be best left as it is.
- PNG re-encoding does not preserve every metadata field or color-profile behavior.
- The target-KB control applies to JPG and WebP, not the first PNG release.
- PNG: static 8-bit files only, up to 10 MB and 12 million pixels. JPG/WebP retain the existing 20 MB and 25 million pixel limits.
Frequently asked questions
Can a PNG keep its transparent background?
Yes. The PNG output keeps transparency. The reduced-color mode can change color detail, so compare edges and gradients before saving.
Does pixel-preserving mode keep every part of the file?
It preserves the supported decoded pixel values, not every metadata field, embedded profile or original byte. Keep your source file.
Can I target 100 KB?
The target-size control is available for JPG and WebP. It is an attempt, not a guarantee. PNG uses separate re-encoding or reduced-color modes; resize the image if necessary.
Related guides
Questions or a correction? mrkcal@mrkcal.com