General Guide

How to Bulk Change File Extensions on Windows 11 & Mac

Kirill Isachenko
Kirill Isachenko
3 min read

日本語で読む: 拡張子を一括変更する方法:Windows 11・Mac別の手順と注意点

TL;DR: To bulk change file extensions on Windows 11, run ren *.jpeg *.jpg in Command Prompt or use PowerRename. On Mac, select files in Finder, choose Rename -> Replace Text, or run a short zsh loop in Terminal. Remember that changing an extension only renames the label—it does not convert HEIC to JPG or PNG to WebP. For content-based batch renaming of photos, PDFs, and screenshots, use Zush.

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)

  1. Open the folder in File Explorer, click the address bar, type cmd, and press Enter.
  2. Run:
    Terminal window
    ren *.jpeg *.jpg
  3. All .jpeg files in that folder immediately become .jpg.

Method 2: PowerShell (supports preview and subfolders)

Run with -WhatIf first to preview changes safely:

Terminal window
Get-ChildItem -Filter *.txt | Rename-Item -NewName { $_.Name -replace '\.txt$','.md' } -WhatIf

Remove -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)

  1. In Finder, make sure extensions are visible (Finder → Settings → Advanced → Show all filename extensions).
  2. Select the files, right-click → Rename…, choose Replace Text.
  3. Enter .jpeg in Find and .jpg in Replace with, then click Rename and confirm the macOS prompt.

Method 2: Terminal (zsh loop)

Terminal window
for f in *.jpeg; do mv "$f" "${f%.jpeg}.jpg"; done

When to rename extensions vs rename the whole file

GoalBest toolSafe?
Normalize .JPEG → .jpg or .txt → .mdCommand Prompt / Finder Rename / PowerRenameYes (same underlying format)
Turn .heic into .jpg or .png into .webpImage converter (Preview, Sips, ImageMagick, Sharp)Do not just rename the extension
Turn IMG_4821.jpg & scan_004.pdf into descriptive namesZush AI file renamerYes (preview + persistent batch undo)