Skip to content
Jellykit

Batch File Rename

Rename many files at once with find and replace, regular expressions, numbering and dates, checking every new name before you save.

  • Runs on your device
  • Works in the background
Loading tool

About Batch File Rename

Give a pile of files consistent names: holiday photos, scanned pages, exported reports. Combine find and replace (plain text or a regular expression), a prefix and suffix, sequence numbers, the file’s date and letter case, and see each new name next to the old one as you type.

Names that would clash, or that Windows, macOS or Linux would refuse, are marked before anything is saved. Download the renamed files as one ZIP, or, in a browser that can open a folder for writing (Chrome or Edge on a computer), rename them where they are.

How it works

  1. Rules are applied in a fixed order: find and replace on the name without its extension, letter case, the number, the date, then the prefix and suffix around everything, and the extension last.
  2. Numbers follow the order you choose: as the files were added, by name in natural order (file2 before file10), or oldest first.
  3. Each new name is checked for characters such as / : * ? and for names like CON that some systems reserve, and against the other new names, ignoring letter case as macOS and Windows do.
  4. In a folder, files that would take each other’s names (a swap, or numbers shifting along) first move to temporary names, so no file is ever overwritten.

Questions

Does it change the files themselves?

No. Only the names change. The contents are copied unchanged into the ZIP, or the files are renamed in place in the folder you chose.

Why is there no option to rename in my folder?

Renaming files where they are needs the File System Access API with folder write access, which only Chromium-based browsers on a computer offer. Elsewhere the tool saves the renamed files as a ZIP instead.

How do I use parts of the old name?

Turn on Regular expression and capture the parts with brackets, then use $1, $2 and so on in Replace with. For example, find (\d{4})-(\d{2}) and replace with $2.$1. A pattern that runs for more than two seconds is stopped.

Which date does the date option use?

Either today or each file’s last modified date, as the browser reports it, in your local time. Browsers do not give web pages the date a photo was taken or a file was created.

How many files can it handle?

Up to 2,000 files at once. For the ZIP download they may add up to 1 GB, since the archive is built in memory.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.