PNG to JPG Converter
Convert PNG to JPG free in your browser — no upload, no sign-up. Adjust JPG quality, flatten transparency, and shrink file size instantly with client-side Canvas conversion.
Updated
Click or drag a PNG image here
Converts to JPG — nothing is uploaded
Frequently Asked Questions
What happens to transparent areas when I convert PNG to JPG?
JPG has no alpha channel, so any transparent or semi-transparent pixels in your PNG get flattened onto a solid white background during conversion. If you need to keep transparency, convert to WebP instead, which supports both a full alpha channel and JPG-level compression efficiency.
Will converting PNG to JPG make the file smaller?
Usually yes, often dramatically for photographic images, because PNG's lossless DEFLATE compression is inefficient for continuous-tone photos while JPG's lossy DCT compression is built for exactly that. A photo saved as PNG can shrink 70-90% when re-encoded as JPG at typical quality settings; flat-color graphics like screenshots or logos see much smaller gains, if any.
What JPG quality setting should I use?
A quality of 80-90 typically looks visually lossless for photos while still cutting file size significantly. Below about 60, blocking artifacts start to appear, especially around sharp edges and text — areas PNG source images often contain.
Can I convert a JPG back to PNG without losing the detail JPG discarded?
No. Converting a JPG to PNG only repackages the already-lossy pixel data losslessly going forward — it can't restore detail discarded during the original JPEG encoding, and it typically produces a larger file with no visual benefit.
Why did my logo's transparent background turn white after converting to JPG?
JPG's color model is RGB-only — three channels for red, green, and blue, with no fourth alpha channel to store transparency information. When a PNG with a transparent or semi-transparent background is converted, the encoder has to decide what color to put where "nothing" used to be, and the standard fill is solid white. This is why a logo or icon with a cut-out background can look perfectly fine as a PNG thumbnail but suddenly show an ugly white box the moment it becomes a JPG. If you need to keep transparency, either leave the file as PNG or convert to WebP instead, which supports a full alpha channel alongside JPG-level compression efficiency. There's no setting that avoids this within JPG itself — it's a structural limitation of the format's color model, not a bug in any particular converter, including this one.
Should I convert PNG screenshots to JPG before uploading them to a website?
It depends on the screenshot's content. Screenshots of text, code, or user interfaces are mostly flat color blocks and sharp edges — exactly what PNG's lossless compression already handles efficiently — so converting to JPG may save little and can introduce visible blocking artifacts around text and icon edges. But a screenshot dominated by a photo, video frame, or gradient-heavy design mockup usually compresses far better as JPG, often shrinking the file substantially, which directly helps page load time and Core Web Vitals metrics like LCP. A practical rule: if the image is mostly UI chrome and text, keep it PNG; if it's mostly photographic or continuous-tone content, JPG is usually the better web format, with WebP as an even smaller option where browser support allows it.
When was JPEG created, and why is it still the default photo format decades later?
The JPEG standard was finalized in 1992 by the Joint Photographic Experts Group, a committee formed jointly under the ISO and what's now the ITU. It was designed specifically around how the human visual system perceives color and detail, discarding the information people are least likely to notice. That efficiency, combined with being royalty-free and supported by essentially every browser, operating system, and camera made since, is why it never got displaced — most digital cameras and phones still save photos as JPEG by default today. Newer formats like WebP and AVIF compress more efficiently at equivalent visual quality, but JPEG's near-universal decode support, including in older software and hardware that predates the modern web, keeps it the safe default whenever compatibility matters more than squeezing out the last few kilobytes.
Does converting a PNG to JPG lower the image's resolution?
No — resolution (the pixel dimensions, e.g., 1920x1080) and compression are independent concepts, and this converter doesn't resize anything by default. What changes is how each pixel's color data is stored: JPG's lossy compression can introduce small per-pixel inaccuracies, known as compression artifacts, at lower quality settings, which can look like a loss of sharpness or fine detail, especially around high-contrast edges and text. That's a quality change, not a resolution change — the output image has exactly the same width and height as the source PNG, pixel for pixel. People often conflate the two because heavily compressed JPGs look "blurry" or "soft," but the pixel count and file dimensions are untouched; only the fidelity of each pixel's stored color value has been reduced by the encoding process.
Is it better to send a photo as a PNG or a JPG email attachment?
For photographs, JPG is almost always the better choice for email. A photo saved as PNG can be several times larger than the same image saved as JPG at a high quality setting, which matters directly for email — many providers cap total attachment size around 25MB, and large images slow down sending, receiving, and mobile data usage on the recipient's end. The visual difference at a high JPG quality setting, roughly 85 and above, is imperceptible for a typical photo, while the file-size savings are substantial and add up fast across multiple attachments. The exception is when the image needs to stay fully editable or lossless — a scanned document with text, or a graphic that will be re-edited later — where PNG's lossless nature is worth the larger size. For everyday photo sharing, JPG remains the practical default.
Embed This Tool
Add a free, live version of this widget to your own website or blog post — it runs entirely in your visitors' browsers, with a credit link back to The Toolbox.
<iframe src="https://getthetoolbox.com/embed/png-to-jpg" title="PNG to JPG Converter — The Toolbox" width="100%" height="340" style="max-width:480px;border:1px solid #e2e8f0;border-radius:12px" loading="lazy"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://getthetoolbox.com/image-tools/png-to-jpg?utm_source=embed&utm_medium=widget" target="_blank" rel="noopener">Free PNG to JPG Converter</a> by The Toolbox</p>Related Tools
Free Image Resizer Online
Resize images to any dimension. Maintain aspect ratio or set custom sizes. Free, fast, and works entirely in your browser with no sign-up required.
Free Image Compressor Online
Compress PNG, JPG, and WebP images to shrink file size without losing quality. Free, fast, and runs entirely in your browser — no uploads, no sign-up.
Free Image Cropper Online
Crop images to any size or aspect ratio with visual editor. Free, fast, and works entirely in your browser with no sign-up required.
Free Favicon Generator
Generate favicons in all sizes from a single image. Free, fast, and works entirely in your browser with no sign-up required.
About the PNG to JPG Converter
PNG and JPG solve different problems, and understanding that difference is the key to knowing when this conversion actually makes sense.
PNG uses lossless DEFLATE compression — the same algorithm family as ZIP — which means every pixel you started with is still there after compression, byte-for-byte identical when decoded. That's why PNG is the default for screenshots, UI mockups, logos, and any graphic with flat colors or sharp text edges: nothing gets smudged or blurred. PNG also carries a full 8-bit alpha channel, so it can represent partial transparency, not just an on/off toggle. The cost is file size: because DEFLATE doesn't model the subtle gradients and noise found in photographs particularly well, a photographic PNG is often several times larger than the same image saved as JPG.
JPG (JPEG) takes the opposite trade: it discards information the human eye is less sensitive to, using discrete cosine transform (DCT) based compression that groups pixels into blocks and reduces high-frequency detail in proportion to the quality setting you choose. That's what makes JPG so effective for photographs — continuous-tone images with natural noise and gradients compress dramatically, often 70-90% smaller than an equivalent PNG for the same photo, with the loss largely invisible at quality settings above 80. JPG has zero support for transparency; every output pixel is fully opaque RGB.
What happens during PNG-to-JPG conversion
Converting PNG to JPG is a one-way trip. Any transparent or semi-transparent pixels in the source PNG get flattened onto a solid background (white) because JPG's color model has no alpha channel to store that information — it's discarded, not preserved. This matters most for logos, icons, and cut-out graphics; it matters far less for an already-opaque photo, where there's nothing to flatten in the first place.
Because JPG's compression is lossy and adjustable, this converter exposes a quality control. Higher settings (85-95) keep compression artifacts essentially invisible while still shrinking the file meaningfully; lower settings (below 60) introduce visible blocking around edges and text, which is particularly noticeable on the sharp lines PNG is often used for in the first place. There's no universally "correct" number — it depends on whether the output is headed to a photo gallery, an email attachment, or a web page where every kilobyte affects load time.
Why convert this direction
The typical reason to go from PNG to JPG is file size: a PNG screenshot or exported photo is bloating a page, an email, or a CMS upload limit, and the image doesn't actually need transparency or pixel-perfect losslessness. Converting recovers most of that space instantly. It's a poor choice, on the other hand, for images that rely on transparency — icons, overlays, logos meant to sit on varying backgrounds — those should stay PNG or move to WebP, which supports both transparency and JPG-level compression efficiency in one format.
How the conversion works
Everything runs locally in your browser using the HTML5 Canvas API: your PNG is read with FileReader, drawn onto an off-screen <canvas> element via drawImage, then re-encoded through canvas.toDataURL('image/jpeg', quality), which performs the actual JPEG encoding step. The file never leaves your device — there's no upload to a server, no processing queue, and no account required. That also means conversion speed depends only on your device's own processing power, not on network conditions or server load, and nothing about your image is ever transmitted or stored remotely.