PNG to JPG converter

Convert PNG images to JPG for free, right in your browser — no sign-up, no upload.

PNG to JPG turns a lossless picture into a lossy one that is usually far smaller: the 512 × 512 astronaut photo went from 791,555 to 73,755 bytes at quality 92. JPG cannot store transparency, so every transparent or half-transparent pixel is blended onto a background colour — white unless you change it under Advanced. Convert photos this way; keep screenshots, logos with transparency and pixel art as PNG. The JPG has the same width and height; quality runs from 20 to 100.

Drop image files hereProcess many files at once
No upload · processed on this device

Lossless with alpha → lossy without alpha

A PNG stores every pixel exactly, plus an optional alpha value per pixel. JPG cuts the picture into 8 × 8 blocks, keeps the strong frequencies of each block and rounds away the weak ones. On a photo that is hard to see; on hard edges and text it shows as ringing and smeared colour.

Because JPG has no alpha channel, the converter first paints the whole canvas in the JPG background colour and draws the PNG on top. Fully transparent pixels become exactly that colour; half-transparent edges (anti-aliasing, soft shadows) become a mix of edge and background. A cut-out converted on white therefore looks clean on a white page and shows a light rim on a dark one.

Quality is the encoder's trade-off setting, not a percentage of the original: lower numbers give smaller files and more visible blocks. If you have a byte limit rather than a quality in mind, compress to 100 KB searches the quality for you.

Alpha channel
Per-pixel opacity. PNG has it; JPG does not.
JPG background
The colour that replaces transparency: #ffffff by default, changeable under Advanced.
Quality
Encoder setting 20–100; 92 by default here. PNG ignores it.

Two real PNGs converted (measured)

Nerulio's converter code in Chromium 153 on 2026-09-28, default quality 92 and white background.

Photo: astronaut.png (NASA, 512 × 512, opaque)
  PNG 791,555 bytes  ->  JPG 73,755 bytes   (9.3 % of the size)
  SSIM 0.9874, PSNR 37.25 dB, largest channel error 54 of 255

Pixel art: Kenney pixel-platformer-characters.png (224 × 74)
  8,095 of 16,576 pixels are transparent
  PNG 1,996 bytes    ->  JPG 12,379 bytes   (6.2 × larger)
  all 8,095 transparent pixels are now white

The photo shrinks by 91 %; the sprite sheet grows six-fold and loses its transparency. Small flat-colour PNGs compress better than any JPG.

What happens to each part of the PNG

In the PNGWhat the converter doesIn the JPG
RGB pixelsEncoded lossily at the chosen qualitySame width and height, small errors (max 54/255 on the photo)
Fully transparent pixelsPainted with the background colour firstExactly the background colour
Half-transparent edgesBlended with the background colourA fixed mixed colour; a rim on other backgrounds
Colour profile (iCCP chunk)Drawn into the browser's sRGB canvassRGB profile written by Chromium
Text chunks, EXIFNot copiedNone
Animated PNG (APNG)Rejected before converting—

Check the result

  • Open the JPG on a dark background or in a dark-mode viewer: former transparent areas show your chosen colour, and cut-out edges should not have a rim you did not expect.
  • Zoom to 200 % on text or sharp lines. Blocks or coloured fringes there mean this picture should stay PNG.
  • Compare the byte counts in the result list; icons and pixel art that were already small usually get bigger as JPG.

Troubleshooting

SymptomLikely causeHow to checkFix
A white box around the logoJPG has no transparency; transparent pixels became the background colourOpen the PNG: is the background checkered?Keep PNG, use PNG to WebP, or set the page's background colour under Advanced so the box blends in
A light or dark rim around a cut-outHalf-transparent edge pixels were blended with whitePlace the JPG on the page's real backgroundPick that background colour before converting
Text looks smudgedJPG blocks and colour loss around sharp edgesZoom in on the lettersKeep the screenshot as PNG; raising quality to 100 helps but JPG stays lossy
The JPG is bigger than the PNGSmall flat-colour PNG (icons, pixel art); PNG compresses those far betterCompare the two sizes in the result listKeep the PNG — JPG only pays off on photos
The upload form still says the file is too largeQuality 92 is too big for the limitRead the byte countUse compress to 200 KB or the size the form names

Other ways to do it

OptionWhen it is the better choice
PNG to WebPThe destination accepts WebP and you need to keep transparency, or want a smaller file at similar quality.
Compress with Auto formatYou care about the byte limit, not the extension: PNG, JPG and WebP candidates are compared for you.
Export JPG from the program that made the PNGYou still have the layered original; exporting from it avoids one lossy generation and can keep metadata.

What this page does not cover

  • EXIF and PNG text chunks are not copied; the JPG carries Chromium's sRGB profile.
  • One flat background colour per image; placing the picture on a photo or gradient background is not possible here.

Versions and sources

Sizes, SSIM and pixel counts were measured on 2026-09-28 in Playwright Chromium 153 with the same calls src/task/convert.js makes (Im.background, then canvas.toBlob at 0.92), on tests/fixtures/astronaut.png and tests/fixtures/kenney/pixel-platformer-characters.png. What JPG and PNG can store follows MDN.

Official documentation used

PNG to JPG converter

PNG is lossless and supports transparency — ideal for logos, screenshots and graphics, but large for photos.

JPG is the most widely supported lossy format for photos: small files, but no transparency.

JPG has no transparency, so transparent areas are filled with a background colour. Choose PNG or WebP to keep them.

Your file is never uploaded — it is processed inside this browser.

Example

Original geometric sample · 96 × 64
Original geometric sample · 96 × 64
Processed sample · 96 × 64
Processed sample · 96 × 64

Example generated with this tool. ZIP tools show their preview; inspect the downloaded archive for every file.

Convert image

Export PNG, JPG or WebP. JPG flattens transparency.

How it works

  1. Open an image
  2. Select PNG, JPG or WebP
  3. Convert and download the new file

Supported formats

PNG / JPG / WebP / AVIF / HEIC → PNG / JPG / WebP — Input decoding and output encoding depend on browser support. Animated inputs are rejected; select a still frame first.

What this tool does

Re-encodes the image into the selected format rather than renaming its extension.

Implementation and verified quality

advanced · browser image codecs. Quality qualification is in progress. Pro/Flagship quality has not been established.

Before you export

JPG has no transparency. Canvas export does not promise preservation of metadata, color profiles or animation.

Frequently asked questions

Which format keeps a transparent background?

Choose PNG or WebP. JPG flattens transparency onto the selected background color.

Are my files uploaded?

This tool processes the files you open on your device without uploading them. Images you explicitly attach to community posts are uploaded separately. Optional engines and models are downloaded from third parties; those requests expose connection information such as your IP address.

Will my work be saved automatically?

No. Images and editing state stay in this tab; media output can use local temporary storage. Changing language preserves your work; reloading, closing the tab, or following a link to another page can clear it.