Back to Blog
Windows2025-01-256 min read
How to Bulk Rename File Extensions in Windows 10 & 11
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 1. Open File Explorer 2. View → Show → File name extensions
Windows 10 1. Open File Explorer 2. 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.