PNG to JPG: Complete Conversion Guide for Web & Photography
🚀 Ready to convert? PNG to JPG — free, browser-based, batch processing.
Open Tool →What Is the JPG Format?
JPG (also written JPEG — Joint Photographic Experts Group) is the most widely used image format for photographs on the web. Introduced in 1992, JPG achieves its compact file sizes through lossy compression — it discards image data that the human eye is least likely to notice, particularly fine high-frequency details and subtle colour transitions in complex areas.
For photographic content, this tradeoff is almost always worthwhile. A photograph saved as PNG might be 3–5 MB; the same image saved as JPG at 85% quality is typically 300–600 KB — a reduction of 80–90% with no visible quality difference under normal viewing conditions.
JPG has one critical limitation: it does not support transparency. Every pixel in a JPG image must be a fully opaque colour. This makes JPG unsuitable for logos, icons, or any image that needs a transparent background.
PNG: The Lossless Alternative
PNG (Portable Network Graphics) was designed in 1996 as a patent-free replacement for GIF. Unlike JPG, PNG uses lossless compression — every pixel in the original image is preserved exactly, with no quality loss on save. PNG also supports full RGBA transparency, meaning pixels can be fully transparent, fully opaque, or any degree of translucency in between.
PNG excels for:
- Logos and brand marks that require clean edges and transparency
- Screenshots containing text (sharp edges that JPG would blur)
- Line art, diagrams, and flat-colour illustrations
- Source files and intermediate assets that will be edited and re-saved
The tradeoff is file size. For photographic content, PNG files are 3–10× larger than equivalent JPGs because lossless compression cannot match the efficiency of perceptual lossy encoding for complex natural imagery.
When to Convert PNG to JPG
Converting PNG to JPG makes sense in the following scenarios:
- Web performance. Google's Core Web Vitals and PageSpeed Insights score pages heavily on image loading speed. Large PNG hero images, product photos, or background images are among the most common causes of failing Largest Contentful Paint (LCP) scores. Converting photographic PNGs to JPG at 85% quality is often the single largest quick-win in a web performance audit.
- Email delivery. Email clients impose strict limits on total message size — often 10–25 MB including attachments and inline images. PNG images in HTML email templates dramatically inflate message size. Converting to JPG keeps emails within limits and improves inbox deliverability.
- Platform upload requirements. Many social media platforms, CMS systems, and business tools either require JPG format or apply their own aggressive JPG re-compression on upload. Converting yourself first at a controlled quality setting means you control the final output quality rather than accepting the platform's defaults.
- Storage reduction. If you have thousands of PNG photos from a DSLR, photo editing workflow, or screen capture library, converting to JPG at 90% quality reduces storage requirements by 70–85% while maintaining visual quality adequate for archival review purposes.
When NOT to Convert PNG to JPG
Do not convert PNG to JPG in these situations:
- Logos with transparent backgrounds. JPG cannot store transparency. A logo PNG converted to JPG will have a white (or other fill colour) background, making it unusable on coloured backgrounds or dark-mode designs.
- Screenshots containing text. JPG compression creates subtle blurring and colour banding around sharp edges — a phenomenon called "ringing artefacts." These are especially visible around text, code snippets, and UI chrome. For screenshots, PNG or WebP lossless mode always produces superior results.
- Images you plan to re-edit. Each time you open and re-save a JPG, the lossy compression degrades it slightly. If the image will be edited, annotated, composited, or otherwise modified before its final use, keep it in PNG (or TIFF for print) until the final export step.
- Flat-colour illustrations. Vector-style art with large uniform areas of colour compresses extremely well as PNG. The same image as JPG may actually be larger because JPG's DCT encoding handles flat areas poorly, introducing visible artefacts at any quality level below ~95%.
PNG vs JPG: Format Comparison
| Property | PNG | JPG |
|---|---|---|
| Compression | Lossless | Lossy (DCT-based) |
| Transparency | Full RGBA alpha channel | Not supported |
| Best content type | Logos, screenshots, line art | Photographs, gradients |
| Typical photo file size | 3–10 MB | 300 KB–1 MB at 85% |
| Re-save degradation | None | Accumulates with each save |
| Text sharpness | Perfect | Artefacts around edges |
| Browser support | Universal | Universal |
| Metadata support | Limited (tEXt chunks) | Full EXIF/IPTC/XMP |
Understanding Quality Settings
JPG quality settings range from 1 (maximum compression, severe artefacts) to 100 (near-lossless, minimal compression). The quality parameter controls how aggressively the DCT quantisation tables discard high-frequency information.
In practice, the useful range for most applications is 70–95%:
- 95–100%: Near-lossless. Suitable for print production and master files. Files are 2–5× larger than 85% with little visible benefit for screen viewing.
- 85–90%: The standard web range. Visually indistinguishable from lossless for photographic content in most browsers and viewing conditions. Strongly recommended as the default.
- 75–84%: Acceptable for thumbnails, secondary images, and bandwidth-constrained environments. Minor artefacts become visible on close inspection of detailed areas.
- Below 70%: Compression artefacts become clearly visible — blocky areas, colour banding, and ringing around edges. Avoid for primary images.
The PNG to JPG Converter defaults to 85% and allows adjustment from 1–100%. For most uses, the default is optimal.
Handling Transparency
PNG files can have four types of pixels: fully opaque, fully transparent, and any degree of semi-transparency in between. JPG can only represent fully opaque pixels.
When the converter draws a PNG to canvas before encoding, it first fills the canvas with a white background. All transparent and semi-transparent PNG pixels are composited over this white fill. The resulting JPG shows white where the original was transparent.
If you need a different background colour, you would need to preprocess the image before dropping it into the converter, or use an image editor to flatten the PNG against your desired background colour first.
If preserving transparency is important, consider converting to WebP instead — WebP supports full alpha transparency, achieves better compression than JPG at equivalent quality, and is supported by all modern browsers.
Conversion Methods
Browser-Based (No Installation)
The PNG to JPG Converter on this site handles everything client-side using the HTML5 Canvas API. Drop your PNG files, set quality, click convert, and download JPG files. No account, no upload, no file size limits — processing happens entirely in your browser.
Photoshop / Lightroom (Desktop)
File → Export → Export As (Photoshop) or File → Export → Export with Preset → JPEG (Lightroom). Both offer full quality control and allow setting background fill colour for transparent layers. Best for professional production workflows.
GIMP (Free Desktop)
File → Export As → change extension to .jpg. GIMP displays a JPG export dialog with quality slider. Transparent layers are flattened against white by default. Free, cross-platform, suitable for occasional use.
ImageMagick (Command Line)
For bulk conversion: mogrify -format jpg -quality 85 *.png. Preserves directory structure and is scriptable for large batch operations. Requires ImageMagick installation.
Understanding File Size Reduction
The actual file size reduction from PNG to JPG depends heavily on image content:
- Photographs of natural scenes: 75–90% smaller. Complex textures, gradients, and organic shapes are exactly what JPG's perceptual compression optimises for.
- Product photos on white backgrounds: 60–80% smaller. Straightforward reduction in file size with minimal visible quality change.
- Screenshots and UI images: 20–50% smaller, but with visible quality degradation around text and sharp edges. Often not worth the conversion.
- Logos and flat-colour art: May be comparable in size or even larger as JPG, with visible artefacts. Do not convert these.
