🏷️ Batch File Renamer

Batch File Renamer for Images

Rename a whole folder of photos in one pass with numbers, letters, prefixes or your own pattern, then download the files as a ZIP. It runs in your browser, so nothing is uploaded.

  • ✓ Live before/after preview
  • ✓ Custom patterns with {name} and {index}
  • ✓ Free, no account, no install
🏷️

Drop your images here

or click to select — JPG, PNG, WEBP, AVIF, GIF, BMP, TIFF, ICO and more

🔒 100% private. All renaming happens in your browser. No files are sent to any server.

What is a batch file renamer?

A batch file renamer applies one naming rule to many files at once, so you don't have to retype each name. You pick the rule, such as "trip-001, trip-002", and every image gets a consistent, predictable name in seconds.

This one is built for images. You can number or letter files, add a prefix or suffix to the existing names, find and replace text, swap spaces for hyphens and change the case. With custom patterns you can mix the original name, a counter and your prefix any way you like.

Each new name shows up in a live preview before anything is written. When you're happy, download single files or one ZIP. Your originals on disk stay exactly as they were.

How to batch rename files in 5 steps

  1. Add your images

    Drop files on the box or click to pick them. You can add more later with the Add More button.

  2. Choose a rename mode

    Replace the name completely, or keep the original name and add a prefix or suffix to it.

  3. Set the pattern

    Pick numbers, letters or a custom pattern. Set the start number, step and zero padding.

  4. Clean up and check

    Use find & replace, space and case options, then read the Original → Renamed preview.

  5. Download

    Click Apply, then save files one by one or press Download All as ZIP.

Supported formats

JPG / JPEGinput · output

Bytes are copied untouched; only the name changes.

PNGinput · output

Transparency and metadata stay exactly as they were.

WebP / AVIFinput · output

Modern web formats are renamed like any other file.

GIF / BMP / ICOinput · output

Animated GIFs keep every frame.

TIFF / SVGinput · output

TIFF shows a placeholder thumbnail in most browsers.

HEIC / HEIFinput · output

iPhone photos are renamed without conversion.

There is no file-size limit because files are only re-labelled, never decoded or re-encoded. The ZIP is built in memory, so very large batches (several GB) depend on your device's RAM. The ZIP library loads from a CDN the first time you use it.

How does it work?

The renamer reads each file you select with the browser's File API. When you change a setting it rebuilds every name, then cleans each one up: characters that Windows, macOS or Linux reject (such as \ / : * ? " < > |) become underscores, and reserved names like CON or NUL get a leading underscore. The extension is kept and lower-cased.

🔒

Nothing is uploaded

Files are read from your disk into browser memory and never sent to a server.

🧮

Duplicate-safe names

If two files would end up with the same name, the tool appends -2, -3 and so on before the extension.

📦

Uncompressed ZIP

JSZip packs the files in "store" mode, so images go in byte-for-byte with no recompression.

Which rename mode should you use?

The rename mode decides whether the original filename survives. Pick it first, because it changes what the other settings do.

Replace completely

This mode throws the old name away and builds a fresh one from your prefix and a counter. A prefix of "Summer Trip" with three-digit padding gives summer-trip-001.jpg, summer-trip-002.jpg and so on. Leave the prefix empty and you get image-1.jpg. Use it when the camera names mean nothing to you.

Add prefix or add suffix

These modes keep the original name and attach text to it, joined with a hyphen. DSC_0412.jpg with the prefix "client" becomes client-DSC_0412.jpg. Find & replace, space handling and case conversion apply to the original part, so you can tidy it at the same time.

Writing custom patterns

Choose "Custom Pattern" when the standard modes are too rigid. The pattern is a template, and four tokens are swapped in for each file:

  • {name} is the original filename without its extension, after find & replace and cleanup.
  • {index} is the counter, with your start, step and padding.
  • {prefix} is whatever you typed in the Prefix box.
  • {ext} is the extension without the dot.

For example, {prefix}_{index}_{name} with prefix "2024-06-wedding" and padding 3 turns IMG_8812.HEIC into 2024-06-wedding_001_IMG_8812.heic. You keep the camera number for traceability and gain a sortable date and sequence.

Filename rules that work on every system

A name that's fine on your Mac can break on a Windows PC, a web server or a client's cloud drive. A few habits avoid almost every problem:

  • Use lowercase letters, digits and hyphens. Some servers and cloud drives treat Photo.jpg and photo.jpg as different files.
  • Avoid spaces in anything that will end up in a URL, where they turn into %20.
  • Put dates in year-month-day order (2024-06-15) so they sort in time order.
  • Keep names short. Windows has a classic 260-character limit on the full path, and deep folders reach it fast.

The tool replaces illegal characters for you, but planning the scheme yourself gives names people can still read years later. If you're renaming for a website, our bulk rename guide for SEO covers keyword-friendly names.

Frequently asked questions

No. Browsers are not allowed to rename files in your folders. The tool creates renamed copies that you download, either one by one or as a ZIP. Your originals stay where they are, so you can delete or archive them yourself once you have checked the new set.
There is no fixed limit in the tool. Renaming is instant because no pixels are processed. The practical limit is memory when you build the ZIP, since the whole archive is assembled in the browser. A few thousand normal photos works on a typical laptop.
No. The file contents are copied byte-for-byte, and the ZIP uses no compression. Pixels, colour profile, EXIF data and file size are identical to the original. Only the name on the outside of the file changes. You can safely rename final, edited files.
The tool checks every result and, when a name is already taken, appends -2, -3 and so on before the extension. The check ignores letter case, because Windows and macOS treat Photo.jpg and photo.jpg as the same file and one would overwrite the other.
Yes. Choose Custom Pattern and use a template such as {name}-{index}. Each file keeps its original name, after any find and replace or cleanup, followed by the counter. You can put the counter first with {index}-{name} so the files sort in your chosen order.
Set Zero Padding to the number of digits you want. A value of 3 gives 001, 002 up to 999, then 1000. Choose a padding at least as long as your largest number so every file sorts correctly in any program.
Numbers follow the order of the Uploaded Files list, which is the order your browser hands the files over. Many systems pass them alphabetically, but not all do. If order matters, check the preview, remove any file that is out of place and add it again so it moves to the end.
No. The search text is matched literally, so characters like dots or brackets are treated as plain text. Matching ignores case and replaces every occurrence in the original name. Leave Replace With empty to delete the matched text. Each match is replaced throughout the name.
The renamer normalises extensions to lowercase, so IMG_001.JPG becomes something like image-1.jpg. This avoids case clashes on web servers and keeps folders consistent. If a file has no extension, the tool adds one based on its file type when it can.
Renaming and single downloads work entirely offline once the page has loaded. The ZIP option loads the small JSZip library from a CDN the first time you use it. If that fails, download the files individually instead. Your files are never sent anywhere either way.