Compress a Single Image for the Web

Most advice about web images talks in page budgets, which is useful for planning and useless when you are sitting on one specific picture that needs to ship. This page is the per-image counterpart: a single picture goes in, and 150 KB of tightly-encoded WebP comes out — the sweet spot for the photographs, cards and banners that fill the body of a typical page. Format choice is part of the job too, so the guidance below covers when WebP is the right vehicle, when a transparent graphic still needs PNG-style thinking, and how to verify quality before the file reaches your CMS. Everything runs in your browser, so shipping images and testing them are the same private, local loop.

Drop images here, click to browse, or paste from clipboard (Ctrl+V)

JPEG, PNG or WebP · up to 30 MB per file · up to 5 images at a time · processed locally

Every image on a page deserves its own number

A page does not really contain "images" — it contains one hero, a few content photographs, some cards and a row of thumbnails, and each role earns a different byte budget. A full-width hero can justify 300 to 500 KB because it sets the visual tone at large size. The workhorses — in-article photos, product cards, embedded banners — render at half a screen width or less, and 150 KB in modern WebP carries all the detail those display sizes can show. Thumbnails need barely a tenth of that. Assigning a number per image, based on where and how large it renders, beats one blanket setting for the whole site.

This page’s 150 KB default is tuned for the workhorse case, which is most of what people ship. If the picture in front of you is a hero, change the size before compressing; if it is content, the default is already right. The binary search adapts to the image itself — a clean product shot and a busy street scene both land at 150 KB, each at the highest quality its own content allows.

Choosing the format each image deserves

WebP is this page’s default because it wins both jobs that matter on the modern web: it encodes photographs noticeably smaller than JPEG at equal quality, and it carries transparency, which lets it replace PNG for logos and overlays too. Every current browser renders it, and it has years of large-scale production use behind it. For a photograph with no transparency, the decision is simply WebP, with JPEG as the fallback for platforms that still refuse the upload.

The remaining cases follow from what the image is. Flat graphics, diagrams and screenshots benefit from WebP’s crisp edge handling, and if your CMS accepts WebP there is rarely a reason to reach for anything else. If it does not, PNG keeps screenshots and transparent graphics safe, while JPEG takes over for pure photographs. Newer codecs exist and will matter eventually, but browser support and CMS acceptance are still patchy enough that WebP remains the pragmatic choice for shipping today.

Verifying quality before the image ships

Compression decisions should be made looking at the image, not at numbers, and the result card gives you the side-by-side preview to do exactly that. Two things deserve a glance. First, overall sharpness at the size the image will actually render — 150 KB at half-screen width is comfortably clean for photographic content. Second, screenshots with small text: high-contrast lettering usually survives WebP well, but if edges start to fringe in the preview, the fix is a slightly larger target rather than accepting a blurry capture.

Dimensions are worth one honest reminder: this tool compresses pixels, it does not remove them. An image destined for an 800-pixel slot should be resized to roughly 800 pixels before compression, because shipping a 3000-pixel original spends bytes on detail no visitor will ever see. Resize first, compress second, and the same 150 KB will visibly outperform a compressed-but-oversized file. Batch up to five images per run and collect them as a ZIP for a page’s worth of visuals in one pass.

Frequently asked questions

Why does this page default to 150 KB when another page here uses 500 KB?

They answer different questions. The 500 KB page thinks in page-level budgets — the ceiling for a hero image that keeps a whole page fast. This page thinks per image: 150 KB is the figure where content photographs, cards and banners render cleanly at their typical display sizes. The two numbers work together — heroes take the larger budget, everything else takes 150 KB, and the page total stays lean.

Is it safe to serve WebP on a public website?

Yes. Every current browser — Chrome, Edge, Firefox, Safari, and their mobile versions — renders WebP, and it has carried traffic at enormous scale for years. The only realistic risk is an ancient or niche client, and the standard mitigation is a JPEG fallback at the platform level. If your CMS rejects WebP uploads outright, that is a platform limit, not a browser one — this page outputs JPEG for that case with one click.

Can WebP really replace PNG for transparent images?

For display on the web, yes — WebP’s alpha channel handles transparency properly, and a transparent WebP typically weighs far less than the equivalent PNG. PNG still has reasons to exist: lossless guarantees and certain tooling workflows. But for a transparent logo or overlay whose job is to render in browsers, WebP is the smaller, fully-supported vehicle, and this page encodes it directly.

My screenshot is full of small text — will 150 KB keep it sharp?

Usually yes, because high-contrast lettering on flat backgrounds is exactly the content modern encoders handle well. Check the preview to be sure: if the text edges show fringing or colour noise, raise the target a little or switch output to PNG, which is lossless and never blurs. What you should not do is ship a visibly degraded capture — text legibility is the entire point of most screenshots.

Should I resize image dimensions before compressing?

Yes, and it is the highest-leverage step in the whole workflow. Compression cannot recover bytes spent on pixels the layout never displays, so a 3000-pixel original placed in an 800-pixel slot wastes most of its budget by definition. Resize to the largest size the image will render at — ideally matching common retina multipliers — then compress here. The same target size then buys visibly more quality.

Does optimizing images one page at a time actually help rankings?

It compounds. Search engines treat speed as a ranking input and read pages with throttled connections, so every page you lighten improves crawl efficiency and user signals a little. No single 150 KB image moves a ranking by itself, but a site where every image is disciplined loads faster everywhere, keeps visitors longer, and banks those gains across every URL it owns — which is exactly how the algorithm-level effects are supposed to work.