Skip to the tool
Dunk’s Bible Palace

Bulk Renamer

Rename lots of files at once with find and replace, numbers, dates and capitals, and check every new name before anything changes.

Runs on your device

1. Choose your files

Drop files or a folder here

or

Any kind of file, up to 20,000 at a time.

Opening a folder lets this page rename the files right where they are, once you say yes.

No files yet.

2. Rules

Rules work from top to bottom, each starting from the name the one above left. The ending (such as .jpg) is kept unless a rule says otherwise.

    No rules yet. Add one below, or pick a ready-made set under Starting points.

    Add a rule

    Starting points and saved rules

    Saved sets stay in this browser only. To keep them safe or use them on another computer, save them as a file.

    More options

    Leave empty to rename every file. A star stands for any letters: IMG_* matches every name starting IMG_.

    Keeping names safe

    3. Check the new names

    Each file’s name now and its new name
    Rename it No. Name now New name What to know
    Choose some files to see their new names here.

    4. Save the new names

    Choose some files first.

    Other ways to save

    A script renames the files on your own computer without copying them, which is best for big videos or thousands of photos. It never writes over a file and stops at the first problem.

    How it works

    Your files stay on your device. This page only reads their names, sizes and dates (and, for a photo date, the first part of each photo), and nothing is sent anywhere.

    Add rules, watch the table, and change anything that looks wrong before you save. Rows with a problem are marked with a cross and say what to change; nothing with a problem is ever renamed.

    Renaming where the files are, and undoing it

    In Chrome and Edge on a computer, Open a folder lets this page rename the files in that folder after you allow it. Swaps such as A to B and B to A are done safely through a short temporary name. When it is done, Undo puts every name back, and you can save an undo script to do that later.

    Other browsers cannot rename your files, so you get a ZIP of renamed copies (your originals are untouched), or a small script that renames them on your computer.

    Patterns, dates and regular expressions

    In Add text and New name from a pattern you can use pieces in curly brackets: {name} the name so far, {original} the starting name, {n:3} a number with three digits, {date} or {date:YYYYMMDD} the date it was last changed, {taken} the date a photo or video was taken, {folder} its folder, {ext} its ending and {size} its size.

    Dates use YYYY (year), MM (month), DD (day), HH (hour), mm (minutes) and ss (seconds); MMMM gives the month’s name. Put words in square brackets to keep them as they are, such as [Week] W.

    In Find and replace, set Match to Regular expression for patterns. (\d+) finds a run of digits, and $1 in Replace with puts back what the first pair of brackets found. For example, find IMG_(\d+) and replace with Photo $1.

    Why some names are changed for safety

    Windows cannot use < > : " / \ | ? * in names, and refuses names ending in a dot or a space, and names like CON or NUL. With Make every name safe on, those are swapped so the names work on any computer. Two files in one folder cannot share a name, so a clash gets a number such as (2).

    Rename the files?