Why convert JPG to PNG?
To convert JPG to PNG, drop your JPG file into the converter above and download the PNG: a lossless format that keeps transparency and every pixel exactly. It is free, needs no sign-up, and runs in your browser, so the file is never uploaded.
JPG is the most common photo format, but its lossy compression discards data every time the file is saved. PNG, by contrast, is lossless: it preserves every pixel exactly as it is at the moment of conversion. Converting a JPG to PNG is useful when you want to stop further quality loss, prepare an image for editing, or place a photo onto a design where you will later add transparency or overlays.
Designers frequently convert JPG to PNG before importing an image into tools like Figma, Photoshop, or PowerPoint, because PNG plays nicely with layers and does not introduce new compression artifacts as the file is re-saved. PNG is also the preferred format for images that contain text, logos, or sharp lines, where JPG's compression can produce visible fringing around edges.
Pixohub performs the conversion completely in your browser. The JPG is decoded onto an HTML canvas and re-encoded as a PNG, so nothing is transmitted over the network. That means faster results, no upload limits, and complete privacy for personal or business images.
Understanding what conversion can and cannot do
It is important to know that converting a JPG to PNG will not restore detail that JPG compression already removed. The resulting PNG will look identical to the source JPG — it simply stops any additional loss from happening in the future and gives you a format that supports transparency and lossless editing.
Because PNG stores full, uncompressed pixel data, the converted file will usually be larger than the original JPG. This is expected and is the price of lossless quality. If your goal is a smaller file rather than lossless editing, consider our Compress Image or Image to WebP tools instead.
JPG vs PNG: technical differences
The decoded JPG — including its block artifacts and softened colour — is copied pixel for pixel into the PNG. PNG cannot improve those pixels, but it guarantees that saving, editing and re-saving never adds a new round of JPG compression. That is the practical reason to convert: generation loss stops here.
Size grows because DEFLATE is poor at camera noise. A 3 MB smartphone JPG often becomes a 10–20 MB PNG, roughly 3–7 times larger. JPG's 8-bit channels map directly to an 8-bit PNG, so no precision is gained or lost, and any camera rotation flag is applied so the PNG pixels are upright.
Colour can shift subtly in one case: JPGs from cameras set to Adobe RGB, or from phones in Display P3, carry an embedded ICC profile. Pixohub does not write that profile into the PNG; the browser converts the colours to sRGB when it draws the photo, so the PNG looks the same except that colours outside sRGB are pulled to the nearest sRGB value. Ordinary sRGB photos are copied exactly.
| JPG (JPEG (Joint Photographic Experts Group)) | PNG (Portable Network Graphics) | |
|---|---|---|
| Compression | Lossy (8×8 DCT blocks, quantisation, chroma subsampling) | Lossless (DEFLATE with per-row prediction filters) |
| Colour depth | 8 bits per channel; RGB/YCbCr, greyscale or CMYK | 1–16 bits per channel; truecolor, greyscale or 256-colour palette |
| Transparency | None | Full 8/16-bit alpha channel |
| Animation | None | Only via the APNG extension |
| Metadata | EXIF, IPTC, XMP, ICC profile | Text chunks, ICC profile, gamma; EXIF via the newer eXIf chunk |
| Typical file size | Smallest of the classic formats for photos | Large for photos (often 2–3× a JPG); tiny for flat graphics |
| Support | Universal — every browser, camera and device | Universal — every browser, OS and editor |
When to convert JPG to PNG
Editing a photo through several rounds without new artifacts
Every time a JPG is opened, edited and saved as JPG again, compression stacks up. Designers making repeated edits — adding text, annotations or adjustments over a few days — convert to PNG once at the start and only export a JPG at the very end.
Preparing a photo for background removal
If you plan to cut out a subject and need transparency, PNG is the destination format. Convert first, then use remove background or your editor's eraser; the transparent result can stay as PNG.
Platforms that recompress JPG uploads
Some sites compress JPG uploads again on arrival. Uploading a PNG sometimes avoids the harshest recompression of text-heavy images such as infographics or slides exported as JPG. Results depend on the platform, so test one image first.
Inserting images into slides and documents
When a JPG of a chart or slide needs to be cropped and annotated in PowerPoint, Keynote or Google Slides, PNG avoids another lossy pass each time the deck is exported or the image is re-saved.
What converting JPG to PNG keeps and loses
What you keep
- Exactly what the JPG looks like, including its existing compression artifacts.
- Pixel dimensions, with camera orientation applied so the image is upright.
- Full 8-bit colour.
What you lose
- EXIF metadata — camera model, capture date and GPS location are not copied into the PNG.
- Any embedded ICC profile — the colours are converted to sRGB instead, so the most saturated Adobe RGB or Display P3 tones are clipped slightly.
- Small file size: the PNG is typically 3–7 times larger.
Our test: JPG to PNG on two real files
Both PNGs were bit-for-bit identical to the decoded JPG, and both grew by the same factor: the photo from 425 KB to 2.8 MB, the graphic from 43 KB to 289 KB, about 6.6–6.7 times each. PNG has to store JPG's block noise exactly, and that noise is what DEFLATE compresses worst, so even the simple graphic grew as much as the photo.
The photo's EXIF block was dropped. Our test JPG has no colour profile, which is why its pixels passed through unchanged; a Display P3 or Adobe RGB JPG would be converted to sRGB first. Each conversion took about 1.1 seconds.
Method: this converter in Chromium (Playwright 1.64.1) on an Apple M2 Mac, default 85% quality for lossy output. The photo is an iPhone 14 Pro Max shot scaled to 1600 × 1200, metadata intact; the graphic has a transparent background, soft shadow, gradients and text. SSIM and PSNR compare each result with the decoded original on white (how we test).
| Test file | JPG in | PNG out | Pixels vs original | Transparency | Camera EXIF | Time |
|---|---|---|---|---|---|---|
| Photo, 1600 × 1200 | 425 KB | 2.8 MB (6.6× larger) | Identical pixels | None in source | Removed | 1.2 s |
| Graphic, 800 × 600, transparent | 43 KB | 289 KB (6.7× larger) | Identical pixels | None in source | None in source | 1.1 s |
Last updated
Apps and sites that work with JPG and PNG
Built-in converters on each system
macOS Preview exports to PNG from File › Export, Windows Paint saves JPGs as PNG through Save as, and the iOS Shortcuts app has a Convert Image action that outputs PNG. Like Pixohub, they copy the decoded pixels, so the artifacts in the JPG come along unchanged.
Python and command-line tools
In Pillow, Image.open('a.jpg').save('a.png') does the conversion but does not apply the EXIF orientation, so portrait phone photos can come out sideways; ImageOps.exif_transpose fixes that. ImageMagick needs -auto-orient for the same reason. Pillow also drops the EXIF block unless you pass it to save explicitly. Pixohub rotates the pixels before writing.
Where the PNG is then used
Slide decks, documentation tools and design apps such as Canva and Figma all accept PNG, and it is the format most background-removal tools hand back. The PNG is a working copy; for upload limits and email the original JPG is still the better file.
Common JPG to PNG problems and fixes
The background is still there
A common hope is that PNG will make the background transparent. It can store transparency, but a JPG has none to give, so the PNG has the same solid background. To remove it, run the PNG or the original JPG through remove background, which returns a transparent PNG. Hair and soft edges come out best from a sharp, well-lit original.
The PNG is too large for the upload form
Our 425 KB photo became 2.8 MB, and a full-resolution phone photo can pass 15 MB as PNG, which trips limits on forms, chat apps and email. If you are not going to edit the image, send the JPG. If the form demands PNG, reduce the pixel dimensions with the image resizer; PNG size falls roughly with pixel count.
A portrait photo turned sideways elsewhere
Phones often store photos sideways and add an orientation tag. Tools that ignore the tag write a sideways PNG, and because PNGs normally carry no orientation, nothing corrects it later. Pixohub applies the tag first, so this page's PNG stays upright; if another tool produced a sideways copy, reconvert from the JPG or fix it with rotate image.
Tips for better JPG to PNG results
- If you need the smaller file back later, export a single final JPG from the PNG — do not convert back and forth repeatedly.
- For heavy JPG artifacts, converting won't help; a lightly blurred or denoised edit in a photo editor before saving the PNG often looks cleaner.