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.
The pipeline, step by step
Decode. The file is decoded into a bitmap using the browser image decoder, with EXIF orientation applied so photographs taken sideways come out the right way up. This step also discards every metadata block — EXIF, GPS, camera make and model, colour profile — because a bitmap is just pixels.
Resize. If you have set a maximum width or height, the bitmap is drawn into a canvas of the fitted size with the browser high-quality smoothing enabled. Aspect ratio is always preserved; the tool never stretches or crops.
Search quality. The canvas is encoded repeatedly at different quality settings, bisecting between the floor you set and the practical ceiling. Each attempt produces a real encoded blob, so the size it reports is the actual file size rather than an estimate. Around eight to ten iterations are enough to converge.
Downscale and retry. If even the quality floor exceeds 30 KB, the tool computes a scale factor from the ratio between the achieved size and the target, applies it, and runs the quality search again. It repeats this until the file fits, which for a photograph against a small target may take several rounds.
Score fidelity. The original and the result are both drawn to a small common canvas and compared pixel by pixel to produce a peak signal-to-noise ratio. This gives you an objective number rather than a promise.
Hand back the blob. The result is offered as a download, individually or bundled into a ZIP that is assembled in the browser.
Why bisection rather than a fixed quality
The relationship between quality setting and file size is not linear and it is not the same for two different images. A photograph of a plain wall at quality 80 might be a tenth the size of a photograph of a forest at the same setting. Any fixed quality number therefore lands wildly differently depending on the picture, which is why exporting at "quality 60" is such an unreliable way to hit a file-size target.
Bisection sidesteps that by measuring rather than predicting: encode at the midpoint, read the real size, move the bracket, repeat until the remaining error is smaller than one quality step.
Why dimensions come after quality
Removing pixels is destructive in a way that lowering quality is not — pixels cannot come back. So the tool exhausts the quality range first and reaches for the scissors only when it must, which is what makes it produce the largest image that fits 30 KB rather than an arbitrarily shrunken one.
PNG is a special case. PNG is lossless and has no quality parameter, so the quality search does not apply to it. When you choose PNG the only lever available is dimensions, which means the tool reaches 30 KB purely by scaling. That is why a photographic PNG at a small target ends up so much smaller in dimensions than the same image as WebP.
What actually fits in 30 KB
The honest answer to "how big an image fits" is that it depends entirely on the picture. Compression works by removing redundancy, and a photograph of a foggy lake has far more redundancy than a photograph of a market crowd. The table below works from a bytes-per-pixel model: for each kind of content, roughly how many bytes a pixel costs at the quality settings this tool typically lands on, and therefore how many pixels a 30 KB budget buys.
Content type
JPEG at 4:3
JPEG at 16:9
WebP at 4:3
WebP megapixels
Detailed photograph — foliage, crowds, texture, fine grain
350 × 260
400 × 230
430 × 320
0.14 MP
Ordinary photograph — portrait, product on plain ground
480 × 360
550 × 310
600 × 450
0.27 MP
Soft or low-detail photo — sky, studio white, shallow depth of field
620 × 470
720 × 410
780 × 580
0.45 MP
Screenshot or UI capture with text
400 × 300
460 × 260
520 × 390
0.20 MP
Flat graphic, logo or illustration
670 × 510
780 × 440
910 × 680
0.61 MP
Derived from typical encoder output at the quality range this tool settles on: JPEG at roughly 0.34 bytes per pixel for detailed photographs down to 0.09 for flat graphics, with WebP at about 0.65 of the JPEG figure. Dimensions are rounded to the nearest ten pixels. These are planning figures, not guarantees — your own images will land somewhere either side depending on their content.
How to read the table
Find the row that best describes your image and read across. If your photograph is a portrait against a plain studio background, you are in the "ordinary photograph" row and can expect the dimensions shown. If it is a landscape full of trees, you are in the "detailed photograph" row and should expect roughly half the pixel area for the same bytes.
The WebP column is the one to look at if you control where the image is going, because it is the format that will actually be used. The JPEG columns matter when the destination is an upload form, an email or any system whose format handling you cannot predict.
How 30 KB compares with the targets either side
The same photograph at three neighbouring budgets, using the WebP figure for an ordinary photograph. This is the fastest way to tell whether you are on the right tier or one step away from it.
The interesting comparison here is upwards: 50 KB buys about 30% more linear resolution, which is often the difference between a card image that looks fine and one that looks good on a retina screen. If your grid is small, the extra weight may be affordable.
Halving the width and height quarters the pixel count, which roughly quarters the file size at the same quality. That relationship is the lever you have. If a 30 KB target is producing a soft image, the fix is almost always fewer pixels rather than a different encoder or a cleverer setting — and because screens are smaller than camera sensors, those pixels are usually ones nobody would have seen anyway.
What makes an image expensive
Fine random texture. Foliage, gravel, fabric weave, hair, sand and film grain are incompressible by nature — there is no pattern to exploit.
High contrast edges. Rendered text, line art and hard shadows force the encoder to spend heavily to avoid visible ringing.
Noise and heavy sharpening. Both are high-frequency detail, and high-frequency detail is what costs bytes. Denoise before compressing and sharpen lightly, after resizing.
Choosing a format at 30 KB
WebP remains the right default at 30 KB, buying roughly 50% more pixel area than JPEG at equivalent visual quality. The advantage is largest on gradients and soft detail, which is exactly where JPEG shows its banding first.
Where 30 KB differs from the tighter budgets is that JPEG becomes genuinely viable rather than a painful fallback. A 30 KB JPEG at 450 to 500 pixels is a perfectly respectable image, so if compatibility matters more to you than the last few percent of efficiency, the compatibility choice no longer costs much.
Format
Compression
Transparency
Best for
Avoid for
JPEG
Lossy
No
Photographs, anything going to an unpredictable destination, email, print workflows
Text, screenshots, logos, line art, anything needing transparency
WebP
Lossy or lossless
Yes
Anything served from a site you control — typically 25 to 35% smaller than JPEG at equal quality
Legacy pipelines, some third-party upload endpoints, older print software
PNG
Lossless
Yes
Screenshots, diagrams, charts, logos, flat colour, anything with rendered text
Photographs — a photographic PNG is many times larger than an equivalent JPEG
AVIF
Lossy or lossless
Yes
The smallest files of all, roughly 20 to 30% below WebP
Browser canvas export support is still inconsistent, so it is not offered here
GIF
Lossless, 256 colours
Binary only
Nothing, in practice — superseded by PNG for stills and video for animation
Photographs, anything needing more than 256 colours
SVG
Vector, text-based
Yes
Logos, icons and diagrams that must scale to any size
Photographs — SVG cannot represent them without embedding a raster image
What "auto" does
With the format set to auto, the tool inspects each image and decides per file. Images with a meaningful alpha channel go to WebP so transparency survives. Images that look photographic go to WebP if your browser can encode it and JPEG otherwise. Images that appear to be flat graphics or screenshots — few distinct colours, large uniform regions — stay as PNG, because forcing them through a lossy encoder would produce a larger and uglier file. If you know what your images are, setting the format explicitly is always more predictable than auto.
The re-encoding trap
Every lossy encode discards information permanently, and the losses compound. A JPEG that has been through three save cycles at quality 80 looks noticeably worse than one saved once at quality 60, even though the last file is larger. This matters here because it is tempting to compress a file, decide it is not small enough, and compress the result again. Do not: change the target and re-run from the original instead. The tool keeps your originals in the list precisely so you can do that.
Transparency and background flattening
JPEG has no alpha channel, so converting a transparent PNG to JPEG has to put something behind it. The tool fills transparent areas with the colour you pick — white by default, which suits most pages but is exactly wrong on a dark background, where it produces a bright rectangle around your logo. If transparency matters, choose WebP or PNG and it survives untouched.
What 30 KB looks like
At 30 KB an ordinary photograph around 600 pixels wide holds up well. Detail in foliage and fabric softens, but structure, colour and edges survive, and at typical thumbnail display sizes the loss is invisible. Push past roughly 900 pixels and artifacts start to show at native size, though they may still be acceptable if the image is only ever displayed small.
This is the first budget where the choice between "smaller and pristine" and "larger and slightly soft" becomes a genuine judgement call rather than a foregone conclusion. If the image is decorative, go larger and accept the softness. If it is the product a customer is deciding on, go smaller and keep it clean, or move up a budget tier.
One consistent rule: gradients suffer first. Skies, studio backdrops and soft shadows develop visible banding before anything else does. If your image is mostly gradient, either use WebP, which handles them far better, or add a small amount of noise before compressing, which masks banding at almost no byte cost.
A measured result at 30 KB
Vague promises about quality are easy to make, so here is an actual run. A deliberately difficult synthetic photograph — 2000 × 1500 pixels, saturated, and loaded with random noise that no encoder can compress away — was put through this exact tool at the 30 KB target in Chromium. Real photographs are easier than this, so treat these figures as close to a worst case rather than a typical one.
Source
1.8 MB JPEG at quality 96, 2000 × 1500, heavy synthetic noise
Result
29.9 KB as WebP, 100% of the 30 KB budget
Dimensions
900 × 675 px — the quality floor could not reach 30 KB at full size, so the image was scaled to about 45%
Quality landed on
59 out of 100, found by bisection
Fidelity
37.9 dB against the original
Reduction
98.4%
Mistakes people make at 30 KB
Letting each thumbnail land at a different size. Set an explicit maximum width so a grid is visually consistent and your layout can reserve space, avoiding layout shift.
Sizing for the CSS slot rather than the device. A 300 px slot needs a 600 px file to look sharp on a retina display. 30 KB supports that; 300 px does not look sharp.
Using the same file as a placeholder and as the real image. A placeholder should be far smaller and deliberately soft; a card image should not.
Accepting JPEG banding in skies. Switching to WebP fixes it at the same file size, and at this budget the difference is very visible.
Running mixed content types in one batch. Photographs, logos and screenshots want different formats. Split the batch.
Reading the fidelity score
Every result carries a peak signal-to-noise ratio in decibels, computed by comparing the compressed output against the original pixel by pixel. It is a genuine measurement rather than a marketing claim, and it is a good deal more useful than a vague assurance that quality has been preserved.
Score
What it means
Practical reading
Above 45 dB
Essentially identical
No difference detectable by any means short of subtracting the images
40 – 45 dB
Visually lossless
Indistinguishable in normal viewing; safe for anything
35 – 40 dB
Excellent
Differences only visible in a side-by-side at full zoom
30 – 35 dB
Good
Noticeable on close inspection, invisible in normal use
25 – 30 dB
Acceptable
Artifacts visible if you look; fine for thumbnails, not for hero images
Below 25 dB
Degraded
Obvious blocking and banding; consider a larger target or smaller dimensions
One caveat worth knowing: peak signal-to-noise ratio measures mathematical difference, not perceived quality. A slight overall brightness shift scores badly while being invisible; blocking concentrated in one corner scores well while being obvious. Use the number as a guide and the comparison slider as the verdict.
What compression artifacts look like
Blocking. Visible 8 × 8 squares in flat areas, the classic JPEG failure. Appears first in skies and shadows.
Banding. Smooth gradients breaking into visible steps. Worst in skies, studio backdrops and soft shadow.
Ringing. Faint halos alongside hard edges, most obvious around text and line art. This is why screenshots belong in PNG.
Colour bleed. Saturated colour smearing beyond its boundary, because colour is stored at lower resolution than brightness.
Texture loss. Fine detail flattening into smooth patches — the "waxy" look on skin and fabric.
Getting more quality out of the same budget
Crop first. Removing pixels you do not need is free compression, and it concentrates the budget on the part of the image that matters.
Cap the dimensions. The most effective single lever. A smaller sharp image beats a larger broken one in almost every context.
Use WebP. Roughly a third fewer bytes for the same visual result, and the advantage is widest exactly where budgets are tight.
Denoise a noisy original. Sensor noise is random data and random data does not compress. Removing it can cut file size dramatically.
Sharpen less. Aggressive sharpening manufactures the high-frequency detail that costs the most bytes.
Start from the best original. Compressing an already-compressed file compounds the damage from both passes.
Where 30 KB is the right budget
Product grid thumbnails
Catalogue and search-result images where twenty or more load at once and each is rendered at 200 to 300 pixels.
Article and blog cards
The lead image on content cards and related-post strips, where the file serves a retina-density slot without dominating the page weight.
Progressive loading placeholders
The image that loads first and is replaced by the full-resolution version, giving a usable picture rather than a grey box.
Gallery contact sheets
Overview grids for photo galleries, where dozens of images must load quickly before anyone clicks through.
Content management uploads
Systems that cap uploads around 30 KB, and image libraries where storage cost scales with volume.
Per-image performance budgets
Sites with an explicit rule that no non-hero image may exceed 30 KB, which is a common and effective performance policy.
Choosing a budget by role, not by habit
The most common mistake in image optimisation is applying one number to everything. A page has different kinds of image on it and they deserve different budgets: the hero that determines the largest contentful paint, the content images inside the article, and the thumbnails in a related-posts strip are three different jobs. Give the hero a generous allowance, keep content images moderate, and squeeze thumbnails hard — the thumbnails are where volume multiplies small savings into large ones.
Role
Typical budget
Why
Grid and list thumbnails
10 – 30 KB
Many per page, rendered small; volume makes each kilobyte count
Avatars and icons
10 – 50 KB
Displayed at 32 to 256 pixels, often dozens at once
Inline content images
50 – 100 KB
Full column width, several per article, quality matters but so does weight
Mobile hero / LCP element
100 – 200 KB
Directly determines the largest contentful paint on the device that matters most
Desktop full-width hero
200 – 500 KB
Large dimensions at high pixel density, and only one per page
Portfolio and zoom images
300 – 500 KB
The photograph is the product; texture and detail must survive
Attachments and portal uploads
500 KB – 1 MB
The constraint is a system limit, not page speed; preserve as much as allowed
When compression is the wrong answer
When you should be serving a different size. A phone downloading a desktop-width image wastes most of it. Responsive images through srcset beat compression alone.
When the image should not be an image. Text rendered into a picture is heavier, unsearchable and inaccessible. Use real text. Charts are often better as SVG.
When the original is the deliverable. Print files, archival masters and anything a client is paying for should never be replaced by a compressed copy.
Working efficiently
If you are generating a thumbnail set, set an explicit maximum width rather than letting the tool choose. Consistent dimensions across a grid look far more professional than a set where each image happened to land somewhere different, and they let your layout reserve space correctly, which avoids layout shift as images load.
Recommended settings for common 30 KB jobs
Starting points rather than rules. The quality floor only sets how far the search may go; the tool still uses the highest setting that fits, so raising the floor makes it give up and downscale sooner rather than producing a bigger file.
Job
Format
Max width
Quality floor
Note
Product grid thumbnail
WebP
600 px
40%
Twice a 300 px slot, for retina sharpness
Blog or article card
WebP
640 px
40%
Consistent width keeps the grid tidy
Progressive loading placeholder
WebP
320 px
15%
Deliberately soft; it is replaced within a second
Gallery contact sheet
JPEG
560 px
35%
JPEG if the gallery software is old
Test one before running fifty. Drop in a single representative image, look at the result on the comparison slider, and only then commit the batch. Two minutes here saves re-running everything.
Decide dimensions before size. Setting a maximum width is what turns a byte budget into a sharp picture. Left unconstrained, a 6000-pixel camera file spends the whole budget on pixels no screen will show.
Keep your originals. Compression is one-way. Compress into a new folder and never overwrite the source, because the day you need a print or a different crop will arrive.
Group by content type. Photographs, screenshots and logos want different formats; run them as separate batches rather than trusting auto to sort a mixed pile.
Batch processing notes
Every file in a batch is processed independently against the same target, so a mixed set produces mixed results — a simple graphic may land far under the ceiling while a detailed photograph needs downscaling to get there. The results table shows what each file required, which makes the outliers easy to spot and re-run with different settings.
The ZIP is assembled in your browser using stored (uncompressed) entries. That is deliberate: the files inside are already compressed images, so deflating them again would cost time and save almost nothing. The archive opens in every standard tool.
Filenames and organisation
Output files keep the original name with the new extension. If you compress a JPEG to WebP you will get the same base name with a .webp extension, which means a compressed set can sit alongside the originals without collisions. When you are optimising a website this matters: update the references in your markup at the same time, or serve both through a picture element with the WebP first and the JPEG as a fallback.
Accessibility and SEO are separate problems
Compression makes pages faster, and speed helps search ranking indirectly. It does nothing for the things that actually describe your image to a search engine or a screen reader: the alt text, the filename, the caption and the surrounding content. Compress for speed, write proper alt text for everything else, and do not confuse the two.
Image compression terms
Artifact
Visible damage introduced by lossy compression — blocking, banding, ringing or colour bleed.
Banding
Smooth gradients breaking into visible steps. The first failure you will see in skies and studio backdrops.
Blocking
Visible square tiles in flat areas, produced by the block-based transform at the heart of JPEG.
Bytes per pixel
File size divided by pixel count. The single most useful way to reason about whether an image will fit a byte budget.
EXIF
Metadata a camera embeds — exposure, lens, timestamp and often GPS coordinates. Removed entirely by re-encoding.
Lossless
Compression that reconstructs the original exactly. PNG and lossless WebP; larger files, no artifacts.
Lossy
Compression that discards information permanently in exchange for much smaller files. JPEG, lossy WebP, AVIF.
LCP
Largest Contentful Paint, the Core Web Vitals metric measuring when the biggest element becomes visible. Usually an image.
PSNR
Peak signal-to-noise ratio, the fidelity score shown for each result. Higher is closer to the original.
Quality setting
The 0 to 100 parameter given to a lossy encoder. It is not a percentage of anything and the same number means different things in different encoders.
Re-encoding
Decoding an image and encoding it again. Each lossy round trip compounds the damage of the last.
Ringing
Faint halos beside hard edges, most visible around text. The reason screenshots belong in PNG.
WebP
An image format supporting both lossy and lossless compression with transparency, typically 25 to 35% smaller than JPEG.
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.
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
Add your images — drag them onto the drop zone, click to browse, or paste from the clipboard. Multiple files at once are fine.
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.
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.
Set maximum dimensions if it matters — capping the width is what turns a byte budget into a sharp image rather than a soft one.
Compress — each file is processed and appears in the results table with its before and after size, dimensions, quality and fidelity score.
Check one result — open the comparison slider on a representative image before committing to a large batch.
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.