Compress any image to under 300 KB — in your browser, with nothing uploaded. The tool searches encoder quality settings to land as close to 300 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 300 KB target
What 300 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 300 KB: what the number actually means
Three hundred kilobytes is the budget for images where the photograph itself is the point. It supports around 1900 pixels of width for an ordinary subject and comfortably over 1300 for a densely detailed one, which means it holds up on a large desktop display at high pixel density — the situation where thinner budgets finally start to show.
This is the tier photographers, portfolio sites and detail-critical product pages should be looking at. Below it, texture starts to be sacrificed: the grain of leather, the weave of fabric, the individual leaves in a tree. At 300 KB that texture survives, and the file is still an order of magnitude smaller than what came out of the camera.
It is also a common ceiling for document and portal uploads, where 300 KB is generous enough not to feel arbitrary but small enough to keep server storage sane. A phone photo overshoots it by a factor of ten to twenty-five, so the reduction is dramatic even though the result is high quality.
Why people choose the 300 KB target
Three hundred kilobytes is chosen by people for whom the photograph is the point rather than the decoration. Photographers, portfolio sites, high-value product pages and anywhere a customer zooms in to inspect a surface. Below this, fine texture starts to be sacrificed; at 300 KB it survives, and the file is still an order of magnitude smaller than what came out of the camera.
It also appears regularly as a portal upload ceiling — generous enough not to feel arbitrary, small enough to keep storage sane. A phone photograph overshoots it by ten to twenty-five times, so the reduction is dramatic even though the output is genuinely high quality. That combination is unusual and worth appreciating.
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 300 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 300 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 300 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 300 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 300 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 300 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
1100 × 820
1270 × 710
1360 × 1020
1.40 MP
Ordinary photograph — portrait, product on plain ground
1510 × 1130
1740 × 980
1890 × 1420
2.67 MP
Soft or low-detail photo — sky, studio white, shallow depth of field
1980 × 1480
2280 × 1280
2450 × 1840
4.52 MP
Screenshot or UI capture with text
1260 × 940
1450 × 820
1650 × 1240
2.05 MP
Flat graphic, logo or illustration
2130 × 1600
2460 × 1390
2860 × 2150
6.14 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 300 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.
Against 200 KB the gain is texture in difficult subjects; against 500 KB the gain is almost nothing unless the dimensions are large. If 300 KB looks right in place, going higher is usually spending bytes on detail below the threshold of notice.
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 300 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 300 KB
At 300 KB, WebP buys about 1.55 times the pixel area of JPEG, which translates to roughly 2400 pixels of width against 1900. For high-detail photography that difference is worth having, because detail is exactly what the extra resolution preserves.
There is one caveat worth knowing at this tier: at very high quality settings the WebP advantage narrows, because both encoders converge on storing nearly all the information. If you find your WebP output landing far below the target while looking perfect, you have hit that ceiling, and the right response is more pixels rather than more quality.
PNG at 300 KB handles large detailed screenshots, maps and technical diagrams at full width with every line crisp. For photographic content it remains the wrong tool at any budget.
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 300 KB looks like
At 300 KB the compression is invisible for practically any web use. Ordinary photographs land at high quality settings with fidelity scores in the low forties, and even the difficult cases — foliage, crowds, fine fabric, textured stone — survive at 1200 to 1400 pixels without visible degradation. If you have been finding smaller budgets slightly soft on detailed subjects, this is the tier where that stops.
The remaining constraint is dimension, as always. At 3000 pixels and above, 300 KB begins to stretch on detailed content, and at 4000 it is genuinely thin. The practical answer is almost never to raise the budget further but to ask what width the image really needs: the number of contexts that benefit from more than about 2000 pixels of image width is small, and serving more than that to a phone is pure waste.
If you are compressing for a portfolio where the work is judged on the image, compare a representative file at full zoom before running the batch. Three hundred kilobytes is almost always enough, and confirming that on one image lets you commit to the rest with confidence.
A measured result at 300 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 300 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
290.7 KB as WebP, 97% of the 300 KB budget
Dimensions
2000 × 1500 px — full source resolution kept, no downscaling needed
Quality landed on
49 out of 100, found by bisection
Fidelity
44.9 dB against the original
Reduction
84.2%
Mistakes people make at 300 KB
Compressing from a JPEG that was already compressed. At this budget the difference between a high-quality source and a second-generation one is clearly visible. Export fresh from your editor.
Expecting 300 KB to carry 4000 pixels. That is a quarter of a byte per pixel on a detailed subject. Cap around 2000 px and it is excellent.
Sharpening before compressing. Sharpening manufactures exactly the high-frequency detail that costs the most bytes. Sharpen lightly, after resizing, or not at all.
Using this budget for every image on a gallery page. Five of them is 1.5 MB. Use small thumbnails for the grid and 300 KB only for the opened image.
Treating the compressed file as the master. It is a screen copy. The print and archive copies are the originals you kept.
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 300 KB is the right budget
Photography portfolios
Gallery and detail views where the photograph is the product and softening in texture would be noticed immediately.
Product zoom images
The larger image behind a zoom or lightbox, where a customer is inspecting material, stitching or finish.
Large desktop heroes
Full-bleed images on wide displays at high pixel density, where 150 KB starts to look thin.
Report and deck imagery
Images embedded in documents and presentations that will be viewed full screen but still need to email.
Portal uploads capped at 300 KB
Application and document portals with a 300 KB ceiling, where a phone photo overshoots by a factor of twenty.
Detailed technical imagery
Diagrams, maps and technical photographs where fine linework must remain readable when zoomed.
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
For portfolio work, compress from the highest-quality export you have rather than from a file that has already been through a lossy pass. Each re-encode compounds the previous one, and the difference between compressing a 16-bit TIFF export and compressing a quality-60 JPEG is clearly visible at 300 KB even though both nominally end at the same file size.
Recommended settings for common 300 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
Portfolio gallery image
WebP
2000 px
65%
High floor so texture is never sacrificed
Product zoom / lightbox
WebP
2000 px
65%
Surface detail is what the customer is inspecting
Large desktop hero (retina)
WebP
2400 px
55%
Wide displays at high pixel density
Technical drawing or map
PNG
2400 px
n/a
Linework and dimension text must stay readable
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 fits in 300 KB?
An ordinary photograph reaches roughly 1910 × 1430 in WebP or 1510 × 1130 in JPEG. Detailed, textured images land nearer 1370 × 1030 in WebP. Simple and soft photographs can exceed 2500 pixels of width. The table on this page gives the full range.
Is 300 KB too big for a web page?
For a single hero or a portfolio image, no. For every image on a page, yes — five 300 KB images is a 1.5 MB page before any code loads. Use 300 KB where the image is the content and a smaller budget everywhere else.
Will 300 KB preserve fine texture?
For almost everything, yes. At the dimensions this budget supports, texture in fabric, foliage, skin and stone survives well. The exception is very large output: the same 300 KB across a 4000-pixel image is a quarter of the data per pixel and texture will start to go.
Should photographers use this or export from their editor?
Either, but this tool answers a question editors do not: it targets a file size rather than a quality number. If your requirement is expressed in kilobytes, searching quality settings by hand in an export dialogue is slow and this is fast. Compress from your highest-quality export.
Does it work for RAW files?
Not directly — browsers cannot decode camera RAW formats. Export to JPEG, PNG or TIFF from your editor first, at the highest quality you can, then compress that. Compressing from the best available source always beats compressing from an already-degraded one.
Why did my output land at 180 KB when I asked for 300?
Because the encoder reached the top of its useful quality range before it reached your ceiling. Additional bytes would not have added anything visible. If you want to use the headroom, increase the maximum dimensions rather than pushing quality higher.
Can I keep an image sharp at 3000 pixels within 300 KB?
For a simple or soft subject, yes. For a detailed one, not really — 300 KB across nine megapixels is very thin. Either accept some softening, reduce the width to around 2000, or raise the budget to 500 KB or more.
Does the tool sharpen after downscaling?
No. Downscaling softens an image slightly and some tools apply automatic sharpening to compensate, but sharpening also adds high-frequency detail that costs bytes and can look artificial. The tool leaves the choice to you; sharpen in your editor before compressing if you want it.
How does the fidelity score work?
It compares the compressed result against the original pixel by pixel and reports a peak signal-to-noise ratio in decibels. Above 40 dB is excellent, 35 to 40 is very good, 30 to 35 is noticeable on inspection, and below 30 is visible. At 300 KB most images land above 40.
Are the images sent anywhere?
No. All processing is local to your browser. Nothing is uploaded, nothing is retained, and the tool continues to work if you disconnect from the network after the page loads.
About Compress Image to 300 KB
This tool compresses any image you give it to under 300 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 300 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 300 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.
High-detail photography for screens: this page covers what 300 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 300 KB as possible without exceeding it.
Automatic downscaling fallback: When quality alone cannot reach 300 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 300 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 portfolio gallery: Twenty-four photographs exported at full quality, averaging 14 MB each, are compressed to 300 KB with the maximum width set to 2000. The gallery drops from 336 MB to 7.2 MB with fidelity scores above 41 dB throughout — no visible loss at full-screen viewing.
Example 2 — texture that survives: A close-up of woven fabric compressed to 100 KB shows the weave dissolving; at 300 KB the same crop at the same dimensions keeps it intact. Detail-critical subjects are precisely where the extra budget earns its place.
Example 3 — a 300 KB portal limit: A 7 MB scanned architectural drawing is compressed with the format set to PNG and the maximum width to 2400. It lands at 291 KB with all linework and dimension text still legible when zoomed.
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 300 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 fits in 300 KB?
An ordinary photograph reaches roughly 1910 × 1430 in WebP or 1510 × 1130 in JPEG. Detailed, textured images land nearer 1370 × 1030 in WebP. Simple and soft photographs can exceed 2500 pixels of width. The table on this page gives the full range.
Is 300 KB too big for a web page?
For a single hero or a portfolio image, no. For every image on a page, yes — five 300 KB images is a 1.5 MB page before any code loads. Use 300 KB where the image is the content and a smaller budget everywhere else.
Will 300 KB preserve fine texture?
For almost everything, yes. At the dimensions this budget supports, texture in fabric, foliage, skin and stone survives well. The exception is very large output: the same 300 KB across a 4000-pixel image is a quarter of the data per pixel and texture will start to go.
Should photographers use this or export from their editor?
Either, but this tool answers a question editors do not: it targets a file size rather than a quality number. If your requirement is expressed in kilobytes, searching quality settings by hand in an export dialogue is slow and this is fast. Compress from your highest-quality export.
Does it work for RAW files?
Not directly — browsers cannot decode camera RAW formats. Export to JPEG, PNG or TIFF from your editor first, at the highest quality you can, then compress that. Compressing from the best available source always beats compressing from an already-degraded one.
Why did my output land at 180 KB when I asked for 300?
Because the encoder reached the top of its useful quality range before it reached your ceiling. Additional bytes would not have added anything visible. If you want to use the headroom, increase the maximum dimensions rather than pushing quality higher.
Can I keep an image sharp at 3000 pixels within 300 KB?
For a simple or soft subject, yes. For a detailed one, not really — 300 KB across nine megapixels is very thin. Either accept some softening, reduce the width to around 2000, or raise the budget to 500 KB or more.
Does the tool sharpen after downscaling?
No. Downscaling softens an image slightly and some tools apply automatic sharpening to compensate, but sharpening also adds high-frequency detail that costs bytes and can look artificial. The tool leaves the choice to you; sharpen in your editor before compressing if you want it.
How does the fidelity score work?
It compares the compressed result against the original pixel by pixel and reports a peak signal-to-noise ratio in decibels. Above 40 dB is excellent, 35 to 40 is very good, 30 to 35 is noticeable on inspection, and below 30 is visible. At 300 KB most images land above 40.
Are the images sent anywhere?
No. All processing is local to your browser. Nothing is uploaded, nothing is retained, and the tool continues to work if you disconnect from the network after the page loads.