PNG to JPG
PNG to JPG
Convert PNG to JPG with background color option.
Runs entirely in your browser
How to use this tool
- Fill in the inputs.
- Read the result.
- Copy or download as needed.
About the PNG to JPG
PNG to JPG converts a PNG image into the JPEG format, with an option to choose a background color that will replace any transparency in the original image, since JPG does not support transparent pixels. Upload a PNG, pick a background color if needed, and download the converted JPG.
This conversion is commonly used to reduce file size for photographic PNG images, or to prepare a PNG graphic for a context that specifically requires or expects a JPG file, such as certain upload forms or older software.
The tool first fills an HTML canvas with your selected background color (white by default), then draws your PNG image on top of that filled background. Because the background color is applied first and underneath the image, any transparent or semi-transparent pixels in the original PNG will show through to reveal the background color you chose, rather than being converted to a jarring black or leaving a broken appearance.
The combined result — your image over the chosen background color — is then encoded as a JPG file using your browser's built-in image encoding, at a quality setting optimized for a good balance of visual fidelity and file size.
Common use cases
- Converting a PNG graphic or logo with a transparent background into a JPG with a solid background color for use on a plain-colored page or document.
- Reducing the file size of a photographic PNG image by converting it to the more space-efficient JPG format.
- Meeting an upload requirement on a platform or form that only accepts JPG files.
- Preparing a PNG screenshot for email or messaging platforms where JPG is the more common expected format.
- Flattening a PNG with transparency onto a specific background color as a deliberate design choice.
Tips and best practices
- Choose a background color that matches where the image will ultimately be displayed, so the flattened result blends in naturally rather than showing an obvious color mismatch.
- If your PNG has no transparency at all, the background color setting will have no visible effect, since there is nothing transparent for it to show through.
- Converting to JPG generally reduces file size compared to PNG, especially for photographic content, but can introduce some compression artifacts, particularly around sharp edges or text.
- If you need to preserve transparency, do not convert to JPG — keep the file as PNG or convert to WebP instead, both of which support transparent pixels.