PNG to JPG and JPG to PNG: When to Convert and How
When converting PNG to JPG makes sense, when JPG to PNG does, and how to do both on Windows, Mac, a phone or in your browser without uploading your images.

PNG to JPG and JPG to PNG solve opposite problems. One makes a file smaller so it fits an upload limit. The other keeps an image from getting worse while you edit it, or satisfies a form that only takes PNG. Pick the wrong direction and you can lose a transparent background or turn a small photo into a huge one, so it’s worth knowing what each conversion does before you click.
Quick answer: Convert PNG to JPG when the image is a photo and you need a smaller file; transparent areas turn solid (white in ResizeAny). Convert JPG to PNG when a form demands PNG or you’ll edit and re-save the image many times; it won’t restore lost detail and the file gets bigger. Both run in your browser with ResizeAny’s PNG to JPG and JPG to PNG converters.
PNG vs JPG: what actually differs
PNG is a lossless format, now in its third edition as a W3C specification. The spec defines lossless compression as one that lets the original data be rebuilt exactly, bit for bit, and the format supports an optional alpha channel for transparency. JPG (or JPEG, same thing) is lossy: it throws away fine detail people rarely notice, which is why photos come out so small.
MDN’s image format guide puts the split simply: JPEG for photographs, PNG for screenshots, diagrams and line art, and PNG whenever an image needs transparency, because JPEG has no alpha channel. Microsoft’s help on saving pictures in Office agrees: JPEG for pictures with many colours, PNG for graphics with transparent parts.
| PNG | JPG / JPEG | |
|---|---|---|
| Compression | Lossless (exact pixels) | Lossy (drops fine detail) |
| Transparency | Yes, full alpha channel | No |
| Best for | Screenshots, text, logos, line art | Photos |
| File size for a photo | Large | Small |
| Quality after many re-saves | Unchanged | Drops a little each time |
| Quality setting | None | Yes |
When to convert PNG to JPG
The usual reason is size. A photo saved as PNG keeps every grain of noise exactly, and that takes a lot of bytes. A screenshot of a photo or an export from an app that defaults to PNG can easily be too big for an email or a job portal.
Convert when:
- the image is a photo or has lots of gradients and texture
- a form lists only JPG or JPEG
- you need the file under a KB or MB limit
- there’s no transparency you care about
Leave screenshots of text, charts and logos as PNG unless something forces you. JPG smudges sharp edges, and since PNG already packs flat colour well, the JPG may barely be smaller. Transparent logos are the other trap: JPG can’t hold transparency, so ResizeAny fills those areas with white, and a logo meant for a dark header arrives in a white box.
When to convert JPG to PNG
This direction doesn’t make anything sharper. The detail a JPG dropped when it was first saved is gone, and the PNG copies the pixels as they are now, blocky artefacts and all. Expect the file to grow, often a lot for a photo.
So why do it? Three cases come up again and again:
- A portal asks for a PNG, often for a signature or a scan. Converting meets the rule without changing how the image looks.
- You’re about to edit the image in several rounds. Every JPG save compresses again and loses a little more; a PNG working copy doesn’t.
- A chart, diagram or screenshot was saved as JPG by mistake and you want to mark it up without making it worse.
What JPG to PNG won’t do is make the background transparent. A JPG has no transparency to carry over, so a white background stays white. Removing it is a separate editing job.
How to convert in your browser, without uploading
Most online converters send your file to a server and back. Fine for a meme, less fine for a scanned ID card. ResizeAny converts the image inside your browser tab, so the file stays on your device.
- Open PNG to JPG or JPG to PNG. The editor opens with the right output format already selected.
- Drop in one file or many, or paste an image with Ctrl+V. One file can be up to 70 MB; a batch takes up to 100 files at 50 MB each.
- Leave width and height empty to keep the original pixel size.
- Press Resize, then Download. A batch downloads as one ZIP.
JPGs are saved at quality 92 out of 100. If a form caps the size, type a target such as 200 KB and the tool finds the highest quality that fits, shrinking the pixels too if it has to. The 200 KB and 100 KB presets have those limits filled in, and how we test explains how a target is reached.
PNG has no quality setting, so with PNG as the output the target size box is switched off. If a form wants a PNG under a limit, type a smaller width and leave the height empty; the file shrinks with the pixels. For a whole folder, use bulk image resize.
How to convert on Windows and Mac
On Windows, open the file in Paint and choose File > Save as, then JPEG picture or PNG picture. Use Save as, not Save, so the original isn’t overwritten.
On a Mac, open the image in Preview, choose File > Export and pick JPEG or PNG in the Format menu. Apple’s Preview guide notes that JPEG export has a quality slider, and that you can convert several files at once by opening them in one window, selecting them in the sidebar and exporting.
Fine for a couple of files, but neither has a file-size target.
On iPhone and Android
On an iPhone, the Shortcuts app has transform actions that convert content between formats; Apple’s own example is a PNG to a JPEG. It works, but building a shortcut for a one-off job is a lot of tapping.
On either phone, the browser is simpler. Open the converter in Safari or Chrome, pick the image, press Resize and download.
Renaming doesn’t convert anything
Changing photo.png to photo.jpg only edits the label. Under the PNG spec, every PNG file starts with the same 8-byte signature, with the letters “PNG” in bytes two to four, and programs that check the content see it straight away. Some apps open a renamed file anyway, so the trick seems to work until an upload gets rejected.
If your file came from a website as WebP, see how to convert WebP to JPG; iPhone photos are in the HEIC to JPG guide. For WebP and AVIF next to these two, read JPG vs PNG vs WebP vs AVIF.
And keep your original. PNG to JPG can’t give back transparency, and JPG to PNG can’t give back detail.
Frequently asked questions
How do I convert PNG to JPG for free?▼
Does converting JPG to PNG improve image quality?▼
Why is my PNG so much bigger than the JPG?▼
What happens to a transparent background when I convert PNG to JPG?▼
Will converting JPG to PNG make the background transparent?▼
Can I just rename a .png file to .jpg?▼
Written by Niks
Niks runs Nikshub, the small studio behind ResizeAny, a free image resizer that works entirely in your browser. The numbers in these guides come from the tool itself and from official sources, and you can check them with the free tools on this site.