Tech Seekers PDF logoTech Seekers PDF

Guides

WebP vs PNG vs JPG: Resize and Compress Web Images

Published 2026-11-26 · Updated 2026-11-28 · By Tech Seekers

WebP vs PNG vs JPG: how to resize and compress website images for faster PageSpeed, with real file sizes and the trade-offs that decide the pick.

WebP vs PNG vs JPG: how to resize and compress website images for faster PageSpeed comes down to two choices, not one. First pick the format that suits the picture, then pick the size that suits the slot it will fill. A photo and a logo are not the same kind of image, and the format that suits one will punish the other. Pick the wrong format and a page loads slowly for no reason, or a logo comes out with a white box where it should be see through. The choice comes down to three formats, JPG, PNG, and WebP, and the right pick depends on what is in the picture.

Start with the formats, because they settle the photo question fast. I took one photo at 1200 pixels wide and saved it in three formats. The PNG was the biggest by far. The JPG at quality 85 sat in the middle. The WebP at quality 80 was the smallest by far. A smaller file loads faster, and on a page with ten photos the saving adds up to most of the page weight.

Screenshots break the pattern, and that is where PNG earns its place. A screenshot at 1920 pixels wide came out smallest as WebP, next as PNG, and biggest as a JPG at quality 85. The PNG beat the JPG by a wide margin, because a screenshot is mostly flat colour and sharp edges, which is exactly what PNG compresses well and JPG compresses badly. WebP still came first, and a JPG was the worst of the three by far.

Transparency is the rule that decides the format before size does. JPG has no transparency at all, so any see through pixel in the original becomes white in a JPG. A logo with a clear background, saved as a JPG, gets a white box around it on any page that is not white. PNG keeps transparency, and WebP keeps it too. The logo I tested stayed small as a PNG and kept its transparency intact after compression. If the image needs a clear background, JPG is out, whatever the file size says.

When should you keep PNG? Keep it for flat graphics, screenshots, logos, icons, and anything with sharp lines, solid colours, or text baked into the image. PNG is lossless, so a line stays a line and a letter stays a letter, with no soft edges. Keep it when the image is already small, because a small logo has nothing to gain from a format change.

When should you switch to WebP? Switch it for photos on a web page, where the size saving is large and the quality holds up. Switch it for a screenshot that has to load fast, since WebP beat PNG on the screenshot test too. The convert tool re-encodes the image at its current detail, so it never adds sharpness, and it never adds resolution. It only changes the wrapper the pixels travel in.

Resize is the second choice, and it matters as much as the format. A photo straight from a phone is 4032 pixels wide, and a web page never shows it that big. I resized one such photo and the result shrank at every step: smallest at 1600 pixels wide, bigger at 2200 pixels wide, and biggest at 3200 pixels wide. A WebP photo at 2000 pixels wide came out smaller on Medium than on High, with no resize at either setting, since both caps sit above 2000 pixels. At Low it came out smaller still, but Low also caps the width at 1600 pixels, so that result is a resize plus a quality change, not quality alone. Resize first, then convert, because converting a huge image keeps it huge.

Here is what the two choices add up to on a real page. Ten photos at 1200 pixels wide, saved as JPG at quality 85, weigh far more together than the same ten photos as WebP at quality 80. That is the photo weight of the page cut to a fraction of the JPG weight, before anything else on the page is touched. A page that asks for WebP photos starts faster than one that asks for JPG photos.

The tools are simple. Upload a JPG, PNG, or WebP, pick the target format, and download the result. The JPG quality slider runs from 40 to 100 percent and only affects JPG output. PNG output is always lossless, and WebP output uses a fixed high quality of 0.92, so if you need a smaller WebP, shrink the image first with the resize tool, then convert it. HEIC photos are not supported, so convert a HEIC to JPG or PNG on your phone first, then upload it.

Check the result before you use it. Open the converted file and look at the edges: a photo should look the same, a logo should keep its clear background, and a screenshot should keep its text readable. If a logo came out with a white box, you picked JPG by mistake, so convert it again to PNG or WebP. Files up to 50 MB are accepted, and everything runs in your browser, so the images never leave your device.

Try it yourself

Free, no signup, no watermark. Your file never leaves your browser.

Convert Images

How it works

  1. 1Upload your image. Drop a JPG, PNG or WebP image into the upload area. Files up to 50 MB are supported.
  2. 2Resize first if it is too big. If the image is bigger than the slot it will fill, shrink it first with the resize tool: 1200 to 1600 pixels wide for a hero image, 800 for a thumbnail. A photo at 4032 pixels wide shrinks a lot after resizing to 1600 pixels wide.
  3. 3Pick the target format. WebP for photos on a web page, PNG for logos, flat graphics, and anything that needs a clear background. Never pick JPG for a transparent image.
  4. 4Set JPG quality if needed. The JPG quality slider runs from 40 to 100 percent and only affects JPG output. PNG is lossless and WebP uses a fixed high quality of 0.92.
  5. 5Download and check the result. Your converted image downloads instantly, in the format you picked. Open it and look at the edges and the background: a logo should keep its clear background, and a photo should look the same as before.

Frequently asked questions

Is WebP really smaller than JPG?

For photos, yes. A 1200 pixel photo saved as WebP at quality 80 comes out far smaller than the same photo as JPG at quality 85. A PNG of the same photo is the biggest of the three by far.

Should I resize before I convert?

Yes, when the image is bigger than the slot it will fill. A photo at 4032 pixels wide shrinks a lot after resizing to 1600 pixels wide, and a WebP at 2000 pixels wide shrinks further still. Resize first, then convert, because converting a huge image keeps it huge.

When should I keep PNG instead of converting?

Keep PNG. It is lossless, so sharp lines and text stay clean, and it keeps transparency. A small logo stays small as a PNG and keeps its transparency intact.

What happens to transparency if I convert to JPG?

JPG has no transparency, so transparent pixels become white in the output. Convert to PNG or WebP instead when the image needs a clear background.

Does the JPG quality slider affect PNG or WebP?

No. It only applies to JPG output. PNG is always lossless and WebP uses a fixed high quality of 0.92.

Is my image uploaded anywhere?

No. The conversion runs in your browser, so the image never leaves your device.