A JPG is a small, lossy image: it already threw away detail when it was first saved. A PNG is lossless, so it stores every pixel it is given exactly and can hold transparency. Converting JPG to PNG moves your image from a lossy format into a lossless one.
The important thing to understand before you start is what this can and cannot do. It cannot make the picture better. It can give you a clean, lossless working copy and unlock transparency, which is why people do it despite the larger file. This guide explains exactly what happens to the pixels, why the two formats behave so differently, and when the swap is genuinely worth making.
What converting JPG to PNG actually does
PNG faithfully records whatever pixels it receives. When those pixels come from a JPG, PNG records the JPG's already-compressed result, including any softness or blocky artifacts baked in when the JPG was made. From this point forward the image is lossless: further edits and saves will not add more compression damage. But the detail JPG discarded is gone, and PNG cannot bring it back.
Because PNG stores everything without JPG's aggressive compression, the resulting file is usually larger than the JPG you started with, sometimes several times larger for a photograph. That is expected and not a sign of anything going wrong. The conversion is best thought of as a change of storage strategy, not a change of quality: you are moving the same picture out of a lossy container and into a lossless one that will hold it steady from now on.
Do not expect a quality gain. PNG cannot recover detail the JPG already discarded, and the PNG will typically be bigger, not smaller.
JPG and PNG: two opposite design goals
These two formats were built to solve different problems, and that is the root of everything the conversion does. JPG, defined by the JPEG standard (ISO/IEC 10918) and wrapped in the common JFIF file structure, is a lossy photographic format.[1][2] It compresses by transforming the image into frequency information with a discrete cosine transform, then deliberately discarding the fine, high-frequency detail your eye is least likely to notice. That is why a JPG of a photograph can be a tenth the size of the raw image while still looking convincing, and also why its losses are permanent: the discarded frequencies are simply not stored.
PNG was designed as a lossless format for exactly the images JPG handles poorly, such as screenshots, logos, line art, and anything with sharp edges or flat color. The PNG specification, standardized by the W3C and originally published as IETF RFC 2083, defines a format that reconstructs every pixel bit-for-bit.[3][4] It compresses using DEFLATE, the same lossless algorithm behind zip files, combined with per-row prediction filters that make the data more compressible without ever altering it. Crucially, PNG also supports a full alpha channel, giving each pixel its own level of transparency, which JPG cannot represent at all.
So the two formats sit on opposite sides of the lossy-versus-lossless line. Sending a JPG into PNG carries it across that line, but only for what happens next. The information JPG threw away stays gone; PNG simply refuses to throw away any more.
How the conversion works under the hood
A JPG-to-PNG converter runs a short, predictable pipeline. First it decodes the JPG: it reverses the frequency compression, reconstructing a full grid of pixels where every pixel again has explicit red, green, and blue values. This decoded image already contains the JPG's compression artifacts, baked in as real pixel values, because at this stage there is no way to tell an artifact apart from genuine detail.
Next the converter re-encodes that pixel grid as PNG. It applies PNG's prediction filters row by row, then compresses the filtered data with DEFLATE. Because DEFLATE is lossless, nothing is discarded and nothing is approximated; the PNG will decode back to exactly the pixels the JPG produced. If you asked for transparency, an alpha channel is added at this stage, initially fully opaque until you edit it.
The practical upshot is that the PNG is a perfect snapshot of the decoded JPG. It is honest about what it received, which is both its strength (no further degradation) and the reason it cannot improve anything (it received an already-lossy image).
The quality myth to let go of
A common belief is that saving a JPG as a PNG upgrades it, since PNG is the higher-quality, lossless format. It does not work that way. Quality is set when the pixels are created. Once JPG has compressed a photo, converting to PNG copies those exact pixels into a lossless container; it does not reconstruct the lost information. You end up with a perfect copy of an imperfect image.
What you do get is a guarantee: from now on the file will not degrade further. That is genuinely useful, just not the same as making the picture sharper. The distinction matters most when you plan to edit. Every time a JPG is opened, edited, and re-saved as JPG, it is compressed again, and the losses accumulate visibly over a few generations. A PNG working copy breaks that cycle, because re-saving a PNG never adds compression damage.
Good reasons to do it anyway
There are three solid reasons to convert JPG to PNG. First, you need transparency for later editing, such as cutting out a background, which JPG simply cannot store. Second, you want a lossless working copy so that repeated edits and re-saves do not stack up more JPG compression each time. Third, a specific tool or platform requires PNG and will not accept a JPG. If none of those apply, keeping the JPG is usually the leaner choice, and WebP is often a better modern option when you want small files with transparency.
| Your goal | Best move |
|---|---|
| Cut out a background for later | Convert to PNG for the alpha channel |
| Edit and re-save repeatedly | Convert to PNG to stop generational loss |
| A tool demands PNG input | Convert to PNG to satisfy the requirement |
| Just want a smaller file | Keep the JPG or use WebP instead |
| Photo for the web | Keep JPG or convert to WebP, not PNG |
Convert JPG to PNG, step by step
Open the converter and add your JPG
Open the FileFormer image converter and drop your JPG in. It runs entirely in your browser, so the file never leaves your device.
Choose PNG as the output
Select PNG. The image becomes lossless from here on, which means edits you make afterward will not add more compression damage.
Convert and download
Convert and save. Expect the PNG to be larger than the JPG; that is the price of lossless storage and transparency support.
Generation loss and why a PNG copy stops it
The most concrete reason to make a PNG working copy is a phenomenon called generation loss. JPG is lossy every single time it saves, not just the first. So each time you open a JPG, make an edit, and save it again as JPG, the encoder runs its discrete cosine transform and quantization afresh on pixels that already carry the previous save's artifacts. The damage accumulates: after a handful of edit-and-save cycles, a photo that started crisp shows visible blocking, muddied color, and softened detail, none of which any single save would have produced on its own.
This is exactly the trap that converting to PNG once, at the start of an editing project, avoids. Because PNG is lossless, opening, editing, and re-saving a PNG never adds compression damage, no matter how many times you do it. The pixels you save are the pixels you get back, cycle after cycle. You still cannot undo the losses the original JPG already baked in, but you draw a hard line under them: from the moment you switch to PNG, the image stops degrading and holds steady through every subsequent edit. When you are finished, you can export a final JPG or WebP for delivery, having spent only one lossy generation instead of many.
Why the PNG is bigger, and how to keep it small
The size jump surprises people, so it helps to understand where it comes from. JPG achieves its small files by discarding data; PNG keeps everything, so it starts from a much larger pile of information to compress. PNG's DEFLATE compression is genuinely good, but it works best on images with large flat areas and repeated patterns, exactly the screenshots and graphics PNG was built for. A photograph is the opposite: every pixel differs slightly from its neighbor, so there is little repetition for DEFLATE to exploit, and the PNG ends up several times larger than the JPG that came from the same photo.
You can still keep the file reasonable. If you do not need every color, reducing the image to an indexed palette (PNG-8, up to 256 colors) can shrink a graphic dramatically with no visible loss, since PNG's palette mode stores a small color table instead of full color per pixel. For photographs, palette reduction usually looks poor, so leave them in full color and accept the size, or ask whether PNG is the right destination at all. Stripping unnecessary metadata and running a PNG optimizer afterward can trim a further slice without touching the pixels.
For flat graphics and logos, an indexed-color PNG can be smaller than the JPG. For photographs, expect PNG to be larger and consider WebP if size matters.
Real-world scenarios and the right target
Whether PNG is the correct destination depends entirely on what you are trying to accomplish. A few common cases make the choice concrete:
| Scenario | Recommended approach |
|---|---|
| Cutting a subject out of its background | Convert to PNG for the alpha channel, then erase the background. |
| Multi-step retouching over several sessions | Convert to PNG once as your working master to stop generation loss. |
| A design tool that only accepts PNG | Convert to satisfy the requirement; expect a larger file. |
| Just want a smaller photo for the web | Keep the JPG or convert to lossy WebP, not PNG. |
| Archiving a photo long-term | Keep the original JPG; converting to PNG adds size without adding quality. |
The unifying rule is that PNG earns its extra size only when you need losslessness or transparency for what happens next. If the picture is a finished photograph you simply want to store or share, converting to PNG makes it bigger for no benefit, and the original JPG or a lossy WebP is the smarter file to keep.
JPG, PNG, and WebP compared
PNG is not always the right target, and knowing its rivals tells you when to skip it. The honest comparison comes down to what the image contains and where it is going.
| Format | Compression | Transparency | Best for |
|---|---|---|---|
| JPG | Lossy | No | Photographs, small web files |
| PNG | Lossless | Full alpha | Graphics, screenshots, editing masters |
| WebP | Lossy or lossless | Full alpha | Modern web, small files with transparency |
If you specifically need lossless quality plus transparency, PNG is the classic, universally supported choice, and converting to it makes sense. If you need transparency at a smaller size, lossless WebP often beats PNG on file size while offering the same alpha channel, at the cost of slightly narrower support in very old software. And if you simply want the smallest possible photo for the web with no transparency, the original JPG or a lossy WebP will nearly always win. Reach for PNG when losslessness or transparency is the point, not by default.
Convert your JPG to PNG now
Get a lossless copy with transparency support, all in your browser with nothing uploaded.
Key takeaways
- JPG to PNG is lossy to lossless, but it will not recover detail the JPG already discarded.
- The PNG is usually larger than the JPG, sometimes much larger.
- Worth doing for transparency, a lossless working copy, or when a tool requires PNG.
- If you just want a smaller file, keep the JPG or try WebP instead.