JPG Converter
/jpg-converter/
Related tools
Comments
About this tool
When you need a JPG converter
Plenty of upload forms still accept only JPG: government applications, ID photos for job applications, product listings on shopping sites and more. Screenshots are often saved as PNG, images saved from the web as WebP and iPhone photos as HEIC, so the format frequently does not match when you go to upload. JPG is the most compatible photo format, opening on almost every device, program and website, so once an image is a JPG it rarely gets rejected.
Read moreShow less
This converter takes several images at once in any format the browser can open, including PNG, WebP, GIF, BMP, AVIF and HEIC, turns them into JPG and shows each file's original and new size. Files are never sent to a server; everything is processed inside the browser on this device.
How JPEG compression and the conversion work
JPEG is a lossy compression format standardized in 1992, named after the Joint Photographic Experts Group that created it. It splits the image into 8×8 pixel blocks, uses the discrete cosine transform (DCT) to find the frequency components of brightness changes in each block, and trims the fine detail the eye notices least through quantization. Many encoders also exploit the fact that human eyes are more sensitive to changes in brightness than in color, storing color at reduced resolution. The quality value sets how much is trimmed: the lower it goes, the smaller the file and the more visible the block edges and smudges around text.
The conversion goes like this. The browser decodes the image you choose and draws it on a canvas; because JPG cannot store transparency, the background is painted white first. Then canvas.toBlob('image/jpeg', 0.92) produces the JPG file. The default quality of 92% matches the default Chrome and Firefox use when saving JPG, a point where the result is hard to tell from the original but the file is much smaller. Move the Quality slider anywhere from 10% to 100% and files already added are reconverted immediately.
The output file keeps its original name with only the extension changed to .jpg, so photo.png becomes photo.jpg. The original file is not overwritten and stays as it was.
Choosing JPG quality for the job
When image quality matters, as with document submissions or printing, keep the default of 92% or higher. For photos only seen on screens, such as blogs, messaging apps or secondhand marketplace listings, 75% to 85% is often indistinguishable while the file shrinks noticeably. If an upload limit is tight, reducing the pixel dimensions with the Image Resizer usually costs less visible quality than lowering the quality further.
Text heavy screenshots, tables and logos with crisp edges develop smudges around the text when converted to JPG and can even end up larger than the PNG. Unless JPG is required, these images are better left as PNG. It also helps to know that even 100% quality is not lossless.
When a submission sets both pixel dimensions and file size, as ID photo requirements often do, changing the format alone may not be enough. Convert to JPG first, lower the quality a little at a time if the file is still too large, and resize only if that is not enough; this order loses the least quality.
What to know before converting to JPG
JPG loses a little quality every time it is saved. Saving a JPG as JPG again and again stacks up the loss, so keep work in progress as PNG and convert to JPG once at the end. Converting a PNG logo with a transparent background fills the transparent parts with white, which shows up as a white box on a dark background.
Because the image is redrawn on a canvas, EXIF metadata such as the camera model, date taken and GPS location is dropped from the output. That helps remove location data, but photo apps may lose their sort by date taken. The browser reads the EXIF orientation and draws the photo the right way up, and only the first frame of an animated GIF is saved. Safari on iPhone may fail to convert images larger than about 16.77 million pixels (4096×4096), and photos taken in a wide color space may look very slightly different depending on the browser.
Popular tools
FAQ
Does converting PNG to JPG reduce quality?
Slightly, because JPG is lossy. At the default 92% quality the difference is hard to see, and the file usually gets much smaller. Screenshots with lots of text may show some smudging.
Which files can be converted to JPG?
Any image your browser can open: PNG, WebP, GIF, BMP, SVG, ICO, AVIF (Chrome, Edge, Firefox and recent Safari), and iPhone HEIC and HEIF. Only the first frame of a GIF is converted.
What happens to transparent areas?
JPG does not support transparency, so transparent areas are filled with white. To keep a transparent background, save as PNG or WebP instead.
Why is the default quality 92%?
92% is the default Chrome and Firefox use when saving JPG. It is a point where the result is nearly indistinguishable from the original while the file shrinks a lot. Photos meant for screens often look fine at 75% to 85%.
Are my images uploaded to a server?
No. All conversion happens in your browser and files are never sent to a server. Camera metadata (EXIF, location and so on) is removed from the converted files.
Can I convert several images at once?
Yes. Choose or drop multiple files and they are converted together; Download all saves them one after another.