Image compression · Optional resizing
Compress image to a target size
Set a maximum file size. Keep the original pixel dimensions or explicitly resize once before compression.
Your image bytes stay in this browser. There is no upload or server fallback.
1. Choose an image
Exactly one static image, up to 25 MiB and 64 MP. Animated or unsupported formats are rejected without flattening or fallback.
Or drop images here. You can also focus this area and paste an image.
2. Set the maximum file size
Enter a size from 5 KB through 20 MB. 1 KB = 1,000 bytes and 1 MB = 1,000,000 bytes.
Quick fill
Maximum file size: 500,000 bytes
Optional. Pixel dimensions stay unchanged unless you enable this setting. The image is resized once before the file-size search.
Choose an image to enable this setting. JPEG images default to JPEG; PNG and WebP images default to WebP.
3. Result
Ready — Choose one image to begin.
Compress an image to 50 KB, 100 KB, 200 KB, or 2 MB
Use the quick-fill buttons when a form, profile, or document portal gives you a common maximum file size. The buttons set exact limits of 50,000, 100,000, 200,000, or 2,000,000 bytes. You can also type another supported KB or MB value.
Refentra keeps the original pixel dimensions by default. Enable resize when a destination also requires specific dimensions. If the image cannot be made small enough, the result clearly says the target was not reached.
Technical details
The selected format is fixed before a deterministic, bounded quality search. At most 12 actual encodes are attempted, all from normalized quality 35 through 100, and actual Blob bytes decide whether the ceiling was reached.
Pixel dimensions stay unchanged by default. With explicit resize enabled, EXIF orientation is applied and the image is rendered once at the requested dimensions before compression. Output is normalized upright in sRGB, and EXIF, IPTC, XMP, ICC, and orientation metadata are stripped by re-encoding.
If quality 35 is still too large, the result is explicitly PARTIAL SUCCESS with “Target reached: No.” That best-effort output remains available for a deliberate download; the tool never enables resize or chooses smaller dimensions on its own.