JFIF to PNG

Turn .jfif pictures into PNG files in your browser, pixel for pixel, or save them as .jpg unchanged. Nothing is uploaded.

Rate this tool

How useful was this tool?

JFIF to PNG

To convert JFIF to PNG, click Choose JFIF pictures to turn into PNG and pick one .jfif file or many, or drop them on the box. The box says: “JFIF files (.jfif), and the same kind under the endings .jpg and .jpeg. One picture or many at once. Drop them here, or paste copied files with Ctrl+V (⌘V on a Mac).”

There’s no Convert button. As soon as the files are in, the page says Turning the picture into a PNG…, and each picture gets a card: a small copy of it, what the file is, and how large its PNG came out. Click Save the PNG on the card, and the page answers Saved. With two or more pictures, Save all as one ZIP saves them together. The box then reads Choose other JFIF pictures, and a new choice replaces what is on the page.

All of it happens in your browser. The top of the tool says: “Your pictures are turned into PNG files in your browser. They are not uploaded.” Since nothing is sent, there’s no upload limit in megabytes either.

What a JFIF file is, and why you have one

A .jfif file is a JPG picture with another ending. JFIF stands for JPEG File Interchange Format, the name of the layout that JPG files have. The same bytes under the ending .jpg make an ordinary JPG. Files of this one kind also go by .jpg, .jpeg, .jpe, .jfi and .jif.

On some Windows computers, a web browser saves JPG pictures from web pages with the ending .jfif. This is reported for Chrome and Firefox on Windows 10, and put down to a Windows setting that ties the JPG picture type to the ending .jfif. The picture inside stays an ordinary JPG, but not every program opens a file that ends in .jfif.

The page explains it under Good to know:

A JFIF file (.jfif) is a JPG picture under another ending: JFIF is the name of the layout that JPG files have. On some Windows computers a web browser saves JPG pictures from web pages with this ending, and not every program opens it. Where only the ending is in the way, the same file named .jpg is enough: "Save it as a .jpg instead" under a picture hands that out, not a byte of it changed. Turn it into a PNG when a PNG is what you need.

Asked what one of the test files named .jfif is, the Pillow image library answers JPEG. And the ending promises nothing about the inside: a photo from an iPhone 6, renamed .jfif for the tests, begins with the camera’s details rather than a JFIF header. The page took it like any other, since it is a JPG.

Which files the page takes

The page tells a JFIF by how the file begins, not by its name. In testing, files ending in .jfif, .JFIF, .jfi, .jif, .jpe, .jpg and .jpeg were all taken. Five copies of one picture, photo with five of those endings, chosen together, became photo.png, photo (2).png and so on, so no PNG takes another’s name.

A JPG with some other ending is taken too. A test JPG named jpg-named.png got the facts line “JFIF, 1,200 × 800 pixels, 56.7 KB, saved at quality 85” and the note “The name of the file ends in .png, but the file is a JPG, the kind a JFIF is.”

A file named .jfif that is something else gets a card with its name and the reason, and the other files are still done. In testing:

  • A PNG named .jfif: “This file is a PNG already, whatever its name says. There is nothing to turn.”
  • A WebP named .jfif: “This file is a WebP picture, not a JFIF or JPG. WebP to PNG turns those into PNG.” A HEIC, TIFF or SVG file is pointed to its own tool in the same way.
  • A file that is no picture at all: “This file is not a JFIF or JPG picture: it does not begin the way such a file does.”

Browsers don’t read a few rare kinds of JPG, and the page refuses those in words rather than handing out an empty PNG. A JFIF packed with arithmetic coding got “This JFIF is packed in a way browsers do not read (arithmetic coding), so the page cannot open it.” JFIF files with 12 bits for each color, lossless ones and hierarchical ones get messages of their own.

Pasting: a copied file, or a picture copied as a picture

Ctrl+V takes files you copied in your file manager, wherever on the page you paste them. A picture copied as a picture, rather than as a file, is already a PNG when it reaches the page, so there’s nothing to turn. The page offers that PNG as it is:

What you pasted is a picture copied as a picture. Your browser hands it over as a PNG already, so there is nothing to turn: you can save that PNG as it is. It is your browser's copy of the picture, not the file it came from.

Its card has the button Save that PNG (pasted-picture.png). In testing, the file it saved was the pasted PNG, byte for byte. To work from the original file instead, save the picture to your device and choose that file.

Make the background of a JFIF transparent

A JFIF can’t have see-through parts, but the PNG can. Under How the PNG is to be, See-through background starts at None: the picture stays whole, with the line “A JFIF has no see-through parts, and the PNG gets none.” The two other choices clear a plain background away:

  • The background that reaches the edges: “The color at the picture's edge is cleared away as far as it reaches inward from the edge. The same color inside the thing shown stays.” Choose it for a logo or a product on a plain background.
  • That color everywhere in the picture: “Every spot of that color is cleared away, also those shut in by other colors, such as the insides of letters.”

On a test logo on white, the first choice made 79% of the picture see-through and the second 81%, since it took the white inside the letters as well. The card says what was cleared: “Made see-through: 79% of the picture, around #FFFFFF, the color most of its edge has.”

Which color is the background offers Each picture's own: the color most of its edge has or This color: with a color box. “Or click a picture below to take the color from that spot.” How close to it a color must be is a slider from 0 to 60 that starts at 12, and the line under it reads “At 12, a color counts when its red, green and blue are each within 31 of 255 of the background's. A higher number clears more.”

It goes by color alone. Good to know warns: “It goes by color alone and knows nothing of what the picture shows, so a thing of the background's own color would go with it.” It suits a logo or a product on a plain background, not a person in a busy photo. Where a picture’s edge has no one color, the card says it “may have no plain background. Look at the result, and choose the color yourself if it is not right.”

Camera details (EXIF): left out unless you tick the box

What the camera wrote into the picture stays out of the PNG unless you tick Keep what the camera wrote into the picture (its EXIF details: date, camera, place) in the PNG. The tick starts off. Either way, the card says what happened. For the iPhone photo, which holds the place it was taken, it said “What the camera wrote into the JFIF, the place it was taken among it, is not in the PNG.” With the tick, it said “What the camera wrote into the JFIF is in the PNG too (20.5 KB), the place it was taken among it.”

When the details go along, the mark inside them that asks a viewer to turn the picture is set to “as it is”, since the PNG is upright already. Other notes in a JFIF, such as a description or what a program wrote, never go along, and neither does a second picture or a short video that some phones store behind the first. The card always names such a second part. It names the other notes when you keep the camera details, or when the JFIF has none.

Change a choice, and every PNG on the page is made again a moment later. “These choices are remembered on this device and nowhere else. Your pictures never are.” They are kept apart from those of JPG to PNG.

Converting JFIF to PNG without losing quality

The PNG holds exactly the pixels the JFIF holds. The page asks your browser to read the JFIF with its color conversion switched off, so it gets the numbers stored in the file itself, and puts those into the PNG. Good to know says:

A PNG keeps every pixel exactly as it is given. The page gives it the pixels your browser reads from the JFIF, unchanged, so the PNG shows the same picture as the JFIF, with nothing added and nothing lost.

The PNG files the live page handed out in the tests were read back with the Pillow image library and compared with their JFIF files: every pixel was equal, apart from those made see-through on purpose. Before a PNG is offered, the page unpacks it again and compares it with what it handed over, and the card says “Checked: unpacked again, the PNG gives back every pixel it was given.” If that check ever failed, you’d get no PNG, and the card would say “The PNG could not be made: the check after packing failed. Nothing is handed out.”

What a PNG can’t do is bring back what the JFIF left out when it was saved. As the page puts it: “Turning a JFIF into a PNG does not make it sharper. It stops further loss: a PNG can be saved again and again without changing.” A PNG is the right choice for a picture you’ll edit and save many times, or one that needs see-through parts.

What “saved at quality 85” on the card means

The card’s first line ends with the quality the JFIF was saved at, where the file tells it, as in “JFIF, 1,200 × 800 pixels, 56.1 KB, 96 dots an inch, saved at quality 85”. Good to know explains: “Where the file tells it, the card says at what quality the JFIF was saved, from 1 to 100: the lower the number, the more was left out.”

The page reads the number from the file’s own tables, on the 1 to 100 scale most programs use. A camera that uses tables of its own gets no number, since any number would be a guess. In the tests, the web picture said 85, a picture in Adobe RGB 92, a gray one 88 and a 12 megapixel photo 90. The iPhone photo and a picture in print colors got no number. Whatever the number, the PNG keeps what the JFIF holds, exactly, and adds nothing back.

Color profile, dots an inch, turned photos and print colors

A JFIF with a color profile gives a PNG with the same profile, copied byte for byte, so both show the same colors. The card names it:

The PNG carries the JFIF's color profile (ProPhoto RGB) beside the same numbers, so its colors are the same.

A JFIF tagged Adobe RGB got the same line, naming Compatible with Adobe RGB (1998), in Chrome 158 and in Firefox 158. The page first asks your browser, with a little test picture built into it, whether it hands over the file’s own numbers. Where a browser doesn’t, the colors are turned into ordinary sRGB, the PNG gets no profile, and the card says “Your browser hands the page its colors only after turning them into the ordinary kind (sRGB), so that is what the PNG holds, without the profile. On an ordinary screen it looks the same.”

The dots an inch go into the PNG too. Unless they are the usual 72, the card’s first line shows them, as the 96 above does. A test file at 300 dots an inch kept its 300.

A photo can be stored lying on its side, with a mark that tells programs how to show it. The PNG holds the picture upright, at the size it is shown, and the card explains:

The JFIF is stored lying on its side or mirrored, with a mark that tells programs how to show it. A PNG has no such mark that every program follows, so the PNG holds the picture the way it is shown.

Gray pictures become gray PNG files: “A gray picture: the PNG stores one number for each pixel in place of three.” Print colors are turned into screen colors by your browser: “This JFIF is in print colors (CMYK). A PNG has only screen colors, so your browser turned them into red, green and blue for it.”

Why the PNG is larger than the JFIF

A JFIF stores a photo by leaving out fine detail, and a PNG stores every pixel. The page says: “That is also why a photo takes several times as much room as a PNG as it did as a JFIF: a JFIF stores a photo thriftily, as every JPG does, by leaving out fine detail the eye hardly misses, and what it left out does not come back.”

Measured on the live page in Chrome 158:

JFIF As JFIF As PNG Times
A picture of 1,200 × 800, 96 dots an inch 56.1 KB 540.8 KB 9.6
A progressive JFIF, 816 × 608 82.6 KB 642.0 KB 7.8
A photo of 8 megapixels, 3,264 × 2,448 2.0 MB 8.4 MB 4.3
A photo of 12 megapixels, 4,032 × 3,024 2.5 MB 12.3 MB 5.0
A logo on white, 600 × 300, background made see-through 15.2 KB 42.9 KB 2.8
A JFIF in Adobe RGB, 480 × 320 20.0 KB 46.1 KB 2.3
A gray picture, 640 × 400 11.3 KB 13.3 KB 1.2

Photos grow the most. A picture of plain areas can even shrink: a test picture of 200 megapixels made of gray stripes got “The PNG: 568.4 KB. The JFIF had 3.3 MB.” To make a photo’s file smaller, keep the JPG, or use the Image Compressor.

Save, copy, or look at it larger

Each card has these buttons:

  • Save the PNG, with the file’s name beside it, as in Save the PNG (saved-from-web.png).
  • Copy the picture puts it on the clipboard, to paste into a document or a chat. It shows where your browser lets a page do that. The page then says “Copied. Your browser puts the picture on the clipboard; the PNG file itself is what Save gives.” The copy is your browser’s own, so save the file when you need everything the page put into it.
  • Look at it larger opens the PNG inside its card, and the button then reads Close the larger look. Lay it on shows it on Gray squares, White, Black or A color of your own. Show it offers Fitted to the page, At its own size, At twice its size and At four times its size.

With The background that reaches the edges chosen, the larger look adds: “A patch of background that is shut in by the thing stays. Click such a patch here, and it is cleared from that spot too.” A picture takes up to 50 such clicks. Take back the last spot and Take the clicked spots back undo them.

Change JFIF to JPG without converting it

When only the .jfif ending is in the way, you don’t need a PNG at all. Under the buttons of each card, the page offers Save it as a .jpg instead (saved-from-web.jpg), with the note “The same file under the ending .jpg, with nothing in it changed. That is enough where a program only refuses the ending.” After a click it says “Saved as a .jpg.”

It hands out your JFIF file itself, under the new ending. In testing, the .jpg was the .jfif byte for byte, in Chromium, Chrome and Firefox. The offer isn’t shown for a file whose name ends in .jpg or .jpeg already.

For several files at once, the bar that shows with two or more pictures has Save them all as .jpg in one ZIP (jfif-as-jpg.zip), with the line “The files themselves under the ending .jpg, with nothing in them changed, for when a .jpg is all you need.” In testing, in Chromium, Chrome and Firefox, every file in that ZIP was its JFIF byte for byte. Files that were left out aren’t in it.

Each file goes into the ZIP under the name its card shows, and two files never get the same name. Chosen together, photo.JFIF, photo.jfi, photo.jif and photo.jpe were offered as photo.jpg, photo (2).jpg, photo (3).jpg and photo (4).jpg. A file that already ends in .jpg goes in under its own name unless another file has taken it: the photo.jpg chosen with them became photo (5).jpg in the ZIP.

Which one to take:

  • Take the .jpg when a program or a form refuses only the .jfif ending. It loses nothing and stays as small as it was: 56.1 KB, where the PNG of the same picture took 540.8 KB.
  • Take the PNG when a PNG is asked for, when you want a see-through background, or when you will edit the picture and save it again and again.

Converting many JFIF files to PNG at once

Choose or drop up to 100 pictures at once. The page makes them two at a time, and the line under the box counts them as it goes. With two or more pictures, a bar sums them up. Five files chosen together, four JFIF pictures and a PNG named .jfif, gave:

  • “Pictures: 4. The JFIF files together: 93.6 KB. The PNG files: 622.5 KB.”
  • “Files left out: 1.”

Save all as one ZIP (jfif-to-png.zip) saves every PNG in one file. The ZIP stores them as they are, since a PNG is packed already. Below it, Save them all as .jpg in one ZIP gives the same pictures as .jpg files instead.

A JFIF that was cut short

A download that broke off leaves a JFIF that ends too soon. The page still makes a PNG of what your browser can read, and says so. A test picture cut to its first 20,000 bytes gave, in Chrome:

This JFIF ends too soon: it was cut short, perhaps by a download that broke off. The PNG holds what your browser could still read of it. The part that is missing, 66% of the picture, is see-through in the PNG.

In Firefox 158, the missing part came out in a plain color instead, and the card’s last sentence read “Where the picture is missing, your browser filled it in with a plain color.” If you can, download the picture again.

Example

A JFIF of 1,200 × 800 pixels, 56,061 bytes, with the choices left as they start. Its card says:

  • “JFIF, 1,200 × 800 pixels, 56.1 KB, 96 dots an inch, saved at quality 85”
  • “The PNG: 540.8 KB, 9.6 times the size of the JFIF.”
  • “Checked: unpacked again, the PNG gives back every pixel it was given.”

The buttons read Save the PNG (saved-from-web.png) and Save it as a .jpg instead (saved-from-web.jpg). The PNG was ready 0.5 s after the file was chosen, in Chrome 158. Read back with Pillow, the saved PNG held the same 1,200 × 800 pixels as the JFIF, every one equal, at 96 dots an inch. The saved .jpg was the JFIF file itself.

How long it takes

Counted by the page itself, from the moment the file is chosen until the PNG is ready: reading the pixels, making the PNG and drawing the small picture. Measured on the live page on a desktop computer (AMD Ryzen 9 3950X). The work runs beside the page, so the page stays usable meanwhile.

Picture Chrome 158 Firefox 158
A picture of 1 megapixel (1,200 × 800, 56.1 KB) 0.5 s 0.4 s
A photo of 8 megapixels (3,264 × 2,448, 2.0 MB) 1.4 s 1.1 s
A photo of 12 megapixels (4,032 × 3,024, 2.5 MB) 2.1 s 1.8 s
A picture of 30 megapixels (6,000 × 5,000), stripes made for the test 5.3 s not timed
A picture of 200 megapixels (16,000 × 12,500), gray stripes made for the test 13.6 s not timed

Limits

  • 100 pictures at once. With 101 files chosen, the page said “You chose 101 files. The first 100 were taken.”
  • About 268 million pixels a picture. The 200 megapixel test picture above was turned in Chrome 158. One of 16,384 × 16,384 was refused at once: “This picture is too large for your browser to turn into a PNG: 16,384 × 16,384 pixels.” Phones have far less memory than a desktop computer.
  • 4 GB in one ZIP. Beyond that: “Together these PNG files are over 4 GB, more than one ZIP of this kind holds. Save them one by one.” The ZIP of .jpg copies has its own message: “Together these .jpg files are over 4 GB, more than one ZIP of this kind holds. Save them one by one.”
  • A picture dragged from another web page isn’t a file: “That was the address of a picture, not the picture itself. Save the picture to your device and choose the file.”
  • A damaged file: “Your browser could not open this JFIF: the file is damaged.”

The page was tested on desktop computers in Chromium 147, Chrome 158 and Firefox 158. Safari, Edge, phones and a Windows computer saving its own .jfif files weren’t tried.

Which tool for which job

  • Need a WebP rather than a PNG, for a web page: JFIF to WebP.
  • Your picture already ends in .jpg: JPG to PNG. It makes the very same PNG of a file, byte for byte.
  • Turn a PNG back into a JPG, for a smaller file: PNG to JPG.
  • Make the picture smaller in bytes, or fit it to a file size: Image Compressor.
  • Change its size in pixels before or after: Image Resizer.

FAQ

How do I convert JFIF to PNG?

Click Choose JFIF pictures to turn into PNG, pick your .jfif files or drop them on the box, and the page turns each one into a PNG in your browser at once. Then click Save the PNG on each card, or Save all as one ZIP for several.

What is a JFIF file?

A JFIF file is a JPG picture under the ending .jfif. JFIF, the JPEG File Interchange Format, is the name of the layout JPG files have, so the same file named .jpg is an ordinary JPG.

Why do my pictures save as .jfif?

On some Windows computers, the web browser saves JPG pictures from web pages with the ending .jfif. It is reported for Chrome and Firefox on Windows 10 and put down to a Windows setting, and the picture inside is a plain JPG.

How do I change a JFIF to JPG?

Choose the file on this page and click Save it as a .jpg instead on its card, or, for several files, Save them all as .jpg in one ZIP. You get the same files under the ending .jpg, with nothing in them changed: in testing, each was its .jfif file byte for byte.

Does converting JFIF to PNG lose quality?

No. In testing, every PNG held, pixel for pixel, what its JFIF holds, and the page checks each PNG before it offers it. It can’t bring back the fine detail the JFIF left out when it was saved, and the card says at what quality that was, where the file tells it.

Why is the PNG so much bigger than the JFIF?

A JFIF stores a photo thriftily by leaving out fine detail, and a PNG stores every pixel. In testing, a 12 megapixel photo went from 2.5 MB to 12.3 MB, and a picture of 1,200 × 800 from 56.1 KB to 540.8 KB.

Can I make the background of a JFIF transparent?

Yes, a plain one. Under See-through background, choose The background that reaches the edges or That color everywhere in the picture, and the page clears the color at the picture’s edge, or one you choose. It goes by color alone, so it suits a logo or a product on a plain background, not a person in a busy photo.

Can I convert several JFIF files to PNG at once?

Yes, up to 100 at a time, each with its own card. Save all as one ZIP saves every PNG in jfif-to-png.zip, and Save them all as .jpg in one ZIP saves the files as .jpg in jfif-as-jpg.zip.

Are my JFIF pictures uploaded?

No. The pictures are turned into PNG files in your browser and never leave your device.

Note: All processing is done client-side. We do not store or see your data.

Related Tools

Contact

Missing something?

Feel free to request missing tools or give some feedback using our contact form.

Contact Us