Some application forms, upload portals, marketplaces and document systems impose a hard image-size limit. In that situation, “compress the image” is not specific enough—you need an output that stays below a target such as 50 KB, 100 KB, 200 KB or 1 MB while remaining usable. The safest method is to keep the original, understand the destination requirement, and reduce dimensions or compression strength only as much as necessary.
Start with the real requirement
Check whether the destination specifies a maximum file size or an exact target. A maximum gives you room to aim slightly below the limit. If a site says “under 200 KB,” for example, producing a 198 KB file is usually safer than aiming for exactly 200 KB and discovering that the upload system measures the file differently.
Compress to a target with Tervilo
- Open the Tervilo Compress Image to Target Size tool.
- Select the original JPG, PNG or WebP image.
- Enter the target file-size limit.
- Choose an appropriate output format when the tool offers a choice.
- Run the compression.
- Check the resulting file size and inspect the image before uploading it.
Why target-size compression can change quality
For lossy formats, getting from 600 KB to 100 KB means discarding information. The smaller the target, the greater the visual trade-off may become. Text, fine lines, faces and product edges can show artifacts before a photograph looks obviously damaged. The goal is not “smallest possible”; it is “small enough for the requirement while still acceptable.”
When resizing should come first
If the source image is much larger in pixels than the destination needs, resizing can be more effective than forcing very strong compression. A 4000 × 3000 photo used at 800 pixels wide contains far more pixels than necessary for that display. Reducing dimensions first can make the target-size problem easier while preserving a cleaner appearance.
Choose a sensible format
Photographs often compress efficiently as JPG or WebP. Screenshots, diagrams and transparent graphics may be better suited to PNG or a transparency-capable WebP workflow. A format change can be part of reaching the target, but it should not remove a feature the destination actually needs.
Example: application portal under 100 KB
Suppose a form accepts a headshot below 100 KB. Start from the original, confirm the required dimensions, reduce the image to an appropriate pixel size if it is oversized, then target a little below 100 KB. Open the result at normal viewing size and make sure facial detail and edges remain clear before submitting it.
Example: product photo under 200 KB
A product photo may need to remain below 200 KB for a marketplace upload. If the original is several thousand pixels wide, first decide whether the marketplace needs that much resolution. A moderate resize followed by target-size compression is often better than pushing the same oversized photo through extremely aggressive compression.
Why some images are difficult to compress
Images behave differently based on content and format. A simple graphic with large flat areas can behave differently from a detailed photograph. An already-compressed JPEG may also have little room for another large reduction without visible damage.
Do not overwrite the original
Keep the original source file. Target-size compression is an optimization step, not a new master copy. If the destination later requires a higher-quality version, another format or different dimensions, the original gives you a clean starting point.
Verify the final upload requirements
Check more than the number of bytes. Confirm dimensions, file format, orientation and visual quality. Some systems have both a file-size limit and a pixel-dimension limit. Meeting only one of them will still result in a rejected upload.
Common mistakes
- Aiming for the absolute smallest file.
- Ignoring a destination's pixel-dimension requirement.
- Converting transparent artwork to a format without transparency.
- Repeatedly recompressing the same JPEG.
- Deleting the original after creating the target-size derivative.
Quick checklist
- □ I know the maximum or target file size.
- □ I checked required dimensions.
- □ I kept the original source.
- □ I used a suitable output format.
- □ I checked both file size and visual quality.
Quick answer
To reach a specific image file size, keep the original, confirm the destination's size and dimension limits, resize when the source is oversized, choose a suitable format, and compress toward the target. Leave some margin below a hard limit and verify the final image before uploading it.