How to Bulk Rename File Extensions in Windows 10 & 11
Need to change .txt to .md? .jpeg to .jpg? Here's how to bulk change file extensions safely.
Warning: Extension Changes
Changing extensions doesn't convert files. A .txt file renamed to .pdf won't become a real PDF.
Safe extension changes:
- .jpeg → .jpg (same format)
- .htm → .html (same format)
- .txt → .md (both text)
Method 1: Command Prompt
Change all files in folder
ren *.txt *.mdSpecific pattern
ren image*.jpeg image*.jpgMethod 2: PowerShell
Basic extension change
Get-ChildItem *.txt | Rename-Item -NewName { $_.Name -replace '.txt','.md' }With confirmation
Get-ChildItem *.txt | Rename-Item -NewName { $_.Name -replace '.txt','.md' } -WhatIfRemove -WhatIf to execute.
Recursive (subfolders too)
Get-ChildItem -Recurse *.txt | Rename-Item -NewName { $_.Name -replace '.txt','.md' }Method 3: Bulk Rename Utility
- Open Bulk Rename Utility
- Navigate to folder
- Select files
- In "Extension" section:
- - Check "Fixed"
- - Enter new extension
- Preview changes
- Click Rename
Common Extension Changes
Image formats
.jpeg → .jpg
.tiff → .tif
.PNG → .pngDocument formats
.htm → .html
.txt → .mdFixing incorrect extensions
Sometimes files have wrong extensions. Fixing requires actual conversion, not just renaming.
Showing File Extensions
Before bulk renaming, make extensions visible:
Windows 11
- Open File Explorer
- View → Show → File name extensions
Windows 10
- Open File Explorer
- View tab → Check "File name extensions"
Safety Tips
- Back up first - Copy files before changing
- Test one file - Verify it still opens
- Use -WhatIf - Preview PowerShell changes
- Don't change system files - Stick to your documents
Try File Renamer AI - For complete file renaming beyond extensions.
Free tools
Related Posts
How to Show File Extensions in Windows 11 (and Windows 10)
Show file extensions in Windows 11 from File Explorer View > Show > File name extensions, Folder Options or Settings. Also covers Windows 10 and Mac Finder.
WindowsHow to Bulk Rename Folders in Windows 10 & 11: Complete Guide
Learn how to rename multiple folders at once in Windows. Use File Explorer, PowerShell, Command Prompt, and third-party tools for batch folder renaming.
TutorialHow to Change a File Extension on Windows, Mac, Linux, iPhone and Android
How to change a file extension on Windows 11, Mac, Linux, iPhone and Android, how to rename many at once, and when you need a converter instead of a rename.
Ready to organize your files?
Try AI renaming right away. No sign-up needed until you download.
Try It Free