How to Convert PNG to JPEG and Compress It Online
Convert PNG images to JPEG and shrink file size with an online compressor: what to check first, which settings matter, and how to fix transparency and quality issues.
Converting a PNG to JPEG is one of the quickest ways to make a large image smaller, especially for photos, webcam snapshots and screen captures with lots of color detail. An online converter with a compression setting can do both jobs in one pass. This guide explains what to prepare, how to run the conversion, how to judge the result and what to do when the output does not look right.
Before you start
Make sure the job actually suits the JPEG file format. JPEG uses lossy compression, which works well for photographs and camera frames but can blur sharp edges, small text and flat-color graphics. JPEG also has no transparency, so any transparent areas in your PNG will be filled with a solid color during conversion.
- Keep a copy of the original PNG. Conversion to JPEG cannot be undone, and converting the JPEG back to PNG will not restore lost detail or transparency.
- Check whether the image has transparent areas, such as a logo or a cut-out object, and decide what background color they should get.
- Note the current pixel dimensions and file size so you can compare them with the result.
- Find out how the tool handles your files. Some online compressors upload images to a remote server, while others process them inside the browser. Read the tool's own description and privacy terms, and do not assume files stay on your device or are deleted afterwards unless the service states it.
- Avoid uploading images that contain private information, such as documents, faces or screens with personal data, to a service whose file handling you cannot confirm.
Step-by-step instructions
Online converters differ in layout and wording, so the exact buttons will vary. The general procedure is the same for most of them.
- 1. Open the converter in an up-to-date browser and select or drag in your PNG file. If you need to process several images, check whether the tool supports batch uploads and any file size limits it lists.
- 2. Confirm the output format is set to JPEG (sometimes shown as JPG; both names refer to the same format).
- 3. Set the quality or compression level if the tool offers one. A higher quality value keeps more detail and produces a larger file; a lower value gives stronger compression and a smaller file with more visible artifacts. A middle-to-high setting is a reasonable starting point, then adjust after comparing results.
- 4. If your PNG has transparency, look for a background color option. White is a common choice for documents and web pages; pick whatever matches where the image will be used. If no option exists, the tool will apply its own fill color.
- 5. Leave resizing off unless you need smaller pixel dimensions. If you do resize, keep the aspect ratio locked so the image is not stretched. Reducing pixel dimensions often saves more space than lowering quality.
- 6. Run the conversion and download the JPEG. Save it under a new name so the original PNG is not overwritten.
If the result is not what you wanted, start again from the original PNG with different settings. Avoid compressing an already compressed JPEG again, because each lossy save adds further quality loss.
Check the output
- Open the downloaded file and confirm it is a JPEG by checking its extension and the file type shown in your file manager or image viewer.
- Compare the file size with the original. Photos and camera frames usually shrink noticeably; simple graphics may not, and can even grow.
- View the image at 100% zoom. Look for blockiness, color banding in gradients, and halos or smudging around text and sharp edges.
- Check the pixel dimensions. They should match the original unless you chose to resize, and the aspect ratio should be unchanged.
- Look at areas that were transparent in the PNG and make sure the fill color suits where the image will be placed.
- Compare colors with the original side by side. Some tools remove embedded color profiles or metadata, which can make colors look slightly different in certain apps.
Common problems and next steps
The transparent background turned black or white
This is expected behavior, since JPEG cannot store transparency. Convert again from the original with a background color option set, if the tool provides one. If you need to keep transparency, stay with PNG or use another format that supports it, and reduce size with a PNG compressor instead.
The JPEG is larger than the PNG
Screenshots, icons, diagrams and images with large flat areas often compress better as PNG. Try a lower quality setting or smaller pixel dimensions; if the file is still larger, keeping the PNG is usually the better choice for that image.
Text or edges look blurry
Lossy compression affects fine detail first. Raise the quality setting and convert again from the original. For images that are mostly text, such as screenshots of settings or error messages, PNG generally keeps them more readable.
The upload fails or stalls
Check the tool's stated file size and batch limits, and confirm your connection is stable. Very large images may need to be resized on your device first. Browser extensions that block scripts can also stop some converters from working.
You prefer not to upload the file
If privacy matters, use an offline image editor or the export function built into your operating system's image viewer, many of which can save a PNG as JPEG with a quality setting. This keeps the file on your device and gives you the same core choices: output format, quality level, background fill and optional resizing.