Esc
↑ ↓ to moveEnter to openEsc to close

Convert and compress tool

PNG to JPG converter

Your PNG image, ready for a JPG workflow. Convert locally and save a new copy.

Your image

Processed on your device
Canvas support is required.

Live preview

Try the demo

JPG output is selected. Transparent pixels become white.

Choose your crop

Drag on the preview for a custom crop. The shaded edges will be removed. Need more room instead? Uncrop the photo.

PNG and WebP keep transparency.

Continue with this photo Christmas frameNew Year frame Uncrop a photoResizeCompressAdd text Open a photo first, then pick the next step. Your edit carries over and stays on this device.

Three steps

How to convert PNG to JPG

  1. Choose your PNG image.
  2. JPG output is selected. Adjust quality and dimensions if needed.
  3. Download the encoded JPG file and compare its reported size.

A white background for transparent areas.

PNG can hold transparent pixels, while JPG cannot. This page selects JPG output and fills transparent areas with white. Use it when a service expects a photographic JPG or when a white-backed version of a graphic is appropriate.

Choose a quality level that keeps thin edges and small lettering readable. JPG is a lossy format, so a logo or screenshot may show ringing around sharp shapes. Converting a flat graphic is not guaranteed to make it smaller than its PNG original.

The output is a newly encoded JPG, rather than a renamed PNG. Color changes and layers already in the editor are included in the export. Keep the original transparent PNG if you may need a different background later.

What happens to transparent areas

A PNG can record how see-through each pixel is. JPG has no alpha channel, so it cannot. When you convert here, every transparent pixel is laid onto white, and a logo that sat on a checkerboard comes out on a white rectangle. The preview already shows that white fill, so what you see is what you download.

Soft edges deserve a second look. Smooth outlines, glows and drop shadows are partly transparent, and they are blended with white as well. On a white page the JPG looks right. On a dark page the whole white rectangle shows, and if you later try to cut the white away, the blended edges leave a pale halo.

If the picture has to sit on a colored or dark background, keep the PNG, or try PNG to WebP. WebP keeps transparency, and Google reports that lossy WebP with transparency is typically about a third of the size of the same PNG.

What's the difference between a PNG and a JPEG?

PNG compresses without losing anything and can store transparent pixels. JPEG, the format inside every .jpg file, throws away fine detail that is hard to see in a photo, which keeps photos small, and it has no transparency. MDN's format guide calls JPEG a good choice for lossy compression of still images and prefers PNG when an image must be reproduced precisely or needs transparency.

Our own tests show how much the content of the picture decides the outcome:

FeaturePNGJPEG (.jpg)
CompressionLossless: every pixel is kept exactlyLossy: fine detail is dropped to save space
TransparencyYes, soft edges includedNo, see-through areas need a background color
Best forScreenshots, logos, charts, text and files you will edit againPhotos you share, upload or print
Our test photo, 1,021 x 1,2772,412 KB346 KB at quality 88
Our screenshot-style test, 1,200 x 800151 KB137 KB at quality 88

When JPG is the right choice

JPG was designed for photographs. Its compression drops fine detail that is hard to spot in a photo, and MDN's format guide calls it a good fallback for photos. Our image formats guide compares it with PNG and WebP. As a rule of thumb:

  • Convert a photo that an app, a screenshot tool or an editor saved as PNG. Photos usually shrink a great deal.
  • Convert when a form, website or program asks for JPG or JPEG files.
  • Keep the PNG for screenshots with small text, line drawings, charts and logos. Lossy compression leaves visible smudges and colored fringes around sharp edges.
  • Keep the PNG when you need transparency, or when you plan more edits and want an exact copy to start from.

Quality and the size you can expect

This page starts at quality 88. Lower it in small steps if the file must be smaller, and check faces, skies and any lettering before you settle on a number.

Our test in Chrome shows how much the picture itself matters. A 1,021 x 1,277 landscape photo was 2,412 KB as a PNG and 346 KB as a JPG at quality 88, about a seventh of the size. A 1,200 x 800 screenshot-style image with text and flat colors went from 151 KB as a PNG to 137 KB as a JPG at quality 88, and at quality 92 the JPG was slightly larger than the PNG.

When the slider alone cannot reach the size you need, lower the width and height in the same editor, or use the compress to KB tool to land under an exact limit.

Before you delete the PNG

After each download, the editor shows the new file's size and whether it is smaller or larger than your PNG, and the file name includes the pixel size, such as logo-1200x800.jpg. Compare the JPG with the original at the size it will be used, especially around text and thin lines.

Keep the PNG as your master copy. The JPG has lost the transparency and some fine detail for good, while the PNG can still give you a JPG, a WebP or a version on a new background later. If the JPG is all you have left, JPG to PNG makes a lossless copy for further edits, but it cannot bring back the transparency or the lost detail.

Questions

What happens to transparency?

Transparent pixels become white, because JPG has no alpha channel. Partly transparent edges, such as shadows and smooth outlines, are blended with white too. Choose PNG or WebP output when the transparent areas need to stay transparent.

Will JPG always be smaller?

No. Photos usually shrink a lot, but screenshots, logos and flat graphics can stay about the same size, and at high quality settings the JPG can even be larger. The download message shows the real size and compares it with your PNG.

Is it better to save as PNG or JPG?

It depends on the picture. Save photos as JPG, because the file is far smaller and the loss is hard to see: our test photo went from 2,412 KB as a PNG to 346 KB as a JPG. Keep PNG for screenshots, logos, text and anything with transparency or more editing ahead.

Can I rename PNG to JPG?

Renaming does not convert anything. The file still holds PNG data under a .jpg name. Some apps open it anyway because they read the content, but upload forms and programs that check the real type can reject it as invalid. Converting here writes genuine JPG data into a new file.

Can I get the transparent PNG back from the JPG?

No. The JPG stores white where the transparent pixels were, and the transparency information is gone from that file. Keep your original PNG if you might need a transparent version or a different background later.

Does converting PNG to JPG lose quality?

Yes, a little, because JPG is a lossy format that discards detail to save space. Photos tolerate it well at quality 85 to 90, while small text and sharp lines show artifacts sooner. Compare the result before you delete the PNG.

Is JPG the same as JPEG?

Yes. JPG and JPEG are two names for the same image format, and files ending in .jpg or .jpeg are read the same way. If a form asks for a JPEG, the .jpg file from this page is exactly that.

What quality should I choose?

Start with 88, the setting this page opens with, and lower it in small steps if the file is too big. Stay at 90 or above for screenshots with text. Very low settings show blocky patches and smeared color in skies, skin and lettering.

How do I convert PNG to JPG on a Mac?

Open the PNG in Preview, choose Export from the File menu, pick JPEG in the Format menu and set the quality. This page does the same in any browser, on Windows, Android or iPhone, without installing an app.

Can I convert several PNG files at once?

This page converts one image at a time. For a batch, the compress to KB tool takes up to 30 images, saves each one as a JPG under the size limit you set and fills transparent areas with white.

Sources: Image file type and format guide (MDN Web Docs), An image format for the Web: WebP (Google for Developers), Convert image file types using Preview on Mac (Apple Support)

See all tools

Guides for this