HeyDreaming

Free · runs in your browser · free account to save the PNG

Convert JPG to PNG

Loading the tool…

Some editors, upload forms and design tools only take PNG. Drop a JPG in and get a lossless PNG of the same picture, with no second lossy pass, written on your device. The PNG is usually the larger file, and a JPG has no transparency to keep.

How do I convert a JPG to a PNG file?

Drag the .jpg or .jpeg file into the box above and it converts right away. PNG has no quality settings, so there is nothing to choose: the browser decodes the JPG, draws it onto a canvas and writes the picture out as a PNG at the same pixel size. A photo the camera saved sideways is stored upright, so its width and height can swap. The result line shows the old size, the new size and the difference. Download the PNG; it keeps your file name and ends in .png.

How it works

01

Add the JPG

Drag one .jpg or .jpeg file into the box, or click to choose it. Files up to 50 MB are accepted. This page handles one file at a time.

02

Let it convert

It starts as soon as the file is added; there is nothing to configure. PNG is lossless and has no quality slider, so the picture as your browser displays it is written out again with no further lossy pass.

03

Compare the sizes, then download

The result line prints the old size, the new size and the percentage change. A PNG of the same picture is usually bigger than the JPG. Download the PNG; your original file is not changed.

Why convert a JPG to PNG

JPG is a delivery format. It keeps files small by discarding detail the eye mostly ignores, and each time you open a JPG and save it again it discards a little more. PNG stores the pixels it is given, exactly, so a PNG can be opened and re-saved while editing without that slow wear. That makes PNG the better working copy when the picture still has work to do: retouching, tracing, compositing, or feeding it into software that only reads PNG.

A few things still ask for PNG by name: an icon upload for a website or an app often specifies PNG at a fixed pixel size. This page does not resize: the PNG comes out at the size the picture displays, so if the form wants exact dimensions, resize with the image resizer first. The picture looks the same on screen either way, so the conversion is mostly the handshake that gets the file through the door. Know what you are handing over: an opaque PNG. If the form behind the door wants transparency, run the background remover first, because a JPG has no alpha channel to carry over.

What changes in the file

The browser decodes the JPG once and draws it onto a canvas the way your browser would display it: color converted to standard sRGB, and the picture turned upright when the file carries a camera rotation tag. Nothing is resized or sharpened, and the PNG encoder adds no further loss, so there is no quality setting to get wrong. What the PNG holds afterwards is that displayed picture, saved without a second lossy pass.

That cuts both ways, and three other things do not carry over. JPG artifacts come along and stay: blocky edges in a smooth sky, fuzz around small text, the soft wash over busy texture. PNG writes them permanently, so a format change never repairs a compressed photo. Metadata stays behind, which means the shooting date, camera settings and GPS position are not written into the PNG; the rotation tag is the one that still has an effect, because it is applied to the picture instead of copied. Embedded color profiles are not copied either, since the canvas only holds standard 8-bit sRGB, so a wide-gamut photo can look slightly less vivid afterwards. And the file grows, because PNG keeps every pixel instead of approximating them.

Size, transparency and limits

Expect a bigger file. A two megabyte photograph often lands at several times that size as PNG, and there is no slider to argue with. PNG earns its extra size when an app saves it straight from the source: a screenshot or a chart fresh out of the program that drew it, where flat areas and few colors compress well. Starting from a JPG is a weaker deal for those subjects: the blur and the faint noise around edges and small text are already in the pixels, PNG keeps them, and the compressor cannot shrink them. For a photo that has to stay small, compress the JPG or convert it to WebP instead, and remember that Safari cannot write WebP, so JPG is the reliable smaller choice there. The result line prints both sizes before you download, so an oversized result is easy to spot.

Two limits are worth knowing. A JPG has no alpha channel, so this conversion cannot produce a transparent background: every pixel in the output is solid. Run the background remover first if you need the cutout. And the 50 MB cap only rejects oversized inputs; decoding still happens in the browser, so a very large photo can fail on a phone that runs short of memory. This page takes one file at a time.

What this tool does not do

It does not restore detail that JPG compression already dropped, add a transparent background (a JPG has no alpha channel, so every pixel in the PNG comes out solid), copy EXIF data such as date, camera or GPS position, or make the file smaller: PNG stores every pixel, so the file usually grows.

See all free tools

Keep exploring

Related free tools

Questions

JPG to PNG: FAQ

Is my JPG uploaded to a server?

No. Decoding and encoding run in your browser, so the photo stays on your device. The page records usage events in Google Analytics, such as which tool ran and how many files were converted, but never the image.

Why is the PNG bigger than my JPG?

JPG keeps photos small by throwing detail away; PNG writes every pixel, and there is no quality setting to lower. If a small file matters more than a lossless one, compress the JPG or convert to WebP instead. Safari cannot write WebP, so use JPG there.

Does converting to PNG make the photo better?

No. PNG is lossless, so no further compression loss is added, but the pixels it writes are the ones your browser displays, artifacts included (and wide-gamut color is reduced to sRGB). A format change cannot recover detail the JPG already discarded; only a better source file can.

Will the PNG have a transparent background?

No. A JPG stores no alpha channel, so every pixel in the output is solid. To get a transparent PNG, run the background remover first and save its result, which already comes out as PNG.

Do the date, location and camera details carry over?

No. EXIF metadata is not copied to the PNG, and embedded color profiles are not copied either. The output is standard 8-bit sRGB, so a wide-gamut photo can look a little less vivid than the original file in a color-managed editor.

Will the PNG have the same width and height?

Usually. One exception: if the JPG carries a camera rotation tag, the browser applies it, so a portrait shot that was saved sideways comes out upright and its width and height swap. No pixels are added or removed.

Can I convert several JPG files at once?

Not on this page; it converts one file at a time, so convert the first, download it, then add the next. The bulk image converter handles a batch of 20 files and returns them as a ZIP.