Compress Any Image to an Exact File Size

Free Online Image Compressor

Set a target file size in KB or MB and Sukat finds the highest-quality version that fits — right in your browser. No uploads, no watermarks, no account. Works with JPG, PNG, WebP, GIF, AVIF, and HEIC. Choose your output format, set a target width or file size ceiling, and download. Batch compressing? Grab every file as a single ZIP in one click.

Your images never leave your device.

Drop images here or click to browse
Works with JPG, PNG, WebP, GIF, AVIF, and HEIC. Outputs WebP, JPEG, or PNG.
Leave blank to auto-name with a -compressed suffix. Batches get -1, -2, -3 appended.
Auto
Drag to set manual quality (1–100), or leave at 0 for auto (best fit within file size limit).
Original After (75%)
Original
Click to enlarge
After
Click to enlarge

Results

About Sukat

Sukat means "size" in Filipino. It's named for what it actually does — hit a specific file size — which no mainstream image converter reliably offers. Most tools compress to some fraction of the original and hope it's close enough. Sukat binary-searches for the highest quality that fits under your KB or MB ceiling, and only downscales dimensions as a last resort. The whole thing runs in your browser using the Canvas API, so your files never leave your device.

Sukat Inspector — Audit any page. Compress the bloat. + Add to Chrome.

Privacy

All processing happens locally in your browser using the Canvas API. No file is ever uploaded to a server. No account, no sign-up, no watermarks, no limits. Your images stay on your device from start to finish.

NEW Chrome Extension

Auditing someone else's page?

Sukat Inspector audits every image on any web page — dimensions, file size, format, alt text — then sends the oversized ones here in one click. Same privacy promise: nothing uploads.

Learn more about Inspector →
Sukat Inspector — August in a green ring with the tagline 'Audit every image. Find the bloat.'

When You Need to Hit a Specific File Size

Most compressors compress automatically to whatever size their algorithm picks. Sukat compresses automatically to the size you pick — with a manual quality slider for the cases that need a closer look.

20–100 KB

Government & exam portals

UPSC, SSC, IBPS, RRB, NEET, passport seva, and dozens of state and central government portals in India set hard ceilings on photos and signatures. Miss by a single KB and the form rejects the upload.

→ Reduce to KB tool
50 KB

Passport & visa photos

Schengen, US DS-160, Canada IRCC, UK, Australia, Japan, and the Philippines all enforce dimension and file-size rules. Crop to spec and compress in one pass.

→ Passport photo compressor
100 KB

Exam & admission portals

UPSC, SSC, and college admission portals in India enforce hard 100 KB ceilings on identity photos. Sukat finds the highest quality that fits under that ceiling without cropping dimensions.

200–500 KB

Shopify, WordPress & blogs

Hero and product images sit best at 200 to 500 KB for fast pages and good Core Web Vitals. Smaller files mean higher search rankings.

1–2 MB

Email & chat attachments

Outlook, Gmail, WhatsApp, and Slack all have per-message size limits. A 10 MB phone photo won't send — a 1 MB or 2 MB version will, with almost no visible difference.

HEIC → JPG

iPhone photos, anywhere

iPhones save in HEIC by default, and HEIC isn't accepted by most upload forms. Sukat reads HEIC natively and outputs JPG, PNG, or WebP.

→ HEIC to JPG converter

How Sukat Image Compressor Hits Your Exact Target

Compressing an image to "around 100 KB" is easy. Compressing to under 100 KB while staying as close to 100 KB as possible — without blowing past the ceiling and without leaving 30 KB of quality on the table — is harder than it sounds. The relationship between JPEG quality settings and final file size isn't linear and depends on what's actually in the image.

Sukat solves this with a binary search across the quality range. It encodes the image at a midpoint quality, measures the result, then narrows the range — half the quality space at a time — until it finds the highest quality setting that still fits under your ceiling. Most images converge in five or six tries. Width is only reduced when even quality 1 can't get under the limit.

The full walkthrough — with diagrams and edge cases — lives on the How It Works page.

Binary search compression: Sukat narrows in on the target file size in five tries, halving the quality range each time until it finds the highest quality that fits under the ceiling. Binary search: 5 tries to converge on 100 KB Each try halves the quality range TRY QUALITY FILE SIZE RESULT target ceiling: 100 KB 1 50 156 KB ✗ 2 25 72 KB ✓ 3 37 94 KB ✓ 4 43 103 KB ✗ 5 40 99 KB ✓ Final: quality 40, file size 99 KB — closest fit under the ceiling.

Built by an Independent Developer in Manila

The sidebar above tells you what Sukat means and what it does. Here's the rest of the story: Sukat was built by one independent developer in the Philippines for the kind of work where "close enough" isn't good enough.

The whole tool is roughly 200 KB of JavaScript that ships once and works offline thereafter. Open it on a plane, on the subway, on a laptop with the Wi-Fi turned off — it still works.

No analytics on your file contents, no upload pipeline, no server-side anything. Just a single HTML page that runs the entire pipeline inside the browser tab you opened.

Sukat — a Filipino noun meaning size or to measure, pronounced "soo-kat". Built in Manila. Sukat /ˈsu.kat/ n. Filipino — "size" / "to measure" built in Manila

Why Sukat Image Compressor Is Different

A handful of other browser-based compressors now offer target-size compression. What sets Sukat apart is the breadth of the workflow in a single page:

  • HEIC and AVIF input. Read modern iPhone and Android formats natively, with no separate conversion step.
  • Crop, background removal, and compression in one pass. Crop to a specific aspect ratio, remove the background, and hit a KB ceiling — without leaving the tab.
  • A live quality preview. Drag the slider and watch the file size and visual result update in real time.
  • Batch with a single ZIP download. Drop 50 images, set one ceiling, get one ZIP.
  • Ten languages. English, Español, Português, Français, Deutsch, Русский, العربية, हिन्दी, 日本語, 中文(简体).
  • No watermarks, no signup, no upload, no limits.
Sukat's full workflow in one browser tab: HEIC and AVIF input, crop, background removal, and target-size compression, outputting WebP, JPG, or PNG — all running locally with no upload. sukatapp.com INPUT HEIC · AVIF · JPG · PNG CROP Any aspect, drag handles REMOVE BG Local AI, transparent PNG COMPRESS Binary search to exact KB OUTPUT WebP · JPG · PNG All files stay in your browser No separate tools, no upload, no waiting.

From the Blog

Field notes on every kind of image compression problem — from a passport photo that won't upload to a Core Web Vitals score that won't budge. Practical fixes, plainly written.

Frequently Asked Questions

Common questions about privacy, formats, batch limits, and size targeting. Full walkthrough on the How It Works page.

Is Sukat really free? What's the catch?

No catch. Sukat is free, has no signup, no watermarks, no daily limits, and runs entirely in your browser. The site is supported by unobtrusive ads on the surrounding content pages, never inside the tool itself.

Are my images uploaded anywhere?

No. Every image is processed locally using the HTML Canvas API. Files never leave your device — there is no server-side processing, no temporary storage, no logging of file contents. You can verify this by opening your browser's network tab and watching for outgoing requests during compression. There aren't any.

Can I compress a JPG to exactly 100 KB without quality loss?

Compression always involves some loss in JPG, WebP, and HEIC formats — that's how they work. What Sukat does is find the highest possible quality that still fits under your target. For most photos, the visual difference between an uncompressed original and a 100 KB version is imperceptible at normal viewing sizes.

What file formats can I compress?

Input: JPG, JPEG, PNG, WebP, GIF, AVIF, and HEIC. Output: WebP (smallest), JPEG (most compatible), or PNG (lossless, no size compression). You can convert between any input and any output format.

Does Sukat work on iPhone, iPad, and Android?

Yes. It runs in any modern browser, including Safari on iPhone, Chrome on Android, and any desktop browser. There is no app to install — though Sukat works offline once the page has loaded, so you can save it to your home screen and use it without an internet connection.

How many images can I compress at once?

There is no hard limit. Sukat has been tested with batches of 200+ images. Practical limits depend on your device's RAM — older phones may slow down with very large batches. All compressed files can be downloaded as a single ZIP.

Why is it called Sukat?

Sukat is the Filipino word for "size" — the verb form means "to measure." It's named for what it does: hit a specific size, exactly.

Preparing…
Paint on image
Brush
Feather
100%
Brush:
Drag to erase. Hold Space to pan.
Ctrl/Cmd+Z to undo, Ctrl/Cmd+Shift+Z to redo.
Ctrl/Cmd+scroll to zoom.
Compression Report
Crop image
Original: Selection: