Home / ZER0 Vault / ZERO Bulk Renamer
Bulk File Renamer: Number, Find and Replace or Tidy File Names, With Undo
Rename lots of files at once, with a preview first and an undo.
Short link to share: zeroupdates.org/renamer
What it does
Renames the files directly inside a folder in one go. You can number them (trip-001.jpg, trip-002.jpg and so on), find and replace text in the names, or tidy them up so they are lowercase with dashes instead of spaces. It shows you what will change and asks before it does anything, and it keeps an undo file.
How to use it
- Install Python 3 (no extra libraries needed).
- Run the script and drag the folder in, or paste its path.
- Choose 1 (number them), 2 (find and replace) or 3 (tidy up).
- Read the preview, type
yto go ahead. - Changed your mind? Run it again and choose
Uto put the old names back.
Requirements
Python 3. No extra libraries.
Good to know
- It only renames files directly inside the folder you give it, not files in sub-folders, and it skips hidden files.
- If a new name would clash with a file that already exists, that file is left alone.
- The undo file,
rename-undo.json, remembers only the most recent rename in that folder. Undo before you rename again. - Try it on a copy of the folder first if the files matter a lot.
Is it safe?
Read the script first: it is plain text and takes a minute. Only run files you trust, and check the SHA-256 below matches what you downloaded.
SHA-256 of ZERO-Bulk-Renamer.py:
c2cade54a4f137b32b805ffaa3b9581127dbb70bca6ded156353acedb411905b
On Windows: certutil -hashfile ZERO-Bulk-Renamer.py SHA256. On macOS or Linux: shasum -a 256 ZERO-Bulk-Renamer.py.
Made by ZER0 Updates and provided as is, with no warranty. You are responsible for how you use it. Back up anything important before running a tool that changes or deletes files.
More tools
- ZERO Bulk Image CompressorShrink a whole folder of JPG, PNG and WebP pictures in one run, with three quality levels.
- ZERO PDF MergerJoin every PDF in a folder into one file, offline.
- ZERO Bulk File OrganizerRename messy files and sort them into Images, Videos, Music and Documents folders.
- ZERO Auto-CleanerDelete temporary and cache files to free up disk space.
- ZERO PC OptimizerA small Windows script that clears temp files, flushes DNS and switches to the High Performance power plan.
- ZERO Folder LockerHide a private folder behind a simple password prompt.
- ZERO WiFi Password RevealerShow the passwords of Wi-Fi networks your Windows PC has already saved.
- ZERO WiFi Password ViewerPython version of the Wi-Fi password viewer: lists saved networks on Windows and Linux.
- ZERO Playlist to MP3Turn a YouTube playlist or single video into numbered MP3 files using yt-dlp.
- ZERO Subtitle DownloaderFind English subtitles for the video files in a folder, using the subliminal library.
- ZERO Unfollower TrackerSee who you follow on Instagram that does not follow you back, using your own data export. No login.
- ZERO Duplicate File FinderFind identical files in a folder and optionally move the extra copies aside. Nothing is deleted.
- ZERO Password GeneratorMake strong random passwords on your own computer. Nothing is saved or sent.
- ZERO File Hash CheckerCheck that a download is exactly the file the publisher meant you to get.
- ZERO QR Code MakerTurn a link, some text or your Wi-Fi details into a QR code image.
- ZERO Folder Size ReportSee which folders and files take up the most space on your drive.