
Outils / Automate suite
Paste file names, set find-replace, number and case rules, and get a checked rename script and an undo script.
Paste a list of file names and set the rules. The tool shows every old and new name, flags name clashes and names Windows does not allow, and writes a bash script, a PowerShell script, an undo script and a CSV. It never touches your files.

What is inside
Find and replace as plain text or a JavaScript regular expression (with $1 and $& in the replacement, and an ignore-case switch). Add as many find-and-replace pairs as you need; they run in order and you can move or remove each one, spaces to hyphens or underscores, prefix, suffix, numbering before or after the name with padding, and four case styles.
Apply find and replace to the part before the last dot, or to the whole name. Optionally lowercase the extension.
Two files getting one name, empty names, names with a slash, a file listed twice. These block the scripts. Case-only clashes and Windows-only problems (reserved characters, names such as CON or NUL.txt, a trailing space or period) are shown as Check.
Quotes every name, uses -- so names that start with a hyphen work, and never overwrites. If a new name is another listed file's current name, as in a swap, every file goes through a temporary folder first.
A second script that moves every file back, built from the same list.
Rename-Item with -LiteralPath, plus a CSV of old name, new name and whether it changes.
How to use it
Step 1
Paste the file names, one per line, from one folder.
Step 2
Set the rules and read the preview. Resolve anything marked Fix.
Step 3
Download rename.sh or rename.ps1, and keep undo.sh beside it.
Step 4
Open the script, read it, then run it inside the folder.
What it cannot do
It works from the names you paste. If a new name already exists in the folder, the bash script skips that file and says so. The PowerShell script stops with an error.
No dates, photo tags or audio tags. This tool renames from the name text only.
photo.tar.gz is treated as photo.tar plus .gz.
Only the bash script was run against real files. Read the PowerShell script before use.
The tool does not know whether your file system treats Name and name as one file. It warns about case-only clashes.
5,000 names per run.
What it does
| What it is | A web page that writes scripts |
| Preview | Old and new names, with clash checks |
| Methods | Replace, prefix, suffix, numbering, case, spaces |
| Regular expressions | Yes, JavaScript |
Common mistakes
Stripping a number or date can make names equal. The tool marks it Fix and writes no script.
Renaming a to b, then b to a, loses a file. The script uses a temporary folder when new names are other files' current names.
Names such as CON or NUL.txt, characters like : and ?, and a trailing space or period are not allowed on Windows, per the Microsoft page.
The bash script uses -- so mv does not read them as options.
The preview shows no change, so you can see it before running.
Read the script first. The undo script only works if the folder has not changed since.
Every plan generates the reverse script too. Run undo.sh and every name goes back.
Reserved device names like CON, PRN, NUL and COM1 to COM9 are flagged before they bite.
Add as many find-and-replace pairs as the job needs; they run top to bottom, regex optional.
Up to 500 rows of before and after, checked for collisions and empty names, before you download a thing.
Questions
No. It writes text. You run the script.
Yes, with undo.sh, if you run it in the same folder before other changes.
Not by itself. The bash script skips a name that already exists and the PowerShell script stops.
Nothing. No account.
No. It writes scripts - bash, PowerShell, and an undo - that do the renaming when you run them.
The extension is everything after the last dot, so photo.tar.gz keeps .gz only.
JavaScript. $1 and $& work in the replacement, with an ignore-case switch.
Your data
The tool runs in this browser tab. The names you paste stay in the page. Nothing is uploaded, fetched or opened, and no file on your computer is read or changed.
Keep going
Input To Output
Pipeline
Before After
Before After
Before After
Before After
Before After
Spec Sheet
Before After
Bar Compare
Spec Sheet
Spec Sheet
Input To Output
Input To Output
Input To Output
Input To Output
Pipeline
Spec Sheet