How to Convert PNG to JPG — Transparency, Quality Settings, and When It's Right

PNG to JPG is the conversion you make when file size matters more than lossless fidelity. A photographic PNG at 2 MB becomes a 200–400 KB JPG — a dramatic reduction that makes a real difference for email attachments, social media uploads, and website performance. But the conversion has two important consequences most people overlook: transparency becomes a solid background, and quality loss is permanent and determined by the quality setting you choose.

This guide explains exactly what happens to transparent pixels, how to set quality correctly (it matters more than people think), and covers every scenario where PNG to JPG is the right decision.

Convert PNG to JPG — Free, No Upload

Convert PNG to JPG in your browser. No server, no signup, no file size limit.

Quick answer: Converting PNG to JPG trades lossless quality for smaller file size — JPEG is typically 60–80% smaller for photographs. Use Convertlo's PNG to JPG converter to convert in-browser. Note: any transparent areas in the PNG will be filled with a solid background (white by default).

The Transparency Problem: What Happens to Transparent PNG Pixels

JPG does not have an alpha channel. Every pixel in a JPG must be a solid, opaque color. When you convert a transparent PNG to JPG, the encoder needs to decide what color to put in the transparent areas. This is called alpha compositing.

Most converters default to filling transparent areas with white (#FFFFFF). This is usually the right choice for:

  • Product photos on white backgrounds (e-commerce, Amazon listings)
  • Documents and presentations with white page backgrounds
  • Email images where white matches the email background

White is wrong for:

  • Dark-themed websites where the image will sit on a dark background
  • Logos designed for colored backgrounds
  • Social media posts with a specific brand color background

If you need a specific background color, use a tool that lets you set it: Photoshop (flatten with custom background layer), GIMP (Script-Fu or set background color before flattening), or ImageMagick with the -background flag.

When Transparency Is Not an Issue

If your PNG has no transparent pixels (opacity: 100% everywhere), the background fill is irrelevant — the conversion is a straightforward lossless-to-lossy encode of the visible pixels. Most photographic PNGs fall into this category.

Quality Setting — Why It Matters More Than People Think

When converting PNG to JPG, the quality setting is the single most important parameter. Unlike a PNG-to-PNG conversion (which has no quality variable), PNG-to-JPG is a lossy encode, and the quality number controls how aggressively the encoder discards pixel data.

Quality 95–100

Essentially lossless — artifacts invisible even at 400% zoom. File is nearly as large as source PNG. Avoid for web use. Only for print-quality archival where you must use JPG format.

Quality 85–92

Excellent for product photos, portfolio images, editorial content. Artifacts invisible at normal viewing. 60–75% smaller than PNG. Recommended for high-importance images.

Quality 80–84

The sweet spot for most web use. 75–85% smaller than PNG. Visible only under close inspection at 200%+ zoom. Best balance of quality and size.

Quality 70–79

Aggressive compression. Fine for thumbnails and small images. Artifacts visible on close inspection for large images. 80–88% smaller than PNG.

Quality below 70

Visible artifacts on most images. Blockiness appears at 8×8 grid boundaries. Acceptable only for very small thumbnails or heavily cached preview images.

The most common mistake: Using quality 100 thinking it means "best." At quality 100, JPG is still lossy — and the file size is nearly as large as the lossless PNG source. You pay almost all the cost with minimal benefit. For web-optimized JPGs, quality 82–85 is almost always the right starting point.

When PNG to JPG Is the Right Move

Use CaseConvert to JPG?Reason
Email attachment (photograph)YesJPG is 5–10x smaller; email has file size limits; no transparency needed
Social media post (photo)YesPlatforms re-compress anyway; starting with JPG gives better control
Website hero image (photo)Consider WebP insteadWebP is 25–34% smaller than JPG at same quality — even better
Logo with transparencyNoTransparency lost; use SVG or PNG for logos
Screenshot with textNoJPG degrades text clarity with blocking artifacts; use PNG
Print-quality photo archiveNoKeep PNG or TIFF for archival; JPG is lossy even at quality 95
WhatsApp / Telegram photo shareYesApps re-compress images anyway; JPG starts at smaller size

Method 1: Convertlo — Free Browser Tool

1
Convertlo — Instant PNG to JPG, Adjustable Quality
Recommended
  1. Open convertlo.pro/png-to-jpg.html.
  2. Drag and drop your PNG files. Transparent PNGs are supported — transparent areas will be filled with white.
  3. Adjust the Quality slider. Default is 82 — a good starting point for most images.
  4. Click Convert to JPG. Everything runs in your browser.
  5. Download the converted JPG files.

Batch mode: drop multiple PNGs at once for parallel conversion. Works on all platforms including iPhone Safari and Android Chrome.

Method 2: ImageMagick — Custom Background Color

2
ImageMagick — Custom Background, Batch, Scripting
Command Line
  1. Install ImageMagick: brew install imagemagick (macOS) or sudo apt install imagemagick (Linux).
  2. Use the convert command with -background and -flatten to control the transparency fill.
# Basic PNG to JPG (transparent areas become white)
convert input.png -background white -flatten -quality 82 output.jpg

# Custom background color (hex)
convert input.png -background '#1a1a2e' -flatten -quality 82 output.jpg

# Batch: all PNGs in folder with quality 82
for f in *.png; do
  convert "$f" -background white -flatten -quality 82 "${f%.png}.jpg"
done

# Python Pillow: convert with custom background
from PIL import Image
img = Image.open("input.png").convert("RGBA")
bg = Image.new("RGB", img.size, (255, 255, 255))  # white bg
bg.paste(img, mask=img.split()[3])  # use alpha as mask
bg.save("output.jpg", "JPEG", quality=82)

Method 3: Photoshop — Control Every Aspect

3
Photoshop — Full Control Over Background and Quality
  1. Open your PNG in Photoshop.
  2. If the PNG has transparency, create a new solid color layer below the image layer (Layer → New Fill Layer → Solid Color). Choose your background color.
  3. Flatten the image: Layer → Flatten Image. This composites the transparent areas against your chosen background.
  4. Go to File → Export → Export As…
  5. Select JPEG from the Format dropdown. Adjust the Quality slider.
  6. Click Export All and save.

Photoshop's "Save for Web" (Shift+Ctrl+Alt+S) gives an even more detailed view — it shows the exact file size at each quality setting and lets you compare the output in a split-screen preview alongside the original.

Convert PNG to JPG Right Now

Free, no upload, adjustable quality. Or convert to WebP for even smaller files.

Frequently Asked Questions

What happens to transparency when converting PNG to JPG?
Transparent areas in the PNG become opaque in the JPG — usually filled with white. This is because JPG does not support an alpha channel; every pixel must have a solid color. Most converters default to a white background. If you need a different background color, use ImageMagick with the -background flag, Photoshop (flatten with a custom background layer), or GIMP (set background color before flattening).
What quality setting should I use for PNG to JPG?
For most photographic PNGs, quality 82–85 gives excellent results — visually indistinguishable from lossless while achieving 60–80% file size reduction vs PNG. For product images where fine detail matters, use quality 88–92. Avoid quality 100 for web use — file size is nearly as large as PNG with no visible benefit. For small thumbnails, quality 70–75 is acceptable and saves the most space.
Does converting PNG to JPG lose quality?
Yes — JPG is a lossy format. Converting from lossless PNG to JPG always involves some quality loss. At high quality settings (85+) the loss is imperceptible to most people, but it is permanent and irreversible. The key is to keep the original PNG as your master file and use the JPG only for delivery. Never delete your PNG original after converting to JPG.
Why is my PNG so much larger than the JPG?
PNG uses lossless compression — it stores every pixel without discarding data. JPG uses lossy compression that achieves much smaller files by permanently discarding visual data that is hard for human eyes to detect. A photographic PNG at 2 MB might become 200–400 KB as JPG at quality 82 — a 5–10x reduction. For non-photographic images (logos, screenshots), PNG's lossless compression is more efficient and the size difference is smaller.
Can I change the background color when converting PNG to JPG?
Yes — but not all converters support this. Tools like Photoshop, GIMP, and ImageMagick let you specify the background fill color before exporting. In ImageMagick: use convert input.png -background '#FF0000' -flatten output.jpg for a red background. In Photoshop: create a solid color fill layer below your image layer, flatten, then export as JPG. In GIMP: set the background color in the toolbox, then use Image → Flatten Image before exporting.