All Tools View Categories Blog About Contact Privacy

Compress Image to 30 KB

Compress any image to under 30 KB — in your browser, with nothing uploaded. The tool searches encoder quality settings to land as close to 30 KB as it can without going over, and only reduces dimensions when the target cannot be reached any other way.

Drop images here, click to browse, or paste from the clipboard
JPG · PNG · WebP · GIF · BMP · SVG  ·  as many files as you like  ·  nothing is uploaded

Everything worth knowing about the 30 KB target

What 30 KB can realistically hold, how the tool actually reaches it, which format to pick, what quality to expect, and where this budget is the right choice rather than an arbitrary one.

Compressing to 30 KB: what the number actually means

Thirty kilobytes is where small images stop feeling like a compromise. It is enough for a photograph around 500 to 600 pixels on the long edge to look clean, which covers the great majority of thumbnails, card images and grid tiles at the sizes screens actually render them — including on high-density displays, where a 600-pixel file serving a 300-pixel slot looks crisp.

It is also a practical page-budget number. If you are building a listing page with twenty images on it, 30 KB each keeps the total image payload around 600 KB, which is a reasonable figure for a page that should feel instant. Push each image to 100 KB and the same page carries two megabytes of pictures, which it will feel.

The tool finds the highest quality that fits under 30 KB, downscaling only when it has to. On most inputs it will preserve more resolution than you expect, because the quality search is willing to go a long way down before giving up on the original dimensions.

Why people choose the 30 KB target

Thirty kilobytes tends to be chosen by people who have done the arithmetic on a page rather than on an image. Twenty thumbnails at 30 KB is 600 KB of pictures — a page that feels instant. The same twenty at 100 KB is two megabytes, which does not. Once you start thinking in page budgets rather than per-image quality, a number in this region falls out naturally.

It is also the smallest budget at which a photograph can be both reasonably large and genuinely clean. Below 30 KB you are choosing between the two; at 30 KB, for most ordinary subjects, you can have both at thumbnail and card dimensions. That makes it the practical floor for anything a customer will actually look at rather than glance past.

Why a target size beats a quality slider

Every image editor asks you for a quality number and then tells you the file size afterwards. That is backwards for the problem most people actually have, which is a fixed ceiling — an upload form, a page budget, a mailbox limit — and no idea which quality setting will land underneath it. The usual result is a loop: export at 70, check, export at 50, check, export at 60, give up somewhere in the middle.

This tool inverts the relationship. You give it the ceiling and it searches for the quality, using a bisection over the encoder settings that converges in a handful of attempts. That is why it can hit 30 KB reliably on the first pass, and why it can tell you afterwards exactly which quality it used — which is useful information, because it tells you how much headroom you had.

What the tool does not do

It does not upload anything, so it cannot use a server-side encoder like MozJPEG or a full WebP encoder with custom tuning. It uses the encoders built into your browser, which are good but not state of the art. It also does not perform content-aware operations — no smart cropping, no subject detection, no upscaling. And it will not make a compressed file better than its source: compressing an image that has already been through a lossy pass compounds the damage, so always start from the best original you have.

About Compress Image to 30 KB

This tool compresses any image you give it to under 30 KB, in your browser, without uploading anything. Drop in a JPG, PNG, WebP, GIF, BMP or SVG and it decodes the file, searches encoder quality settings to find the highest one that still fits inside 30 KB, and hands back the result with the exact final size, the dimensions, the quality setting it used and a fidelity score measuring how far the output has drifted from the original.

Where quality alone cannot reach 30 KB — which happens on tight budgets and very large source images — it reduces the dimensions progressively and re-encodes until the file genuinely fits, then tells you the scale factor it applied. You get the largest, cleanest image that will actually fit the target rather than a file that misses it.

The thumbnail sweet spot: this page covers what 30 KB can realistically hold, which formats behave best at that size, and where the budget is genuinely the right choice.

Features

  • Exact target search: Binary search across encoder quality settings to land as close to 30 KB as possible without exceeding it.
  • Automatic downscaling fallback: When quality alone cannot reach 30 KB, dimensions are reduced progressively until the file fits, with the scale factor reported.
  • Batch processing: Drop in a whole folder; every file is processed independently against the same target.
  • Format control: Auto, JPEG, WebP or PNG output, with auto choosing per file based on whether the image is photographic or has transparency.
  • Dimension limits: Set a maximum width and height and the image is fitted inside that box with its aspect ratio kept.
  • Before-and-after comparison: A draggable slider over the original and the result at full size, so you can judge the trade rather than guess at it.
  • Fidelity score: A peak signal-to-noise ratio for every file, telling you objectively how much was lost.
  • ZIP download: Take the entire batch as one archive, built in the browser with no library and no server.
  • Metadata stripped: EXIF, GPS coordinates and camera details are discarded during re-encoding, which is a privacy benefit worth knowing about.
  • Nothing uploaded: Every step runs locally through the Canvas API. The tool works with the network disconnected.

How to Use

  1. Add your images — drag them onto the drop zone, click to browse, or paste from the clipboard. Multiple files at once are fine.
  2. Check the target — it is preset to 30 KB. Lower it slightly if you are compressing to satisfy an upload limit, since some systems measure the whole request rather than the file.
  3. Pick an output format — auto is right most of the time. Choose WebP for the smallest files, JPEG for maximum compatibility, PNG for screenshots, logos and anything with text.
  4. Set maximum dimensions if it matters — capping the width is what turns a byte budget into a sharp image rather than a soft one.
  5. Compress — each file is processed and appears in the results table with its before and after size, dimensions, quality and fidelity score.
  6. Check one result — open the comparison slider on a representative image before committing to a large batch.
  7. Download — take files individually or the whole batch as a single ZIP.

Examples

Example 1 — a twenty-product catalogue page: Twenty product photographs averaging 2.4 MB are compressed to 30 KB each with the maximum width set to 600. The page image payload falls from 48 MB to 590 KB while every thumbnail stays sharp on retina screens.

Example 2 — a banded sky: A landscape with a large gradient sky is compressed as JPEG and shows visible banding at 30 KB. Switching the format to WebP removes it at the same file size, because WebP encodes smooth gradients far more efficiently.

Example 3 — a mixed batch: A folder containing photographs, screenshots and logos is dropped in with the format set to auto. The tool picks per-file: photographs go to WebP, the logo stays PNG, and each lands under 30 KB with the results table showing which route each file took.

Benefits

  • Hit the number first time: No exporting at quality 60, checking the size, exporting again at 45. The tool searches for you.
  • Pass upload limits that reject camera files: A phone photo is many times over a 30 KB cap; this closes the gap in one step.
  • Keep as much quality as the budget allows: Quality is reduced before dimensions, so you never lose resolution unnecessarily.
  • Judge the trade honestly: A comparison slider and an objective fidelity score instead of a vague promise about quality.
  • Process a folder in one pass: Batch compression with a per-file report and a single ZIP download.
  • Keep your images private: Nothing is uploaded, nothing is stored, and the tool works offline.
  • Strip location data automatically: Re-encoding removes EXIF and GPS, which matters when sharing photographs publicly.
  • Free, with no account and no watermark.

Frequently Asked Questions

What size image fits in 30 KB?
An ordinary photograph reaches roughly 600 × 450 in WebP or 480 × 360 in JPEG. A detailed, textured photograph lands nearer 440 × 330 in WebP. Flat graphics and soft images go substantially larger. The full table is on this page.
Is 30 KB enough for a product thumbnail?
For a grid thumbnail, comfortably. Set the maximum width to twice the rendered size so the image stays sharp on high-density screens — a 300-pixel slot wants a 600-pixel file, which 30 KB supports well. It is not enough for the large product image a customer zooms into.
Why do my skies look banded?
Smooth gradients are the hardest thing for a lossy encoder to keep, because the fine steps between shades are exactly the information it discards first. Switch to WebP, which handles gradients considerably better, or accept a slightly smaller image at a higher quality setting.
Should I compress to 30 KB or resize instead?
Do both, which is what the tool does. Resizing alone leaves quality on the table; re-encoding alone cannot reach small targets. Reducing the pixel count and then finding the best quality that fits the byte budget produces a better image than either step by itself.
Can I set exact output dimensions?
You can set a maximum width and a maximum height, and the image is fitted inside that box with its aspect ratio preserved. The tool will not stretch or crop, so if you need an exact aspect ratio, crop before uploading.
What happens to images already smaller than 30 KB?
They are left untouched and marked as already within budget. Re-encoding an image that already fits only degrades it, so the tool refuses to do it.
Does this work offline?
Yes. Once the page has loaded, every step runs locally in your browser. You can disconnect from the network and keep compressing.
How many images can I process at once?
There is no fixed limit, but browsers hold decoded images in memory, so very large batches of very large photographs can become slow. A hundred ordinary phone photos is comfortable on a normal machine; if you are working with hundreds of high-resolution files, run them in groups.
Does compression change the colours?
Slightly. Lossy encoders store colour at lower resolution than brightness because human vision is less sensitive to it, so strongly saturated reds and fine coloured detail shift a little. At 30 KB this is rarely noticeable except in saturated graphics, which is another reason to keep those as PNG or WebP.
Is the output safe to use commercially?
The tool does not alter your rights to your own images in any way. It decodes and re-encodes them locally and hands the result back to you. Copyright in the image remains exactly where it was before.

More Image Tools

View All