100% local processing — your files and data never leave this browser. No uploads, no server storage.

OnboxTools

Free · Browser-only · No upload

PNG to JPG Converter

Convert PNG to JPEG with a custom background color

PNG is excellent for transparency but heavy for photos. Convert PNG files to JPG to shrink size for web galleries, email, and CMS uploads.

Choose a background color to replace transparent areas — white is common, but any hex value works. Adjust JPEG quality before downloading. All conversion happens in your browser.

Conversion controls

Input PNG

Drag & Drop PNG or Click to Import

Result JPG

Upload a PNG to convert

Input Size0.0 KB
Output Size0.0 KB
Space Saved0%
Dimensions0x0

More Image Tools

🖼️
Base64 to Image
🎨
Color Format
🎨
Color Picker
🖼️
Data URI to Image
🖼️
Image Compressor
🖼️
Image Resizer
🧬
Image to Base64
🔗
Image to Data URI
🖼️
JPEG to WebP
🖼️
JPG to PNG
🔄
PNG to GIF
🔄
PNG to JPG
PNG Transparency Creator
🖼️
SVG to PNG
🔄
WebP to PNG

Browse by category

Conversion example

A 2.1 MB PNG product photo with no transparency converts to roughly 280 KB JPG at quality 85 on a white background — about 87% smaller with no visible loss at 800 px display width.

A logo PNG with partial transparency on a #ffffff background may show a faint gray fringe if the logo was anti-aliased against gray. Retry with #f5f5f5 or the site's actual background color.

PNG vs JPG at a glance

FromToResult
PNGTransparencyYes (alpha)
JPGTransparencyNo
PNGPhotosLarge files
JPGPhotosSmall files
PNGText/UISharp edges

Complete guide to converting PNG to JPG

Why convert PNG to JPG

PNG uses lossless compression, which preserves every pixel — including full alpha transparency. That fidelity comes at a cost: photographic PNGs are often several times larger than equivalent JPEGs. When transparency is not needed, JPG is the pragmatic choice for faster loads and smaller storage footprints.

Many legacy systems and print workflows expect JPEG input. Converting PNG to JPG bridges that gap without installing desktop software. You control quality and background fill at export time.

Teams often keep PNG masters for design while shipping JPG derivatives to production. That split preserves editability in source files while pages load faster for visitors. When you convert a batch of similar shots, one background color and quality preset keeps the catalog consistent without reopening desktop software for every file.

Handling transparency during conversion

JPEG has no alpha channel. Transparent pixels must be composited onto a solid background before encoding. The default white background suits documents and product photos on light-themed sites. Dark themes may need #1a1a1a or a brand color instead.

Semi-transparent edges — common in soft shadows and anti-aliased icons — blend with the chosen background. Preview the result before downloading. If halos appear around a subject, the original may have been saved against a different color; try matching that color.

Edge pixels that were partially transparent in the PNG blend with your matte during flattening. A faint gray fringe on a white page usually means the asset was exported against gray, not pure white. Sampling the backdrop from a screenshot of the live page prevents surprises after the JPG is deployed.

Dark-mode sites should preview JPG exports on a charcoal swatch before publish, not only on the white matte used during conversion.

Quality settings for JPG output

The quality slider maps directly to JPEG compression strength. High values preserve detail but increase size. For web photos converted from PNG, 80–90 is a sensible range. For thumbnails or placeholders, 65–75 may suffice.

Flat graphics with sharp edges originally saved as PNG may show compression artifacts at lower qualities. If the image is more illustration than photograph, consider keeping PNG or switching to WebP instead of aggressive JPEG.

Upload limits and email caps often specify a maximum file size, not a quality number. After you find a setting that looks good in preview, check the exported kilobytes against your limit. If you are still over, lower quality slightly or resize first rather than accepting heavy banding at the minimum setting.

When PNG is still the better format

Keep PNG when you need transparency — logos on variable backgrounds, overlay icons, or cut-out product shots. Keep PNG for screenshots with text where lossless edges matter. Convert to JPG when the image is opaque, photographic, and size-sensitive.

Animated PNGs and images with more than 256 distinct colors in small areas also favor PNG or WebP over JPEG.

Charts, diagrams, and screenshots with small type survive best when edges stay lossless. Converting those assets to JPG can blur lettering and add fringing along diagonal lines. If the image is mostly flat color and sharp edges rather than continuous tone, PNG or WebP usually outweighs JPEG size savings.

Screenshot PNGs with UI text rarely benefit from JPG conversion unless file size is critical and transparency is already absent.

Browser-based conversion workflow

Upload or drop your PNG. The tool draws it onto a canvas, fills the background color, flattens transparency, and encodes JPEG. File size statistics compare original and result so you can judge savings immediately.

Because nothing uploads to a server, you can convert client assets under NDA or personal photos without privacy concerns. Processing speed depends on image dimensions and your device.

Decoding and encoding run entirely in your browser, so nothing is queued remotely and no account is required. That suits unreleased product shots, internal mockups, and personal images you would not upload elsewhere. Close the tab when finished; the in-memory copy is discarded with the session.

Tablet and phone browsers use the same local canvas pipeline, so field edits on a shoot do not require a desktop app.

Tips for batch and production use

Document the background color and quality you used for a project so exports stay consistent. If multiple PNGs share the same transparency treatment, apply identical settings to each.

After conversion, run a quick visual check at the intended display size. Compression artifacts that are invisible at 100% zoom may appear on large retina screens.

For a set of similar shots, note the background hex, quality value, and resulting file size in a short checklist. Reuse those settings on the rest of the batch so thumbnails and detail views match. After deploy, spot-check one image at real display width on phone and desktop, not only at full zoom in the editor.

Store the original PNGs in a separate folder from exported JPGs so future edits do not overwrite masters by mistake.

Detailed guide

Picking the right background color

Match the page background where the image will appear. E-commerce sites on white cards should use #ffffff. Dark mode layouts need a dark fill to avoid light halos around subjects.

Avoiding visible fringes

Fringes often mean the PNG was exported against a different color. Sample the original backdrop or test two or three nearby hex values. Slightly lower JPEG quality rarely fixes fringe issues — background color does.

Common questions

PNG to JPG FAQ

Is the PNG to JPG converter private?

Yes. Everything runs in your browser. Your input is not uploaded, logged, or stored on our servers.

Do I need an account?

No account or sign-up is required. Open the page and start using the tool immediately.

What happens to transparent areas?

They are filled with the background color you select before JPEG encoding. JPEG cannot store transparency.

Can I convert JPG to PNG with this tool?

No — this tool accepts PNG input and outputs JPEG. Click the JPG to PNG link on this page to open the reverse converter.

Will conversion reduce image dimensions?

No. Width and height stay the same. Only format and compression change.

Why is my JPG still large?

High quality settings and large pixel dimensions both increase size. Lower quality or resize first if you need a smaller file.