PNG to JPG Converter

JPEG has no transparency to give, so this page lets you choose the colour that takes its place. Files are read and written inside this tab.

Drop images hereor click to choose — JPEG, PNG, WebP, AVIF

JPEG has no transparency, so transparent areas are filled with this color.

Your files never leave your device

Everything runs locally in your browser. Nothing is uploaded to any server — close the tab and your files are gone.

Advertisement

How to convert PNG to JPG

  1. Add the PNGs you want as JPEGs

    The output format on this page already says JPEG, so a file dropped in comes back as a .jpg. One image or a whole folder — each one gets its own row with the size before and after.

  2. Choose the colour that replaces the transparency

    A background swatch appears with the settings whenever JPEG is the output. It starts on white and opens your system colour picker, so you can match whatever the image will sit on: the page, the slide, the marketplace listing.

  3. Match the quality to what the picture actually is

    The slider starts at 75, which is comfortable for photographs. Flat artwork, screenshots and anything with type in it want 90 or above — and even then JPEG is not the kindest home for them.

  4. Look at the edge of the cut-out before you take the batch

    Open the compare view on one file and zoom into where the subject meets the transparency. That boundary is where a wrong background colour shows up, as a pale or dark rim that was invisible in the PNG. If you see one, change the swatch and press the redo control on the row — it re-encodes that file with the current settings.

  5. Download the .jpg files

    The extension follows the format, so photo.png comes back as photo.jpg. Take them one row at a time, or as a single ZIP once a few have finished.

Transparency, and what JPEG does with it

  • Alpha is not dropped — it is painted over

    PNG keeps a transparency value for every pixel; JPEG has nowhere to store one. So before encoding, the image is composited onto the background colour you picked: fully transparent pixels become exactly that colour, partly transparent ones are mixed with it in proportion to how transparent they were, and fully opaque pixels are copied across bit for bit. Nothing about the visible subject changes — only what sits behind and around it.

  • The wrong colour shows up as a rim, not as a background

    The obvious failure is a white box around a logo on a dark page. The subtle one is worse: the feathered pixels at the edge of a cut-out, the soft end of a drop shadow, the anti-aliased curve of a letter. Those were mixed with your chosen colour permanently, so a subject cut out over white and then placed on navy carries a pale halo that no amount of re-cutting will remove. Set the swatch to the colour the image will actually sit on, before you convert.

  • One colour applies to the whole queue

    The swatch is a global setting rather than a per-file one, so a batch headed for two different backgrounds is really two batches. Convert the first group, change the colour, then add the second — or leave everything in the queue and use the per-row redo, which re-runs that single file with whatever the settings say at that moment.

  • Photographs are what this trade is for

    PNG records every pixel exactly, which is a poor deal for a photograph: millions of slightly different values, almost none of them repeating. JPEG was built for that content, so a photo that was saved as a PNG usually gives up a large share of its size on the way across. The row shows the real figure per file rather than a number promised in advance. When there is a hard ceiling to hit rather than a general wish for something smaller, our walkthrough for a fixed size target goes through the arithmetic.

  • Logos and screenshots are the wrong candidates

    JPEG works in small blocks and smooths what is inside them, which makes a hard edge between two flat colours the hardest thing you can hand it. Text, icons and vector shapes come back with faint outlines around them, and raising the quality only softens the effect. If the image is flat artwork, PNG is already the right format — and WebP is the one that shrinks it while keeping the transparency.

PNG to JPG — frequently asked questions

What happens to the transparent parts of my PNG?

They are filled with the background colour shown in the settings, which is white unless you change it. JPEG cannot store transparency at all, so keeping it is not an option here — the only choice is which colour takes over.

Can I use something other than white behind the image?

Yes. The background swatch shows up whenever the output format is JPEG and opens your system colour picker, so you can drop in the exact background of the page or slide the image is headed for. One colour applies to the whole batch.

Is there such a thing as a transparent JPG?

No — and this is worth knowing before you go looking for a setting that does it. The JPEG format has no alpha channel anywhere in its specification, so no converter, exporter or plugin can produce one. If transparency has to survive, the output has to be PNG or WebP; both are in the format picker above the queue.

I picked the wrong background colour. Do I have to start over?

No. Change the swatch and press the redo control on the affected row — that file is re-encoded from the original you dropped in, not from the JPG it produced, so nothing is compressed twice. The originals stay in the queue until you clear them.

Why does my logo have faint outlines around the edges?

That is ringing — JPEG being asked to describe a hard border between two flat colours. A higher quality setting reduces it but never quite removes it. For logos and line art, keep the PNG or convert to WebP instead.

Will the JPG always be smaller than the PNG?

No. Photographs shrink a lot; flat graphics, screenshots and small icons can come back about the same or even larger, because JPEG spends bits on edges that PNG stored cheaply. Every row labels its own result, increases included.

The upload has a file-size cap. How do I get under it?

Resize first and lower the quality second — dimensions almost always move the number further than the slider does. Fit the longest edge to 2048 or 1024 px, look at the size on the row, and only then start trimming quality. The figure shown is the finished file, so there is no guessing involved.

Does the file end in .jpg or .jpeg?

It is written as .jpg. The two spellings mean the same format, and anything that opens one opens the other.

Is my PNG sent anywhere while it converts?

No — there is no upload step in the first place. The decoder and the JPEG encoder are WebAssembly running in this tab, which is worth knowing when the PNGs are screenshots of something you would rather not hand to a server.