How to Change JPG to JPEG (And Whether You Even Need To)
If you've ever tried to upload a photo and been told the file format is wrong — only to realize the file is .jpg and the system wants .jpeg — you've stumbled into one of the most harmless pieces of confusion in all of computing. Here's the short version: JPG and JPEG are the same format. But if you genuinely need to rename or convert the extension, there are fast ways to do it across every major platform.
JPG vs JPEG: What's Actually Different
Nothing — technically. Both extensions refer to the JPEG image format (Joint Photographic Experts Group), a lossy compression standard developed in the early 1990s. The only reason two extensions exist comes down to legacy file system limitations.
Early versions of Windows (specifically MS-DOS and Windows 3.x) enforced an 8.3 filename rule: file names could have a maximum of eight characters, and extensions could only be three. So .jpeg got truncated to .jpg. Unix and Mac systems didn't have that restriction, so .jpeg remained in wider use there.
Modern operating systems handle both identically. A file named photo.jpg and a file named photo.jpeg that contain the same data are indistinguishable to any image viewer, browser, or editing tool — the extension is just a label.
Why You Might Still Need to Change the Extension
Even though they're equivalent, real-world situations sometimes force your hand:
- A web form or CMS validates file extensions as text strings and only accepts
.jpeg - A legacy system or client specification requires a specific extension
- A batch of files needs to be standardized for consistency in a project folder
- You're working with an API or automation script that pattern-matches on extension
In these cases, you're not converting anything — you're renaming. No image data changes. No quality is lost.
How to Change .JPG to .JPEG on Windows
Method 1: Manual Rename
- Open File Explorer and navigate to your image
- Right-click the file and select Rename
- Change
.jpgto.jpegat the end of the filename - Press Enter and confirm if prompted
⚠️ If you don't see file extensions in File Explorer, go to View → Show → File name extensions (Windows 11) or View → Options → View tab → uncheck "Hide extensions for known file types" (Windows 10).
Method 2: Bulk Rename via Command Prompt
To rename all .jpg files in a folder to .jpeg at once:
ren *.jpg *.jpeg Run this in Command Prompt from the target folder. This renames every .jpg in that directory — no conversion, just extension relabeling.
How to Change .JPG to .JPEG on macOS
Method 1: Manual Rename
- Click the file once to select it in Finder
- Press Return to enter rename mode
- Edit the extension from
.jpgto.jpeg - Press Return and confirm the change when prompted
Method 2: Batch Rename with Automator or Terminal
For multiple files via Terminal:
for f in *.jpg; do mv "$f" "${f%.jpg}.jpeg"; done Run this from the folder containing your images. It loops through every .jpg and renames it .jpeg without touching the file content.
How to Change .JPG to .JPEG on Mobile
Android
File manager apps like Files by Google allow you to rename files manually. Tap and hold the file, select Rename, and change the extension. Note: some Android file managers hide extensions by default — look for a setting to show them.
iPhone / iOS
iOS is more restrictive. The built-in Files app allows renaming but may not display or allow editing of file extensions depending on your iOS version. Third-party file manager apps generally offer more control over extension visibility and editing.
Using Online Tools and Image Editors 🖼️
If you're dealing with a file that came from an unusual source and want to be certain the output is a clean JPEG, opening and re-exporting the image through an editor is a reliable approach.
Any image editor — desktop apps like Photoshop, GIMP, or Preview (macOS), or browser-based tools — lets you:
- Open the source image
- Export or "Save As" with
.jpegas the chosen extension
This does re-encode the image (which can affect quality with lossy compression settings), so it's worth doing only when genuinely needed. For a pure rename, stick to the file manager or terminal methods above.
| Scenario | Best Approach |
|---|---|
| Single file, any platform | Manual rename in file manager |
| Many files, Windows | ren *.jpg *.jpeg in Command Prompt |
| Many files, macOS/Linux | Terminal loop with mv |
| Re-export needed | Image editor Save As |
| Mobile, one-off | File manager app rename |
The Variable That Changes Everything
The method that makes sense depends almost entirely on how many files you're dealing with, which platform you're on, and whether this is a true rename or an actual re-export situation. Someone standardizing a folder of 300 product photos on macOS has a very different path than someone fixing a single upload error on their phone.
The technical gap between .jpg and .jpeg is essentially zero — but your workflow, operating system, and the specific system rejecting your file all shape which solution actually fits your situation.