Quick answer. JPG and JPEG are the same format, so there is no conversion to do. Renaming the file extension is all most people need, it takes seconds and changes nothing inside the file. A single command renames a whole folder. Only a file that is not really a JPEG needs converting properly.
On this page
The same format with two names
Let us settle this before you download anything. JPG and JPEG are not two formats. They are one format with two spellings of the same file extension, and a file called photo.jpg and a file called photo.jpeg can be byte for byte identical.
The split is a leftover from early Windows. Old MS-DOS and Windows file systems allowed only three characters after the dot, so .jpeg had to be shortened to .jpg, while Mac and Unix systems, which had no such limit, kept the full spelling. Both stuck around, and today every operating system, browser and photo app opens either one without blinking. The extension is a label on the outside of the file, not a description of what is inside it.
So if something is asking you for a .jpeg and you have a .jpg, you almost certainly do not need to convert anything. You need to change the label.
The extension is a label on the outside, not a description of the contents.
“A file’s real identity lives in its opening bytes, not in the characters after the dot, and a JPEG always begins with the same signature whichever of the two extensions it happens to carry. That is why renaming between them is completely safe, nothing inside the file is touched. It also explains the opposite problem I see far more often, a file wearing an extension that does not match its contents at all, which passes a casual glance and then fails the moment anything checks it properly.” Shubham Dixit, Data File reviewer (draft, pending approval)
Rename one file, on Windows or Mac
On Windows there is one small hurdle first, since extensions are hidden by default and you cannot change what you cannot see.
Step 1. Open File Explorer, go to the View tab, and tick File name extensions. Your files will now read photo.jpg rather than just photo.
Step 2. Right click the file, choose Rename, and change the ending from .jpg to .jpeg.
Step 3. Windows will warn that the file might become unusable. In this particular case that warning does not apply, because the format is the same, so confirm it.
On a Mac, click the file name in Finder, edit the extension, and confirm when it asks whether to use .jpeg. If you would rather not touch extensions at all, opening the image in Preview and using File then Export will also produce a .jpeg, though that route re-encodes the picture, which the section below explains is worth avoiding when a rename would do.
Rename a whole folder in one line
This is where people are usually told they need software, and it is the one place where they least do. Renaming hundreds of files is a single command and it finishes instantly.
On Windows, open the folder, type cmd in the address bar and press enter to get a Command Prompt already pointed at that folder. Then run ren *.jpg *.jpeg. Every JPG in the folder is renamed, nothing inside any file changes, and it takes about a second.
On a Mac, select all the files in Finder, right click and choose Rename, then use the Replace Text option to swap .jpg for .jpeg. Finder has done batch renaming for years and it needs nothing installed.
Bulk is the easiest case here, not the hardest.
Why converting is the worse option here?
This is the part that gets stated backwards almost everywhere, including on pages selling converters, so it is worth being plain about.
When you put a JPG through an image converter and ask for JPEG out, the software does not simply relabel it. It decodes the picture back to raw pixels and then encodes it again as a fresh JPEG, which applies another round of lossy compression. That is why such tools ask you to pick a quality level, the setting only exists because something is being re-compressed. The result is a very slightly worse image than the one you started with.
Renaming does none of that. Not one byte inside the file changes, so the image is exactly, provably, the same picture. For this particular job the free method is not merely cheaper, it is technically better, and any claim that a converter gives you JPEG from JPG without quality loss has it the wrong way round.
If a tool asks you to choose a quality level, it is re-compressing your picture.
When the file is not really a JPEG
There is one situation where renaming will not help, and it is worth recognising because the symptom looks identical. Sometimes a file called photo.jpg is not a JPEG at all. Phones save HEIC, websites hand out WebP, and people rename PNG files by hand, so a wrong extension is common. Anything that only glances at the name will accept it, but any system that checks the actual contents will reject it, and renaming cannot fix that because the problem is inside the file rather than on the label.
The tell is simple. If you rename to .jpeg and the upload still fails, or the picture will not open in something that should handle it easily, the file is probably not what its name claims. That needs a genuine conversion, which re-encodes the contents into a real JPEG, and it is also the case where a batch converter earns its place if you have a folder full of them.
The PCDOTS Image Converter handles that, reading what a file actually is and writing out proper JPEG files across a folder in one run, offline with nothing uploaded. Worth being clear though, if your files are already genuine JPGs, the rename above is the better answer and this is not the tool you need today. There is a free version if you want to check your own files.
Run it and load the images.

Then choose JPEG as the output format and save.

For genuine format changes there are guides to convert JPG to TIFF for print and archiving, and to convert GIF to JPG, both of which really do change what is inside the file.
The methods compared
For almost everyone the first row is the answer.
| Method | Best for | Good to know |
|---|---|---|
| Rename the extension | Almost everyone, free | Nothing inside the file changes |
| One line bulk rename | A whole folder, free | Instant, and just as lossless |
| Real conversion | Files that are not really JPEG | Re-encodes, so costs a little quality |
Frequently asked questions
Are JPG and JPEG the same thing?
Yes, exactly the same format. The two spellings exist because old Windows file systems allowed only three characters after the dot, so .jpeg was shortened to .jpg while other systems kept the full version.
How do I convert JPG files to JPEG?
You rename them rather than convert them. On Windows, switch on file name extensions in File Explorer and change .jpg to .jpeg. On Mac, edit the extension in Finder and confirm the change.
How do I change JPG to JPEG without losing quality?
Rename the file. That is genuinely lossless because no byte inside it is touched. Running the image through a converter re-encodes it and costs a small amount of quality, which is the opposite of what most guides claim.
How do I rename hundreds of files at once?
On Windows, open the folder, type cmd in the address bar, and run ren *.jpg *.jpeg. On Mac, select the files in Finder, right click, choose Rename and use Replace Text. Both are free and take a second.
Is it safe to change a file extension?
Between .jpg and .jpeg it is completely safe, since the format is identical. Windows still shows a general warning about renaming extensions, and in this specific case you can accept it.
I renamed the file and the upload still failed, why?
The file is probably not really a JPEG, perhaps a HEIC from a phone or a PNG someone renamed. Any system that checks the contents rather than the name will reject it, and that case needs a real conversion.
Nothing to convert
If you arrived here worried that you needed special software, you can relax, because you almost certainly do not. A form asking for .jpeg when you have a .jpg is asking about the label, not the picture, and changing a label is free, instant and completely safe. Rename one file in a few seconds, or a folder of them with a single command, and the images stay exactly as they were. Keep a converter in mind only for the rarer case where the file turns out not to be a JPEG underneath, which you will know because renaming it will not have worked.