Rather than memorizing every format's pros and cons, it's faster to start from what you're trying to do. For each common situation, this guide lists only what to save as, what to check, and where to go next. Size measurements and zoomed comparisons live in the guides linked from each situation.
Two things to check first
- Does the destination set its own rules? If an upload page says "JPG or PNG only" or "5 MB maximum", that wins over any recommendation below.
- Does the background need to be transparent? If so, JPG is out; use PNG or WebP. If the original is a JPG on white, changing the format won't make it transparent (here's why).
If neither applies, find your situation below.
By situation
An application or job site wants "200 KB or less"
- Save as: JPG. Nearly every upload form accepts it.
- Do: reduce the dimensions first, then lower the quality. Why the order matters is in Reducing Image File Size for the Web.
- Shortcut: in compress to a target size, pick the target and the quality and dimensions are adjusted automatically.
Moving iPhone photos (HEIC) to a PC or the web
- Save as: JPG. It opens right away on Windows and in most upload forms.
- Avoid PNG. A photo saved as PNG becomes several times larger with no gain in quality.
- Also check: whether the location (GPS) is embedded. Converting on this site drops it by default.
- More: What Is HEIC and Why Won't It Open?
A large lead photo on a website (banner or hero image)
- Save as: WebP. It tends to be smaller than JPG at the same quality. If very old environments matter, keep a JPG as a fallback.
- Do: first scale it to the width it's shown at (about twice that for high-density screens). That saves more than any format change.
- More: WebP vs JPG, Reducing Image File Size for the Web
Text-heavy screenshots, manual captures, tables
- Save as: PNG. If the destination accepts WebP, that works well too.
- Be careful with JPG. As quality drops, the edges of small text smear first.
- More: the zoomed text comparison in PNG vs JPG
A logo or icon used on different backgrounds
- Save as: a transparent PNG. If the logo's original SVG (vector) file exists, that's best of all.
- If all you have is a JPG on white: format conversion won't make it transparent. Get the original again or run a separate background removal (Why a JPG's White Background Stays White in PNG).
- Thinking of PNG to SVG? It's only worthwhile for logos with few colors and clean edges (Converting PNG to SVG).
A website favicon or app icon
- Save as: a
favicon.icoalongside 180, 192 and 512 px PNGs is a common setup. - Shortcut: the favicon and app icon generator builds the files and the HTML tags from one image.
- More: How to Make a Favicon
Game assets (sprites, UI, sets of logos)
- Save as: PNG, for transparency and crisp edges. Large backgrounds that need no transparency can be JPG.
- Size: bring a set to one consistent size (Unifying Image Sizes for Games). Tiled or compressed textures have extra size rules (Do Game Textures Have to Be a Power of Two?).
- Pixel art: ordinary scaling blurs the edges. Scale by whole multiples in the pixel art upscaler.
- Sprite sheets: sprite sheet splitter and packer
Sending photos by messenger or email
- Save as: JPG. It opens on whatever device the recipient uses. WebP or HEIC may not open on their side.
A file named .jpg that won't open
- The name (extension) and the real format may differ. How to check the real format from a file's first bytes is in Does Renaming the Extension Change the Format? This site's converter reads the real format even when the extension is wrong.
An original you'll edit again later
- Save as: a lossless format such as PNG, or keep the original you received.
- Opening a JPG, editing it and saving it as JPG again costs quality each time. Keep the original separate and export only the finished result in the format you need.
Choices that are usually worse
- BMP: uncompressed, so files are very large. Use it only when old equipment requires it.
- GIF for photos: limited to 256 colors, so photos turn grainy.
- JPG to PNG to improve quality: lost information doesn't come back; only the file size grows.
If you're still unsure, convert to each candidate format once. The result screen shows the size before and after side by side, and you can convert again to another format right away. Each format is summarized on the Image formats compared page.
Convert PNG to JPG