Resize Image to KB
Hit an exact file size limit in KB or MB, automatically.
Compress until the file fits a size you specify exactly.
Drop an image here, or click to choose one
JPEG, PNG, WebP, GIF or SVG · processed on your device, never uploaded
Compress Image to Size takes the target rather than the quality as its input. Type a size in KB or MB and a bisection search finds the best quality that still fits, usually within ten passes. Dimensions are left alone unless quality alone cannot reach the target, and the quality actually achieved is reported so you know what the limit cost.
There are two ways to compress: choose a quality and accept the size, or choose a size and accept the quality. Most tools only do the first. This does the second.
Type the target and a bisection search finds the highest quality that still fits under it, usually within ten encoding passes. Dimensions are left alone unless quality alone cannot get there, in which case the picture is scaled down as well and the tool says so. It differs from Resize Image to KB in emphasis rather than mechanism: this page leads with the quality it achieved, which is what you care about when the limit is generous.
Converges on the best quality that fits in about ten encoding passes, rather than leaving you to guess.
If the target forced quality down to 30, you are told, because that is a signal to change the target or the format.
Pixels are only dropped when quality alone cannot reach the number, and the tool says when it has done so.
Only a result at or under the target is accepted, so the download always passes the check it was made for.
WebP reaches a given target at noticeably higher quality, when the destination will take it.
Any format your browser can read.
In KB or MB, whichever the requirement is stated in.
Ten or so passes narrow in on the best quality that fits.
If it had to go very low, a smaller target or WebP will serve you better.
By bisection: it encodes at full quality, then repeatedly halves the range between settings that fit and settings that do not, converging in about ten passes.
No. Only a result at or under the number is accepted, so what you download always passes the check on the other end.
The dimensions are reduced as well, and you are told. Below a certain point a photograph cannot stay recognisable, and the tool says when it has reached that.
The mechanism is the same. This page reports the quality it achieved first, which is what matters when the limit is generous; the other leads with fitting the cap, which is what matters when it is tight.
What people who use the Compress Image to Size think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Compress Image to Size. It takes half a minute and no account.
Write the first reviewHit an exact file size limit in KB or MB, automatically.
Darken the edges to draw the eye to the centre.
Cut a sprite sheet back into individual frames.
Convert PNG or JPG to WebP and cut the file size sharply.
Convert JPEG photos to lossless PNG files.
Work out ratios and missing dimensions without an image.
Inspect, tidy and transform SVG path data.
Fix a tilted horizon with a fine angle slider and grid.