PNG to JPG
Convert PNG to JPG in your browser. Free, private, no upload. Shrinks big PNGs into email-friendly, uploadable JPGs.
About this tool
PNG screenshots and exports are often many times larger than they need to be for sharing. Converting PNG to JPG shrinks them dramatically, at a quality level that is indistinguishable for photos and screenshots. This tool does it locally in your browser.
Transparency, which JPG does not support, is flattened onto a white background. If your PNG relies on a transparent background, keep it as PNG or convert to WebP instead.
Common uses
- Shrink a huge PNG screenshot so it fits an email attachment limit
- Meet an upload form's JPG-only requirement
- Reduce a batch of camera scans or exports before archiving
Automate via API
The same conversion is available as a REST endpoint for scripts, pipelines, and backends. POST the file, get the converted file back:
curl -X POST https://formatably.com/api/v1/tools/png-to-jpg \ -H "X-Api-Key: YOUR_API_KEY" \ --data-binary @photo.png \ -o photo.jpg
Direct requests accept up to 4 MB; the large-file flow handles up to 100 MB. Both are covered in the API documentation · Get an API key
PNG notes
PNG is the lossless workhorse: screenshots, logos, UI graphics, and anything needing transparency. Every device and program on earth opens it. The tradeoff is size: photos stored as PNG are several times larger than JPEG.
- PNG is lossless, so converting into PNG never loses quality, but converting a photo to PNG can triple its size.
- Transparency is preserved in PNG; JPG has no transparency at all.
JPG notes
JPG (JPEG) is the universal photo format: every camera, phone, website, printer, and government upload form accepts it. It compresses photos well but does not support transparency, and each re-save loses a little quality.
- JPG has no transparency; transparent areas are filled with white during conversion.
- JPG is lossy: converting into it trades a small amount of quality for compatibility and size.
Frequently asked questions
How much smaller will the JPG be?
For screenshots and photos, typically 3-10x smaller than the PNG. Flat graphics with few colors compress less dramatically, and for those PNG is often already the better format.
What happens to a transparent background?
JPG has no transparency, so transparent areas are flattened onto white. If the transparent background is the point of the image, convert to WebP instead, which keeps transparency and is still much smaller than PNG.
Are my files uploaded to a server?
No. The conversion runs entirely in your browser using WebAssembly and the canvas API; your files never leave your device. There are no ads and no trackers on tool pages. You can verify this yourself: open your browser's developer tools, watch the Network tab while converting, and you will see no upload requests. It even works offline once the page has loaded.
Is there a file size limit?
In the browser there is no hard limit; you are bounded only by your device's memory, and files of a few hundred megabytes are usually fine. The REST API accepts files up to 4 MB in a direct request, or up to 100 MB using the large-file upload flow described in the API docs.
Related tools
Convert JFIF files to JPG instantly in your browser, zero quality loss. Free and private; fixes web-saved images Windows names .jfif.
Rename JPEG files to JPG with zero quality loss, right in your browser. Free and private; satisfies uploaders that insist on .jpg.
Convert iPhone HEIC photos to JPG in your browser. Free, private, no upload: files never leave your device. Batch convert supported.
Convert WebP images to JPG instantly in your browser. Free, private, no upload. Fixes images saved from the web that won't open.