How to Bulk Change File Extensions on Windows 11 & Mac
日本語で読む: 拡張子を一括変更する方法:Windows 11・Mac別の手順と注意点
Quick answer: to bulk change file extensions on Windows 11, open Command Prompt in the target folder and run ren *.jpeg *.jpg (or use PowerRename with Apply to: Extension only). On macOS, select the files in Finder, right-click → Rename, choose Replace Text, and replace .jpeg with .jpg.
Important warning: changing a file extension only changes the name, not the underlying file format. Renaming .jpeg to .jpg or .htm to .html works because they are the same format. Renaming .heic to .jpg or .png to .webp does not convert the image and can prevent apps from opening it.
Bulk change file extensions on Windows 11
Method 1: Command Prompt (fastest for one folder)
- Open the folder in File Explorer, click the address bar, type
cmd, and press Enter. - Run:
Terminal window ren *.jpeg *.jpg - All
.jpegfiles in that folder immediately become.jpg.
Method 2: PowerShell (supports preview and subfolders)
Run with -WhatIf first to preview changes safely:
Get-ChildItem -Filter *.txt | Rename-Item -NewName { $_.Name -replace '\.txt$','.md' } -WhatIfRemove -WhatIf once the preview looks right.
Method 3: Microsoft PowerRename (GUI preview)
Install PowerToys, right-click the selected files → Rename with PowerRename, set Apply to to Extension only, enter the old extension in Search for and the new one in Replace with, then click Apply. See our full PowerRename guide.
Bulk change file extensions on Mac
Method 1: Finder Rename (built-in)
- In Finder, make sure extensions are visible (Finder → Settings → Advanced → Show all filename extensions).
- Select the files, right-click → Rename…, choose Replace Text.
- Enter
.jpegin Find and.jpgin Replace with, then click Rename and confirm the macOS prompt.
Method 2: Terminal (zsh loop)
for f in *.jpeg; do mv "$f" "${f%.jpeg}.jpg"; doneWhen to rename extensions vs rename the whole file
| Goal | Best tool | Safe? |
|---|---|---|
Normalize .JPEG → .jpg or .txt → .md | Command Prompt / Finder Rename / PowerRename | Yes (same underlying format) |
Turn .heic into .jpg or .png into .webp | Image converter (Preview, Sips, ImageMagick, Sharp) | Do not just rename the extension |
Turn IMG_4821.jpg & scan_004.pdf into descriptive names | Zush AI file renamer | Yes (preview + persistent batch undo) |


