Compress Image to Target Size

Set a target size and compress images for strict upload limits. Supports JPG, PNG, WebP, AVIF, GIF, BMP, TIFF and HEIC.

Select Image files

or drop files here

Maximum file size: 25MB per image

ImageTiny app icon
ImageTiny

Compress, convert & crop images offline on iPhone - privacy-first, batch up to 200

Related Tools

Learn more about this tool

About Target Size Image Compression

This tool helps you compress images to a specific file size target. It is useful for upload forms, exam portals, and profile photo requirements where a strict file-size limit is required. All processing happens in your browser for privacy. Whether you are preparing bilingual English and French documents, submitting files to CRA and Service Canada, or collaborating cross-border with US teams, this tool keeps your files lean and aligned with Canadian privacy expectations — nothing leaves your device.

Common Use Cases

Government / Exam Forms

Meet strict requirements such as photo under 50KB or 100KB.

Job Portals

Upload profile images that must stay under a fixed limit.

Email Attachments

Reduce total attachment size for easier delivery.

Website Performance

Use smaller images to improve loading speed and Core Web Vitals.

How to Compress an Image to 50KB, 100KB, or Any Size

1

Upload your images

Select one or more image files from your device, including JPG, PNG, WebP, AVIF, GIF, BMP, TIFF, and HEIC.

2

Set the target size

Choose a preset like 50KB or 100KB, or enter a custom size and optional dimension or format settings.

3

Compress and download

Run the tool in your browser and download the results once the target is reached or the best possible size is produced.

Frequently Asked Questions

Can I compress an image to exactly 100KB?

Often yes, especially for JPG and WebP files. If the exact target cannot be reached because of the original format, dimensions, or quality limits, the tool shows the closest best-effort result.

Which image formats are supported?

The tool supports common image formats including JPG, PNG, WebP, AVIF, GIF, BMP, TIFF, and HEIC.

Should I allow format change?

Allowing format change can make it easier to hit smaller targets because formats like JPG or WebP are often more size-efficient than PNG. Keep the original format when you have strict format requirements.

Is this image size reducer private?

Yes. Image processing happens locally in your browser, so your files are not uploaded to a server.

What is the maximum image file size I can compress?

There is no fixed server limit because everything runs locally, but most devices comfortably handle photos up to about 30MB and 8000 pixels wide. If a huge file fails or slows down, resize it to around 3000 pixels first, then compress it to your target size.

Does compressing to a target size reduce the image resolution or dimensions?

Often yes. The tool lowers JPEG quality first, and if the file still exceeds your target, it scales dimensions down in steps until it fits. Small photos usually keep full resolution, while large ones may end up 1500 to 2500 pixels wide. Allowing a format change preserves more detail.

Why is my compressed file slightly over or under the target size?

The tool adjusts quality in small steps, so results typically land within about 1 to 2 per cent of your target. Strict forms may reject a file at 101KB, so if the limit is firm, pick a target roughly 5 per cent lower, like 95KB for a 100KB requirement.

Does compressing remove EXIF metadata like GPS location?

Re-encoding in your browser normally strips EXIF metadata, including GPS coordinates, camera model, and the capture date. This trims a few kilobytes and protects your location when uploading profile or ID photos. The visible image stays identical, with the same pixels, colours, and dimensions after compression.

{-- * External Resources Component(#15 内容佐证工程升级) * 显示外部权威链接资源,提升 SEO/GEO 权威性。 * * 2026-09-28 升级: * - 接受 :slug 属性 → 经 config/tool-sources.php 家族矩阵渲染「该工具格式」的权威引用 * (RFC / W3C / ECMA / 官方规范站 / Wikipedia,URL 均实测可用) * - -to-{N}kb/mb 子工具 slug 自动剥离尺寸后缀回退到父工具解析(显式映射已全量覆盖,此为保险) * - 无 slug 或 slug 未命中映射时,回退到原有全站通用资源(common.resources.links) * - 链接保持 dofollow(rel="noopener noreferrer") * * @param string|null $slug --}}