Compress any image to under 50 KB — in your browser, with nothing uploaded. The tool searches encoder quality settings to land as close to 50 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 50 KB target
What 50 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 50 KB: what the number actually means
Fifty kilobytes is the most widely useful small-image size on the web. It is large enough that an ordinary photograph around 750 to 800 pixels wide survives with no visible damage, and small enough that a page can carry ten of them without feeling slow. If you have ever wondered what a single sensible default for content images would be, this is a strong candidate.
It is also the number that appears most often as an upload ceiling. A great many forms, portals, applicant systems and internal tools cap image uploads at 50 KB, usually for reasons lost to history, and the file that a phone produces is roughly eighty times too large to pass. The tool exists to close that gap in one step rather than through a frustrating cycle of exporting at different quality settings and re-checking the file size.
Because the byte budget is comfortable, the tool usually reaches 50 KB by lowering quality alone and never has to reduce your dimensions. When it does need to downscale, it says so explicitly, along with the scale factor it applied.
Why people choose the 50 KB target
Fifty kilobytes is imposed far more often than it is chosen. It is one of the most common upload ceilings in existence, and the people who hit it are usually not thinking about compression at all — they are trying to submit a form that keeps rejecting a perfectly ordinary photograph. The gap between a phone file and 50 KB is roughly eighty to one, which is why no amount of fiddling with an export dialogue closes it quickly.
Chosen deliberately, it is the best general-purpose default on the list. It carries an ordinary photograph at full single-column width with no visible damage, and it keeps a ten-image page under half a megabyte. If you need one number to standardise on and you are not building a photography site, this is a defensible one.
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 50 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 50 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 50 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 50 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 50 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 50 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
450 × 340
520 × 290
560 × 420
0.23 MP
Ordinary photograph — portrait, product on plain ground
620 × 460
710 × 400
770 × 580
0.45 MP
Soft or low-detail photo — sky, studio white, shallow depth of field
810 × 600
930 × 520
1000 × 750
0.75 MP
Screenshot or UI capture with text
510 × 380
590 × 330
670 × 510
0.34 MP
Flat graphic, logo or illustration
870 × 650
1010 × 570
1170 × 880
1.02 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 50 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 step up to 100 KB roughly doubles the pixel area for a photograph, which matters on wide layouts and retina screens. The step down to 30 KB is barely visible at thumbnail sizes and saves 40% of the weight, which matters when there are twenty of them.
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 50 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 50 KB
At 50 KB the practical gap between WebP and JPEG narrows for the viewer even as it stays wide in bytes. WebP still delivers the same result in roughly 30% fewer bytes, so if you have the budget fixed at 50 KB, WebP buys you a noticeably larger or cleaner picture. But a 50 KB JPEG at 700 pixels already looks good, so choosing JPEG for compatibility no longer means accepting a visibly worse image.
PNG deserves a specific mention at this size because 50 KB is enough for a real PNG. A screenshot, a chart, a diagram or a logo at moderate dimensions fits comfortably and stays perfectly sharp, where the same content as a JPEG would show halos around every line of text. Choose by content, not by habit: photographs to WebP or JPEG, anything with text or flat colour to PNG.
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 50 KB looks like
At 50 KB the quality conversation changes character. Below this, you are managing damage; at 50 KB and above, you are optimising. An ordinary photograph at 800 pixels wide lands around a quality setting where artifacts exist but are essentially invisible without pixel-peeping, and the fidelity score typically sits in the mid-to-high thirties, which is the range where most people cannot tell the difference in a side-by-side test.
The limits are still real. A highly detailed image — dense foliage, a crowd, a textured fabric, fine text in a screenshot — eats the budget much faster and will either shrink or soften. Screenshots in particular are a poor fit for lossy compression at any size: the sharp edges of text are exactly what JPEG and WebP smear. If your image is mostly text, use PNG and expect a larger file, or accept that 50 KB means a smaller screenshot.
Use the before-and-after slider on one image from your batch before running the rest. Fifty kilobytes is generally safe, but "generally" is doing work in that sentence, and thirty seconds of checking tells you whether your particular images are among the exceptions.
A measured result at 50 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 50 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
48.9 KB as WebP, 98% of the 50 KB budget
Dimensions
1086 × 814 px — the quality floor could not reach 50 KB at full size, so the image was scaled to about 54%
Quality landed on
55 out of 100, found by bisection
Fidelity
38.0 dB against the original
Reduction
97.3%
Mistakes people make at 50 KB
Targeting exactly the stated cap. Some systems measure the whole request, not the file. Aim for 48 KB against a 50 KB limit and the mysterious rejections stop.
Compressing a screenshot as JPEG. The halos around text are obvious at this size. Set the format to PNG and cap the width instead.
Leaving a 4000 px scan at full resolution. A 300 dpi A4 scan has far more detail than screen reading needs. Cap at about 1200 px and the text stays perfectly legible.
Assuming quality alone will get there. It usually will at 50 KB, but a densely detailed photograph may still need downscaling. Check the reported scale factor.
Discarding the original. A 50 KB copy is a screen copy. Keep the source; you will need it for print or a different crop eventually.
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 50 KB is the right budget
Upload forms with a 50 KB cap
Portals, applications and internal systems that reject anything larger, which is one of the most common limits in use.
Content images in articles
Inline images in blog posts and documentation, where 700 to 800 pixels is wide enough for any single-column layout.
Marketplace and listing photos
Secondary images on a listing, where the main photo carries the detail and the rest just need to load fast.
Email newsletter images
Newsletter graphics, where total message weight affects deliverability and many clients download images over slow links.
Scanned documents
Readable scans of forms, receipts and certificates at a resolution where the text remains legible.
Bulk storage reduction
Archives of thousands of images where the difference between 50 KB and 500 KB is the difference between gigabytes and hundreds of gigabytes.
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
When you are compressing to satisfy an upload limit, set the target slightly below the stated cap — 48 KB for a 50 KB limit. Some systems measure the encoded size after wrapping the file in a multipart request, and a file that is exactly at the limit occasionally fails for reasons that have nothing to do with your image.
Recommended settings for common 50 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
Inline article image
WebP
900 px
45%
Full single-column width on most layouts
50 KB upload cap
JPEG
1200 px
35%
Target 48 KB; JPEG for unpredictable back-ends
Scanned document
JPEG
1400 px
40%
Check body-text legibility on one page first
Screenshot or UI capture
PNG
900 px
n/a
Lossless keeps rendered text sharp
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 resolution do I get at 50 KB?
An ordinary photograph reaches roughly 780 × 580 in WebP or 620 × 470 in JPEG. Detailed, textured images land nearer 560 × 420 in WebP. Soft or simple images go considerably larger — over a thousand pixels wide in some cases. The table on this page has the full set.
Why does a form reject my photo when it says 50 KB?
Because a phone photo is typically three to eight megabytes, sixty to a hundred and sixty times the limit. There is nothing wrong with your file; it simply has to be re-encoded and usually resized before it will pass. That is what this tool does in one step.
Is 50 KB enough for a passport-style photo?
Yes, comfortably. Identity photographs are usually specified somewhere between 200 and 600 pixels on the long edge, and 50 KB covers the top of that range at high quality. Check the specific pixel dimensions your destination requires and set them as the maximum width and height.
Should I use 50 KB for my whole site?
As a default for content images, it is a good policy. Hero and above-the-fold images usually justify more, and thumbnails need far less, but 50 KB as the standard for ordinary inline images produces fast pages without visible quality complaints.
My screenshot looks blurry after compression. Why?
Because lossy compression is built for photographs, and the sharp high-contrast edges of rendered text are the worst case for it. Set the format to PNG for screenshots. The file will be larger for the same dimensions, but the text will stay crisp.
Can I compress a scanned document to 50 KB and keep it readable?
Usually yes, if you keep the resolution sensible. A full A4 page scanned at 300 dpi is far more resolution than screen reading requires; limiting the width to around 1200 pixels and targeting 50 KB normally leaves body text perfectly legible. Check one page before processing the batch.
Does the tool strip metadata?
Yes, entirely. Re-encoding through a canvas discards EXIF, GPS location, camera information, copyright fields and colour profiles. If you need any of that preserved, keep the original file alongside the compressed one.
Will the file be exactly 50 KB?
It will be as close to 50 KB as the encoder can get without going over. Encoders move in discrete quality steps, so the result typically lands between 90 and 99% of the target. Being slightly under is the correct behaviour when the target is an upload limit.
Can I convert HEIC photos from my iPhone?
Not directly, because browsers cannot decode HEIC. Set your iPhone camera to Most Compatible in Settings so it captures JPEG, or convert the HEIC files first. Photos exported through email or most sharing routes are already converted to JPEG automatically.
Is there a limit on the input file size?
Only your available memory. Very large images — 50 megapixels and up — need a lot of memory to decode and can be slow on modest hardware, but there is no artificial cap. If a very large batch stalls, process it in smaller groups.
About Compress Image to 50 KB
This tool compresses any image you give it to under 50 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 50 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 50 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 general-purpose small image: this page covers what 50 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 50 KB as possible without exceeding it.
Automatic downscaling fallback: When quality alone cannot reach 50 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 50 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 form that caps uploads at 50 KB: A 4.8 MB phone photo is dropped in with the target set to 48 KB for safety margin. Quality alone gets there at 1200 × 900, no downscaling needed, and the file passes the upload on the first attempt.
Example 2 — a scanned certificate: A 300 dpi A4 scan at 12 MB is compressed with the maximum width set to 1200 and the format left on JPEG. It lands at 47 KB with the body text still comfortably readable on screen.
Example 3 — a screenshot that went wrong: A UI screenshot compressed as JPEG at 50 KB shows halos around every letter. Re-running with the format set to PNG and the maximum width set to 900 produces a 49 KB file with perfectly sharp text.
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 50 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 resolution do I get at 50 KB?
An ordinary photograph reaches roughly 780 × 580 in WebP or 620 × 470 in JPEG. Detailed, textured images land nearer 560 × 420 in WebP. Soft or simple images go considerably larger — over a thousand pixels wide in some cases. The table on this page has the full set.
Why does a form reject my photo when it says 50 KB?
Because a phone photo is typically three to eight megabytes, sixty to a hundred and sixty times the limit. There is nothing wrong with your file; it simply has to be re-encoded and usually resized before it will pass. That is what this tool does in one step.
Is 50 KB enough for a passport-style photo?
Yes, comfortably. Identity photographs are usually specified somewhere between 200 and 600 pixels on the long edge, and 50 KB covers the top of that range at high quality. Check the specific pixel dimensions your destination requires and set them as the maximum width and height.
Should I use 50 KB for my whole site?
As a default for content images, it is a good policy. Hero and above-the-fold images usually justify more, and thumbnails need far less, but 50 KB as the standard for ordinary inline images produces fast pages without visible quality complaints.
My screenshot looks blurry after compression. Why?
Because lossy compression is built for photographs, and the sharp high-contrast edges of rendered text are the worst case for it. Set the format to PNG for screenshots. The file will be larger for the same dimensions, but the text will stay crisp.
Can I compress a scanned document to 50 KB and keep it readable?
Usually yes, if you keep the resolution sensible. A full A4 page scanned at 300 dpi is far more resolution than screen reading requires; limiting the width to around 1200 pixels and targeting 50 KB normally leaves body text perfectly legible. Check one page before processing the batch.
Does the tool strip metadata?
Yes, entirely. Re-encoding through a canvas discards EXIF, GPS location, camera information, copyright fields and colour profiles. If you need any of that preserved, keep the original file alongside the compressed one.
Will the file be exactly 50 KB?
It will be as close to 50 KB as the encoder can get without going over. Encoders move in discrete quality steps, so the result typically lands between 90 and 99% of the target. Being slightly under is the correct behaviour when the target is an upload limit.
Can I convert HEIC photos from my iPhone?
Not directly, because browsers cannot decode HEIC. Set your iPhone camera to Most Compatible in Settings so it captures JPEG, or convert the HEIC files first. Photos exported through email or most sharing routes are already converted to JPEG automatically.
Is there a limit on the input file size?
Only your available memory. Very large images — 50 megapixels and up — need a lot of memory to decode and can be slow on modest hardware, but there is no artificial cap. If a very large batch stalls, process it in smaller groups.