JPEG vs PNG vs WebP: Which Makes the Smallest File?

For photos, WebP makes the smallest files, JPEG comes close behind and PNG is many times larger. In our tests a 12 MP photo was 563 KB as a JPEG at quality 75, 230 KB as WebP at quality 75 and 13.2 MB as PNG. For logos, icons and graphics with transparency, PNG or WebP is the better choice. JPEG is still the safest format when a form, printer or older app must open the file.

The three formats in one minute

JPEG (also written JPG) is the classic photo format. It uses lossy compression: it throws away detail your eyes are unlikely to notice, and the quality setting decides how much. It has no transparency and is accepted almost everywhere, from upload forms to printers.

PNG is lossless. Every pixel is stored exactly, so text and sharp edges stay perfect and transparent backgrounds are supported. The price is size: for photos, lossless storage is very expensive.

WebP is a newer format from Google that can be lossy like JPEG or lossless like PNG, and it supports transparency in both modes. Current versions of Chrome, Edge, Firefox and Safari can show WebP, but some upload forms, email tools and older programs still refuse it.

How we tested

We used four images and saved each one in every format in Chrome. The JPEG files came from the JPEG Compressor in Quality mode. The PNG and WebP files came from the same browser’s built-in image encoders, so all three formats were made by one program on one computer.

  • A 12 MP phone-style photo (3024 × 4032 px)
  • A square portrait photo (1024 × 1024 px)
  • A screenshot of a web page with text (1280 × 800 px)
  • A simple logo-style graphic with a transparent background (1200 × 800 px)

Keep in mind that results depend on the image and on the encoder. Dedicated tools can squeeze PNG and WebP further than a browser does, so treat these numbers as a fair side-by-side test rather than the smallest possible files.

Test results: file size by format

ImageJPEG quality 75JPEG quality 90WebP quality 75WebP quality 90PNG
12 MP photo563 KB1.37 MB230 KB596 KB13.2 MB
Portrait photo89 KB166 KB42 KB102 KB1.72 MB
Web page screenshot73 KB101 KB41 KB60 KB133 KB
Logo with transparency21 KB27 KB7.1 KB8.8 KB27 KB

What the numbers mean

Photos: WebP at quality 75 was 59% smaller than JPEG at quality 75 for the 12 MP photo and 53% smaller for the portrait. PNG was the clear loser: the 12 MP photo was about 24 times larger as a PNG than as a quality 75 JPEG. Never save photos as PNG unless you need a lossless master copy.

Screenshots: WebP was again the smallest at 41 KB. The JPEG was 73 KB, but JPEG blurs the edges of small text, so screenshots with text usually look cleaner as PNG or WebP. The screenshot saved directly by the browser as PNG was 94 KB, smaller than the 133 KB PNG from the canvas encoder, which shows how much the encoder matters for PNG.

Logos and graphics: the original PNG of our logo was only 7.7 KB, and WebP was 7.1 KB. The JPEG versions were roughly three times larger and lost the transparent background, which JPEG fills with a solid color. Flat colors and sharp edges are exactly what PNG and lossless compression handle well.

Is quality 75 the same in JPEG and WebP?

No. The quality number is a setting inside each encoder, not a shared scale, so quality 75 in WebP and quality 75 in JPEG do not promise exactly the same look. The fairest test is to compare the files with your own eyes at the size you need. Open both versions at full zoom, look at faces, skies and fine text, and keep the smaller file that still looks right. For JPEG files, the before and after slider in the JPEG Compressor makes this check quick.

Which format should you use?

UseBest choiceWhy
Upload forms, job portals, ID photosJPEGAccepted almost everywhere, easy to hit a KB limit
Photos on your own websiteWebP, with JPEG as a fallbackSmallest files for the same look
Email and messagingJPEGOpens on every phone and computer
Screenshots with textPNG or WebPSharp text without JPEG blur
Logos, icons, transparent imagesPNG or WebPTransparency and crisp edges
PrintingHigh quality JPEG or the original filePrinters and print shops expect JPEG or TIFF

How to convert PNG or WebP to a small JPEG

When a website only accepts JPEG, convert first and compress in the same step:

  1. Open the JPEG Compressor. It accepts PNG, WebP, GIF, BMP and AVIF as well as JPEG.
  2. Choose a background color for transparent areas. Open Advanced options and pick the color that will replace transparency, white by default.
  3. Pick Quality or Target size. Use quality 75 to 85 for a good balance, or set a KB limit if the form has one.
  4. Add your files. You can add up to 20 at once and they are compressed right away.
  5. Download the JPEGs. Save them one by one or press Save All (ZIP).

Watch the result line: for simple graphics the JPEG can be larger than the original PNG, and the tool tells you so. In that case keep the PNG if the site accepts it.

Tips for the smallest files in any format

  • Resize before you compress: an image shown 800 px wide on a page does not need 4000 px of detail
  • Pick the format by content, not by habit: photos to JPEG or WebP, flat graphics and text to PNG or WebP
  • Avoid converting between lossy formats again and again, because each lossy save removes more detail
  • Use quality 75 to 85 for JPEG and WebP on the web, and check the result with a before and after comparison
  • Remove metadata you do not need, such as GPS location and camera details, to save a few extra kilobytes and protect your privacy

For practical JPEG settings, read how to compress JPG images without losing quality. To hit a strict limit, see how to compress a JPG to a specific size and our guide to compressing a JPEG to 20 KB, 50 KB or 100 KB.

FAQ

Usually, yes. In our tests WebP at quality 75 was 53% to 59% smaller than JPEG at quality 75 for photos. The exact saving depends on the image and the encoder.

PNG is lossless, so it never adds compression artifacts. For photos the visible difference from a good JPEG is small, but the PNG file can be 20 times larger or more, as our tests showed.

Yes. JPG and JPEG are the same format. The three-letter .jpg extension comes from older Windows systems that limited file extensions to three characters.

WebP gives smaller files for the same look and all current major browsers support it. Many sites serve WebP and keep JPEG as a fallback for older software and for downloads.

Simple graphics with flat colors, such as logos and icons, compress extremely well as PNG. JPEG is designed for photos, so for these images it can produce a larger file and blurry edges.

Use JPEG unless the form says otherwise. It is the format almost every portal accepts, and the JPEG Compressor can bring it under any KB limit.

Turn any image into a small JPEG

Add PNG, WebP or JPEG files and get compressed JPEGs in seconds, one by one or as a ZIP.

Similar Posts