How to Batch Rename Files (Photos, Numbers and Dates Without Breaking Anything)
Batch rename photos and files with a pattern: numbers that sort correctly, the date taken, intact extensions and no duplicate names. Free, in your browser.
Updated November 25, 20266 min read
To batch rename files, open the batch renamer, drop in the files, pick a pattern such as Prefix + number or Date + sequence, check the list of new names and download them. The files themselves are not changed: the bytes that come out are the bytes that went in, with a new name. What takes thought is the pattern. A good one sorts in the right order on every computer, says what each file is, and still makes sense when the folder has grown to a thousand files. This guide explains how to choose one, then goes through the steps.
Why consistent file names matter
A camera calls its photos IMG_4021.JPG, a phone uses a date and a counter, a messaging app adds its own prefix, and screenshots arrive with spaces and brackets. Put them in one folder and they sort in no useful order. A consistent name fixes four practical problems:
- Order. Names that start with a date or a padded number sort the same way in every file manager, upload form and archive.
- Meaning.
wedding-ceremony-014.jpgtells a client what they are looking at;DSC_0193.JPGdoes not. - No clashes. Two cameras both produce
IMG_0001.JPG. Merging their folders without renaming overwrites one of them. - Clean web addresses. Lower-case names without spaces work as image URLs without being turned into
%20codes.
Choosing a naming pattern
A pattern is text with tags in curly brackets. {name} is the original name without its extension, {n} is the number, {date} and {time} come from when the photo was taken, and {w} and {h} are its width and height. The presets under Start from fill the Pattern box for you, and you can edit what they put there:
| Preset | Pattern | Example result |
|---|---|---|
| Prefix + number | photo-{n} | photo-001.jpg |
| Name + number | {name}_{n} | IMG_4021_01.jpg |
| Date and time | {date}_{time} | 2026-11-25_143012.jpg |
| Date + sequence | {date}_{n} | 2026-11-25_001.jpg |
| Camera + date | {camera}_{model}_{date}_{n} | Canon_EOS R6_2026-11-25_001.cr2 |
| Name + size | {name}_{w}x{h} | banner_1920x1080.png |
| Tidy up | {name} in kebab-case | Summer Trip 01.JPG becomes summer-trip-01.jpg |
Replace photo with a word that describes the set, such as a client, an event or a product code. Dates accept a format: {date:YYYY.MM.DD} or {date:DD-MM-YYYY}. For sorting, year first is the only form that works, because 2026-01-05 comes after 2025-12-31 alphabetically and 05-01-2026 does not. Other tags cover {year}, {month}, {day}, {ext}, {folder} and {rand}. A tag the tool does not know is flagged under the box and left in the name as typed.
Batch renaming files, step by step
Add the files
Open Batch Rename and drop the files on Drop your files here. JPG, PNG, HEIC, RAW formats such as CR2, NEF, ARW and DNG, and videos all work, because nothing is decoded. Files without a preview get a placeholder tile.
Pick a pattern
Choose a preset under Start from, or type into Pattern and tap the tags below it to insert them. The New names list updates with every change, showing Now and Becomes for each file.
Set the order and the numbering
Under Order, choose As added, Name, Date taken, Size or Type, ascending or descending. Under Numbering, set Start at, Count by and Leading zeros.
Fine-tune the result
Use Find and Replace with to change part of every name, choose a Letter case, and decide what happens to the Extension. Remove any file you do not want from the list.
Download the renamed files
Press Download 15 renamed files (the number follows your batch). The files arrive in one archive with their new names. To reuse the settings later, save them under Saved recipes.
Presets, tags for date taken and camera, numbering, find and replace, and no re-encoding. Free: 15 files at a time, up to 25 MB each. Files are renamed on your device and never uploaded.
Batch rename your filesNumbering that sorts correctly
Many programs sort names letter by letter, so photo-10 lands before photo-2. Leading zeros fix that: with three digits, photo-002 always comes before photo-010. Use enough digits for the largest number you will ever reach in that folder, not just this batch. If your settings need more digits than you chose, for example 200 files starting at 999, the tool raises Leading zeros and tells you why. Start at lets a second batch continue where the first ended, and Count by leaves gaps, such as 10, 20, 30, for files you want to slot in later.
Extensions, find and replace, and letter case
The extension tells the computer which program opens the file, so the pattern never touches it. The Extension setting does: Keep leaves it alone, lower turns .JPG into .jpg, UPPER does the reverse, and Remove drops it. Changing the extension never converts a file; renaming photo.heic to photo.jpg would only make it fail to open. To change the format, use a converter such as HEIC to JPG.
Find and Replace with work on the name the pattern produced, not on the original, so what the list shows is what you get. Leave Replace with empty to delete text, such as a Copy of prefix. Tick Use a regular expression for patterns, and Match upper and lower case exactly when case matters. Letter case runs after that: lower case, UPPER CASE, Title Case, kebab-case (words joined by hyphens) or snake_case (joined by underscores). Kebab-case lower case is the safest choice for files that end up on a website.
Dates, duplicates and safe names
{date}, {time} and the Date taken order read the capture date stored inside the file: EXIF in JPEG, HEIC and RAW photos, and the creation date in videos. That is the moment the shutter fired, which survives copying, unlike the date your computer shows for the file. When a file carries no capture date, the date it was last saved is used instead, and the file is marked File date in the list. Dates use your device's local time.
When two files would end up with the same name, the tool numbers the later one, name (2).jpg, and marks it Renumbered, so no file in the archive replaces another. Characters that Windows or macOS cannot store, such as /, : and ?, become underscores, trailing dots and spaces are removed, and reserved Windows names such as con are avoided. Spaces and hyphens are kept, because they are legal everywhere.
Download or rename in place, and the limits
Deliver as has two options. One archive works in every browser and gives you a ZIP of renamed copies, leaving the originals as they were. Rename in place is a Pro feature that changes the names inside a folder you choose, with an Undo the rename button afterwards; it needs Chrome or Edge. The free plan renames up to 15 files at a time, up to 25 MB each; Pro handles up to 1,000 files. Renaming is often the last step of a job: resize the batch first, or strip the location data before sharing, then give the result its final names.
Frequently asked questions
How do I rename multiple files at once?
Open Batch Rename, drop in the files, choose a preset such as Prefix + number or type a pattern, check the New names list and press Download. All files get their new names in one archive.
How do I rename photos by the date they were taken?
Choose the Date + sequence preset. It uses the capture date stored in each photo and sorts by Date taken, so 001 is the earliest picture. Files with no capture date fall back to their file date and are marked.
How do I number files so they sort correctly?
Use leading zeros. With three digits, photo-002 sorts before photo-010 in every program. Set Leading zeros to cover the largest number the folder will reach; the tool raises it if your batch needs more.
Does renaming change the quality of my photos?
No. Nothing is decoded or re-encoded. The file that comes out is byte for byte the file that went in; only its name is different.
Can I change the file extension with a batch rename?
You can change its case or remove it, but renaming does not convert the file. A HEIC photo renamed to .jpg is still HEIC inside. Use a converter to change the format.
Are my files uploaded when I rename them?
No. The names are worked out and the archive is built on your own device. With Rename in place, the files are renamed directly in the folder you choose.