Images

PNG to JPG

Two things surprise people about this conversion, so both are shown rather than hidden: transparent pixels have to become some colour, and a JPEG of a screenshot is often larger than the PNG it came from.

On this device

Choose the quality

The sizes are measured after the conversion, so the choice is a comparison rather than a guess.

    Opened on this device · never transmitted

    What this tool does, exactly

    What it does
    Decodes the PNG with your device's own codecs and writes it out as a JPEG at full resolution and the quality you chose. JPEG, WebP, AVIF, GIF, BMP and HEIC are accepted here too, wherever your browser can read them.
    Transparency has to become something
    JPEG has no transparency at all, so every transparent pixel needs an actual colour. Most converters use black and say nothing, which is how a logo on a transparent background arrives as a black rectangle. The colour is yours to choose here, it starts at white, and the share of the picture that was transparent is counted and shown.
    It can come out larger, and it says so
    A JPEG spends its bytes describing gradual change, which photographs have and screenshots do not. Converting a screenshot or a diagram routinely produces a bigger file that also looks worse around the letters. Both sizes are measured and reported, so the answer can be “keep the PNG”.
    The quality choices are named, not numbered
    A number between 1 and 100 is a decision nobody outside a codec can make, so each choice says what it is for and the resulting size is shown next to it. That is the feedback a slider never gives you.

    About this tool

    Why did my JPG come out bigger than the PNG?

    Because the picture is the kind PNG is good at. PNG compresses runs of identical colour and keeps every edge exactly, which is what a screenshot, a logo or a diagram is made of. JPEG spends its bytes on smooth gradual change instead, so on flat material it uses more of them and blurs the letter edges while doing it. When that happens the honest answer is to keep the PNG, and the result says which file is which size.

    What happens to the transparent parts?

    They become the background colour you choose — white by default, or black. There is no third option that keeps them, because JPEG has no way to record transparency; a converter that appears to keep it has simply picked a colour without telling you. The result names the share of the picture that was transparent, so a screenshot with transparent corners is something you find out about here rather than after sending it.

    Which quality should I choose?

    Balanced for anything going in an email, a form or a web page — the loss is not visible at normal viewing size. Best when the picture will be printed or looked at closely. Small when a size limit is the whole problem, though if the limit is a specific number of megabytes, the image compressor is the better tool: it searches for the quality that fits under a size you name.

    Can I go the other way, JPG to PNG?

    You can, but it is almost never worth doing. PNG is lossless, so converting a JPEG to one cannot recover anything the JPEG discarded — it stores the already-damaged picture in a file several times the size. The one real reason is a program that refuses to open JPEGs at all.

    Is my picture uploaded?

    No. The decoding and the re-encoding both happen in this browser tab. The pictures people convert to send somewhere are often screenshots of private things — a bank page, a message thread, a form — and a converter that wants a copy in order to change a file extension is asking for far more than the job needs.

    More images tools · All 31 · How they work