How target-size compression works
The compressor tests several quality levels. If quality changes are not enough, it gradually reduces pixel dimensions until the output is within the selected limit.
Reduce a JPG, PNG, or WebP image to a specific upload limit. The tool adjusts image quality and, when necessary, dimensions to produce a file at or below your target.
Private by design: your image stays in this browserThe browser searches for the highest usable quality that fits your selected KB limit.
The compressor tests several quality levels. If quality changes are not enough, it gradually reduces pixel dimensions until the output is within the selected limit.
Use the exact maximum shown by the website or form receiving your image. Extremely small targets can make detailed photos look soft or require much smaller dimensions.
JPG works almost everywhere. WebP often creates smaller files at comparable quality, but an older upload system may accept only JPG.
This tool aims for a maximum file size rather than applying one fixed quality setting. It tests quality levels first and reduces dimensions only when necessary, which is useful for forms with strict image limits.
The browser first tests several quality levels while keeping the original dimensions. If quality changes cannot reach the requested limit, it gradually reduces pixel dimensions and tests again. This avoids shrinking the image earlier than necessary, although an unusually small target may still require a visibly smaller result.
A profile photo can often tolerate more compression than a document scan containing small text. Start near the form limit, inspect the downloaded image, and lower the target only when required. For identification photos, check facial edges and background separation before submitting the file.
The result is designed to be at or below the target. Exact byte size varies because image encoders produce discrete file sizes.
When quality reduction alone cannot meet the target, reducing pixel dimensions is the next effective way to lower file size.