How to Convert PNG to JPG
📅 June 2025 | ⏱️ 6 min read
PNG is the go-to format when image quality and transparency matter. It uses lossless compression, meaning every pixel is preserved exactly as captured or created. For screenshots, logos, graphics with text, and images that need a transparent background, PNG is unmatched.
But PNG files are large. A single high-resolution screenshot can be 5-10 MB, and a detailed graphic with many colors can be even larger. JPG uses lossy compression to drastically reduce file sizes — often by 80-90 percent — while maintaining acceptable visual quality. This makes JPG the preferred format for websites, email attachments, social media, and photo storage.
Converting PNG to JPG is straightforward, but there are important considerations around transparency, color accuracy, and quality settings. This guide covers everything you need to know.
PNG vs JPG: When to Convert
Before converting, ask yourself whether JPG is the right format for your use case. Here is a quick decision guide:
- Convert to JPG if: You are sharing photos, uploading to a website, sending via email, or storing a large collection of images. The file size savings are dramatic, and the quality loss is minimal for photographic content.
- Keep PNG if: Your image has transparency, contains sharp text or line art, requires pixel-perfect accuracy (such as screenshots of UI elements), or will be edited further and re-saved. Saving a JPG repeatedly degrades quality.
Method 1: Browser-Based PNG to JPG Converter
The simplest and most private way to convert PNG to JPG is to use a browser-based tool that processes images locally. Our PNG to JPG Converter handles the conversion entirely in your browser using the Canvas API. You can upload multiple PNG files at once, choose your preferred JPG quality level, and download the results. Nothing is uploaded to a server, so your images remain completely private.
The tool also handles the transparency issue gracefully: when a PNG with a transparent background is converted to JPG (which does not support transparency), the tool fills the background with a color of your choice — white by default.
Method 2: Using Preview on Mac
On macOS, Preview provides a quick built-in conversion path. Open the PNG in Preview, go to File > Export, choose JPEG from the format dropdown, adjust the quality slider, and save. Preview also supports batch conversion: select multiple PNG files in the Finder, open them all at once, select all thumbnails in the sidebar, and export them as JPEG in one operation.
Method 3: Using Paint on Windows
Windows Paint is surprisingly capable for basic image conversion. Open the PNG in Paint, go to File > Save As > JPEG Picture, and choose a save location. Paint strips transparency and fills it with white automatically. The quality is fixed at roughly 90 percent, which is good enough for most purposes. For batch conversion on Windows, you will need a dedicated tool or script.
Method 4: Using ImageMagick (Command Line)
ImageMagick is a powerful command-line tool for image manipulation. A simple PNG to JPG conversion looks like this:
convert input.png -background white -flatten -quality 90 output.jpg
The -background white -flatten flags handle transparency. The -quality 90 flag sets the JPG quality level. ImageMagick can batch convert entire directories with a single command using wildcards or scripting.
Understanding JPG Quality Settings
JPG quality is controlled by a single number, typically 0-100, where 100 is maximum quality (with larger file sizes) and 0 is minimum quality (with visible artifacts). Here is what each range means in practice:
- 90-100: Very high quality. Minimal compression artifacts. File size is roughly 20-30 percent of the original PNG. Best for photos you want to keep or print.
- 70-85: Good quality with significant size reduction. Artifacts are visible on close inspection but acceptable for web use. This is the sweet spot for most applications.
- 50-70: Noticeable compression artifacts. Acceptable for thumbnails, previews, and situations where file size is the top priority.
- Below 50: Heavy artifacts. Only use when file size must be minimized at all costs, such as for very slow connections or limited storage.
How to Handle Transparency in PNG
JPG does not support transparent backgrounds. When you convert a PNG with transparency to JPG, the transparent areas must be filled with a solid color. Here are your options:
- White background: The safest and most common choice. Works for logos on white websites, product photos, and most graphics.
- Custom color: If your image will be placed on a colored background, filling the transparency with that color avoids having a white box around the image.
- Keep transparency (stick with PNG): If the transparent background is essential, do not convert to JPG. Use PNG or WebP instead.
If you later need a version with transparency restored, you will need to go back to the original PNG. Converting JPG back to PNG does not restore transparency — the background color is baked into the JPG data.
Batch Converting PNG to JPG
When you have many PNG files to convert, batch processing saves significant time. Here are the best options:
- Browser tool: Our converter supports selecting and converting multiple images at once, with a ZIP download of the results.
- Mac Preview: Select all PNG files, batch export as JPEG via the sidebar thumbnails.
- ImageMagick:
mogrify -format jpg -path output/ -quality 90 *.pngconverts an entire folder. - IrfanView (Windows): A lightweight image viewer with excellent batch conversion capabilities.
Should You Use JPG or PNG for Web Images?
For website owners and bloggers, choosing between PNG and JPG can impact page load speed and user experience. Here are our recommendations:
- Photographs and gradients: Use JPG. The smaller file size improves load times without visible quality loss.
- Logos and icons: Use PNG (or SVG for vector graphics). Sharp edges and transparency are important.
- Screenshots: Use PNG for crisp text and UI elements. JPG compression blurs text edges.
- Product images: Use JPG with high-quality settings (85-90) for photos, PNG for graphics with text overlays.
After converting PNG to JPG, you can further compress images to reduce file sizes without quality loss by removing metadata and optimizing compression parameters.
Final Thoughts
Converting PNG to JPG is one of the most effective ways to reduce image file sizes for sharing, uploading, and web use. The key is choosing the right quality setting and handling transparency correctly. With modern browser-based tools, the conversion takes seconds and requires no software installation. For the reverse conversion, our JPG to PNG Converter handles that equally well.
Try our free PNG to JPG Converter →
Processes entirely in your browser. No uploads. No limits.