TARGET-SIZE IMAGE COMPRESSOR · FREE & LOCAL
Compress an image to 20 KB, 50 KB, 100 KB or a custom KB limit.
Set a maximum file size. FastTool keeps the highest tested encoder quality under your target, then reduces dimensions only when quality alone cannot make the image fit.
- No account
- No upload
- JPG · PNG · WebP input
- 25 MB max
ONE SCREEN · ONE JOB
Make this image fit.
Image pixels stay in this tab
Choose an image
JPG, PNG or WebP · maximum 25 MB
REAL OUTPUT PREVIEW
Before & after
We will show the original and compressed file side by side—with actual bytes, dimensions and format.
Ready to compress
Honest boundary: quality matching uses browser codecs. A smaller dimension may be required for very tight targets, and the tool will say when that happens.
HOW IT WORKS
Quality first. Pixels second.
- 01Fit your optional bounds
Maximum width and height are applied without stretching.
- 02Search encoder quality
A local binary search finds the highest tested quality at or below your target.
- 03Reduce dimensions only if needed
If minimum tested quality is still too large, dimensions step down in a controlled loop.
CHOOSE A REAL LIMIT
20 KB, 50 KB, 100 KB—or the number your form requires.
These presets are starting points, not platform rules. Always use the maximum shown by the site you are uploading to. FastTool treats 1 KB as 1,024 bytes and aims for an output at or below that ceiling.
| Target | A practical starting point for | What to expect |
|---|---|---|
| 20 KB | Very strict profile-image or form limits | Visible dimension reduction may be necessary. |
| 50 KB | Small avatars, ID-style previews and compact uploads | Detailed photos may lose fine texture. |
| 100 KB | Application portals, web forms and document attachments | A useful balance for many ordinary photos. |
| 200 KB | Web publishing and larger on-screen images | More room for detail and dimensions. |
| 500 KB | High-detail web images with a generous ceiling | Often reachable with quality search alone. |
Important: “to 100 KB” means no larger than 100 KB. Encoders produce discrete byte sizes, so the result may be slightly below your target rather than exactly the same number of bytes.
WHAT GETS VERIFIED
The download is checked, not assumed.
Signature before decode
The declared JPG, PNG or WebP type must match the file bytes. A renamed or mismatched file is rejected clearly.
Actual output bytes
The target verdict uses the generated Blob size—not an estimate, percentage or decorative progress number.
Reopened dimensions and format
The encoded result is decoded again so its width, height and output type are known before the download unlocks.
Fail-closed animation boundary
Animated PNG and WebP files are rejected instead of quietly exporting only one frame. Export a still image first.
CLEAR ANSWERS
Before you compress.
The tool is designed for upload ceilings, not for pretending every image can keep its original detail at any file size.
Can I compress an image to exactly 20 KB, 50 KB or 100 KB?
You can set any of those limits. FastTool searches for the highest tested quality at or below the target. The result can be slightly smaller because browser encoders do not produce every possible byte count.
Does FastTool upload my image?
No. The selected bytes, decoded pixels, compression search and output verification stay in this browser tab. Ordinary page assets and consent-controlled analytics can still make normal website requests, but your image is not part of them.
What happens if quality changes are not enough?
The tool steps dimensions down in a controlled loop and tells you when it had to do so. For a very tight target, a smaller image is often the honest tradeoff.
Should I choose JPEG or WebP?
JPEG is broadly compatible and uses your chosen matte for transparent pixels. WebP can preserve transparency when the browser encoder supports it. Auto probes the runtime first and never silently changes an explicitly selected WebP output.
Will compression remove EXIF or GPS metadata?
Canvas re-encoding does not copy normal EXIF, GPS or IPTC fields into the new file. That is useful, but it is not a forensic sanitization guarantee; use a dedicated privacy workflow for high-risk material.