For PNG vs JPG, the rule is simple. Use PNG for logos, icons, screenshots and any graphic with text, sharp edges or a transparent background. Use JPG for photos, where it makes files much smaller with little visible loss.
If you're unsure, ask two questions: is it a photo, and does it need transparency? A photo that doesn't need transparency should be JPG. Anything that needs transparency must be PNG (or WebP).
The short answer: when to use PNG and when to use JPG
Pick PNG if the image:
- Needs a transparent background, such as a logo on a colored website header, a product cutout or a sticker.
- Contains text, thin lines, flat colors or hard edges, such as screenshots, diagrams, UI mockups, charts and infographics.
- Will be edited and saved again several times, and you don't want quality to drop with each save.
Pick JPG if the image:
- Is a photograph or looks like one: people, products in a scene, landscapes, food.
- Needs to be small, for email attachments, web pages and upload forms with a size limit.
- Is going to an upload form that only accepts JPG or JPEG.
JPG and JPEG are the same format. The three-letter .jpg extension comes from MS-DOS and early Windows, which only allowed three-letter file extensions. Both names are still in use.
PNG vs JPG: transparency, file size and quality compared
| PNG | JPG | |
|---|---|---|
| Compression | Lossless: every pixel is kept exactly | Lossy: detail is thrown away to save space |
| Transparency | Yes, including partial (soft edges, shadows) | No, every pixel is a solid color |
| File size for photos | Large, often several times the JPG | Small |
| File size for flat graphics | Often small, sometimes smaller than JPG | Can be larger than you'd expect, with visible artifacts |
| Text and sharp edges | Stay crisp | Smudgy halos and blocks around edges, worse at low quality |
| Re-saving | No loss, however many times you save | Each save recompresses and loses a little more |
| Quality setting | No quality trade-off | You choose how much detail to give up for a smaller file |
| Color depth | Up to 16 bits per channel | 8 bits per channel in practice |
Two rows in this table matter more than they look.
JPG artifacts are worst exactly where graphics live. JPG is built for the smooth tones of photos. Run black text on a white background through it and you get faint gray speckles around each letter. A flat brand color can turn slightly blotchy. You rarely notice this on a photo, but you will on a logo or a screenshot.
PNG doesn't make a photo look better, only bigger. A photo saved as PNG keeps every pixel, including camera noise and fine texture, so the file balloons. If the photo was already a JPG, converting it to PNG keeps the JPG's artifacts and adds file size. Changing the format can't restore lost detail.
For why the two formats behave this way, see how image compression works.
Decision table by use case
| What you're saving | Use | Why |
|---|---|---|
| Logo for a website, slide or document | PNG | Keeps transparency and crisp edges. To scale it to any size, a vector file is better; see vector vs raster images |
| Icon or favicon | PNG | Small, sharp, transparent |
| Photo for a website | JPG (or WebP) | Much smaller files load faster |
| Photo to email or share | JPG | Small, and it opens everywhere |
| Screenshot, diagram, chart, infographic | PNG | Text and lines stay sharp |
| Social post with text over a flat background | PNG | Most networks recompress what you upload, so give them a clean source |
| Social post that is mostly a photo | JPG at high quality | Smaller upload, no visible difference |
| Product cutout to place on different backgrounds | PNG | Needs transparency |
| Product photo on a plain white background | JPG | No transparency needed. Check your marketplace's rules too, e.g. Amazon product image requirements |
| Image you'll keep editing | PNG | No quality loss on each save |
| Print (flyers, posters, cards) | High-quality JPG or PNG, or whatever your printer asks for | Pixel dimensions matter more than format; see DPI vs PPI |
A note on print: PNG can only store RGB or grayscale color, while JPG can also store CMYK. Picify exports RGB only. If your printer insists on CMYK files, you'll need software that exports CMYK.
What happens to transparency when you save a PNG as JPG
JPG has no transparency, so every transparent pixel has to become a solid color, usually white. Soft edges, like a drop shadow or the smoothed edge of a logo, get blended into that fill color permanently.
What this means in practice:
- A logo with a transparent background, saved as JPG, now sits in a white box. On a dark website header, that box shows.
- Converting the JPG back to PNG does not bring the transparency back. The white is now part of the image, and you'd have to remove the background again.
- If you need both versions, keep the transparent PNG as your master file and export JPG copies from it.
In Picify, this shows up in a few places:
- AI generators offer downloads as PNG ("Transparent background"), JPG ("Smaller file size", white background) and WebP. The AI Logo Generator puts logos on a white background. To get a transparent logo, click Remove BG in the edit panel first, then download as PNG. Choosing JPG puts the white back. Remove BG makes every near-white pixel transparent, so white or very light parts inside the logo disappear too. If that happens, use the editor's background removal instead. More detail in how to make a logo background transparent.
- The Image Compressor always outputs JPG and flattens transparent areas onto white. Don't run a transparent logo through it unless you want a white background.
- The editor can remove a photo's background in your browser. Export the result with File ▸ Export as ▸ PNG to keep the transparency. If you start a new project for this, choose Transparent as the background in the New Project dialog.
Where WebP fits in
WebP is a newer format that does the jobs of both PNG and JPG. It has a lossy mode for photos and a lossless mode for graphics, and both modes support transparency. Files are usually smaller than the PNG or JPG equivalent at similar quality.
Use WebP for images on your own website. Current versions of Chrome, Safari, Firefox and Edge all display it. Stick with PNG or JPG when you send files to other people or upload them to services, because some apps, older software and upload forms still don't accept WebP. If you receive a WebP that won't open somewhere, convert WebP to PNG. The full picture is in what is WebP.
How to convert between PNG and JPG
Your computer can already do this:
- Mac: open the image in Preview, choose File ▸ Export…, pick JPEG or PNG from Format, set Quality for JPEG, and click Save.
- Windows: open the image in Paint, choose File ▸ Save as, and pick JPEG or PNG.
To do it in the browser and see the file size before you download, use Picify's Image Converter. It converts between PNG, JPEG and WebP. Processing happens in your browser, and the image is not uploaded. You need a free Picify account to load an image.
- Open the Image Converter.
- Drop in or select a PNG, JPG or WebP file.
- Choose the output format: PNG, JPEG or WebP.
- For JPEG or WebP, adjust the quality slider. It starts at 85.
- Check File Size Comparison for the before and after sizes.
- Download the converted file.
For photos, a JPG quality in the high 70s or 80s is usually hard to tell from the original. If you go lower, check skies, skin and edges for blockiness. For a step-by-step walkthrough, see how to convert PNG to JPG.
The converter handles one image at a time. To turn a batch of PNGs into JPGs, use the Image Compressor. It accepts several PNG or JPEG files at once and saves each one as a JPG, with transparent areas turned white. If you actually want a smaller file and the format doesn't matter, how to reduce image file size covers resizing and compression together.
FAQ
Is PNG higher quality than JPG? PNG keeps every pixel exactly, so it never adds artifacts. But if you save a photo from the original at high JPG quality, you usually can't see the difference, and the JPG is far smaller.
Will converting a JPG to PNG improve it? No. The detail JPG discarded is gone, and the PNG just stores the damaged version, losslessly, in a bigger file. Convert to PNG only if the next step needs it, such as adding transparency or editing repeatedly.
Which format is better for Instagram and other social networks? Upload PNG for graphics with text and JPG for photos. Most networks recompress uploads, so a clean, correctly sized file gives the best result. See Instagram post size for dimensions.