Formats guide
JPG, PNG or WebP? Choose an image format
Use JPG for photos that need to be small and widely compatible, PNG for screenshots, logos and lossless transparency, and WebP when you want small web images that can keep transparency.
A good image format fits the content and the place you will use it. A photograph, a logo with a transparent edge and a screenshot with small text have different needs. Changing an extension does not convert a file; the pixels must be encoded into the new format.
| Format | Useful for | Transparency | Quality control here |
|---|---|---|---|
| JPG | Photographs and widely compatible downloads | No; transparent areas become white | Lossy quality slider |
| PNG | Logos, screenshots and lossless transparent images | Yes | Lossless; slider has no effect |
| WebP | Compact web images and transparent graphics | Yes | Lossy quality slider |
MDN sums up the same split: JPEG is a lossy format that suits photographs, while PNG is lossless, supports full transparency and is better for screenshots, diagrams and line art (MDN). WebP can be lossy or lossless, and both kinds can keep transparency (Google).
When a photograph needs to be smaller
First match its dimensions to the intended use. A full-resolution camera image is often unnecessary for a small website card. Then compare JPG and WebP at a moderate quality setting. Google reports that lossy WebP images are 25 to 34% smaller than comparable JPEGs (Google), though the saving depends on the picture. Lower quality can save space, but examine skin, gradients, text and fine edges for visible artifacts.
The image compressor reports the actual output size after export. A smaller original or a high-quality conversion can produce a larger file, so a percentage reduction is not guaranteed.
When transparent edges matter
Use PNG or WebP for a cutout, a rounded corner or a logo that should sit directly on a background. A checkerboard in the editor indicates empty pixels. It is not a texture in the exported image. JPG fills those pixels with white because it has no alpha channel (MDN). GIF can mark one color as fully transparent, but it has no partly see-through pixels, so soft edges look jagged on a new background (MDN).
What about AVIF?
Some pictures you save from the web arrive as .avif files, because websites can send AVIF to browsers that list it among the formats they accept (MDN). AVIF is a newer format that stores photos in much smaller files than JPG, can keep transparency, and opens in current Chrome, Edge, Firefox and Safari (MDN). Many other apps and upload forms still refuse it. When one does, make a copy with AVIF to JPG for photos, or AVIF to PNG for logos and anything with a clear background. The editors here open AVIF but save JPG, PNG or WebP.
What about HEIC?
Photos from an iPhone often arrive as .heic files. HEIC is the format Apple devices use when the camera is set to High Efficiency, and iPhone 7 and later models capture photos that way (Apple). Safari opens HEIC from version 17 (WebKit), while Chrome, Edge and Firefox still cannot show it (caniuse), so many upload forms refuse it. Make a copy with HEIC to JPG for sharing and uploads, or HEIC to PNG for editing without further compression loss.
Which format for an upload form
Use JPG unless the form lists something else. The bank, exam and visa forms in our guide on how to reduce a photo's size in KB that name a format all ask for JPG or JPEG, and most of them also set a size limit in KB and a pixel size. A PNG photo is usually far too large for those limits, and WebP, AVIF and HEIC files are often refused outright, so convert a copy before you upload.
Which format for printing
For a print, the number of pixels matters more than the format. Adobe recommends 300 PPI for print (Adobe), so a 4 x 6 inch print needs 1200 x 1800 pixels; our guide on what DPI means has the numbers for other sizes. Then send a high-quality JPG or a PNG, or TIFF if the printer or designer asks for it: MDN notes that TIFF files are commonly provided for photos and artwork meant for precision editing or printing, although browsers other than Safari do not display them (MDN).
What conversion cannot restore
Saving a compressed JPG as PNG does not recover details already lost. Resizing a small picture to a large one does not create real detail either: GIMP's manual says enlarging an image fills in the missing pixels by interpolation but does not add any new detail (GIMP). Keep a copy of the best original and make new exports for different uses.
Questions
Is JPG or PNG better?
JPG for photos, PNG for screenshots, logos and anything that needs a transparent background. MDN describes JPEG as a lossy format that suits photographs, and PNG as a lossless format with full alpha transparency, better for screenshots, diagrams and line art. A photo saved as PNG is usually far larger than the same photo as a JPG, so keep photos as JPG unless you need every pixel exactly.
Is WebP better than JPG?
For file size, usually yes: Google says lossy WebP images are 25 to 34% smaller than comparable JPEGs, and WebP can also keep transparency. Chrome, Safari, Firefox and Edge all open it. JPG is still the safer choice for upload forms, email and older software, because many forms accept only JPG or JPEG. Convert a copy with WebP to JPG when a site refuses WebP.
What is an AVIF file?
AVIF is a newer image format that stores photos in much smaller files than JPG; MDN puts lossy AVIF at around 50% smaller than JPEG. It can keep transparency and hold animation, and it opens in current Chrome, Edge, Firefox, Opera and Safari. Many apps and upload forms still refuse it, so make a copy with AVIF to JPG or AVIF to PNG when you need one.
How do I change a HEIC photo to JPG?
Open HEIC to JPG and add the photos: they are converted in your browser, up to 50 at a time, and not uploaded. To stop an iPhone making HEIC files, Apple's setting is Settings > Camera > Formats > Most Compatible, which saves new photos as JPEG. Renaming a .heic file to .jpg does not convert it.
Which image format is best for printing?
The pixel count matters more than the format. At 300 PPI, which Adobe recommends for the best print quality, a 4 x 6 inch print needs 1200 x 1800 pixels. Send the printer a high-quality JPG or a PNG unless it asks for something else, and TIFF when a printer or designer requests it: MDN notes that TIFF files are commonly provided for photos meant for precision editing or printing.
Which image formats keep a transparent background?
PNG, WebP, AVIF and GIF can store transparency; JPG cannot, because it has no alpha channel. GIF pixels are either fully clear or fully solid, while PNG, WebP and AVIF have a full alpha channel, so they also keep soft, partly see-through edges. When you convert a transparent PNG to JPG with our PNG to JPG tool, the clear areas become white.
Does converting a JPG to PNG improve its quality?
No. A PNG stores the pixels it is given without adding new loss, but it cannot bring back detail the JPG already dropped, and the file usually gets bigger. Keep your best original and make each new copy from that.
Sources
Steps were checked against official help pages on 9 November 2026. Menus change, so tell us if something moved.
- Image file type and format guide (MDN)
- List of default Accept values: values for an image (MDN)
- An image format for the Web: WebP (Google for Developers)
- Using HEIF or HEVC media on Apple devices (Apple Support, December 5, 2025)
- WebKit features in Safari 17.0: HEIC support (WebKit)
- HEIF/HEIC image format browser support (caniuse)
- Resize images in Photoshop: 300 PPI for print (Adobe Help, updated February 23, 2026)
- Scale Image: enlarging adds no new detail (GIMP 3.0 documentation)
Free tools for this
Related guides
Backgrounds guide
Remove a simple image background without AI
Learn how color selection, connected-area removal, tolerance and an erase brush can create a transparent cutout from a plain background.
Decision guide
Can you uncrop a photo?
Yes, if the app kept the original. Undo steps for iPhone, Mac, Google Photos, Samsung, Windows, Word and Canva, plus what to try when Revert is missing.