Batch Image Rename

Batch rename image files using patterns, text replacement, numbering, and case conversion. Returns renamed files as a ZIP download.

Example Results

2 examples

Sequential numbering

Rename files with sequential numbers

image-rename-example.zip View File
View input parameters
{ "imageFiles": [ "photo1.jpg", "photo2.jpg" ], "renamePattern": "Photo_{n:03}", "startNumber": 1 }

Date-based naming

Rename files with date and number

image-rename-date.zip View File
View input parameters
{ "imageFiles": [ "IMG.jpg" ], "renamePattern": "{year}{month}{day}_Photo_{n:03}" }

Click to upload files or drag and drop files here

Maximum file size: 2000MB Maximum files: 100
Supported formats: image/*

Use {name} for original name, {n} for number, {n:03} for padded number, {date}, {time}, {year}, {month}, {day}, {hour}, {minute}, {second}, {ext}

Leave pattern empty to use this option

e.g., "Vacation_" or "IMG_"

e.g., "_edited" or "_final"

Starting number for {n} placeholder

Key Facts

Category
Images, Audio & Video
Input Types
file, text, number, select
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

The Batch Image Rename tool allows you to quickly rename up to 100 image files simultaneously using custom patterns, sequential numbering, text replacement, and case conversion. Simply upload your images, configure your naming rules, and download the organized files in a single ZIP archive.

When to Use

  • When you need to organize a large set of camera photos by adding sequential numbers or date stamps to their filenames.
  • When you want to standardize image filenames for a website by converting them to lowercase or kebab-case.
  • When you need to replace specific text strings, prefixes, or suffixes across multiple image files at once.

How It Works

  • Upload up to 100 image files that you want to rename.
  • Define your renaming rules by entering a pattern (using placeholders like {n}, {year}, or {name}), setting up find-and-replace text, or choosing a case conversion style.
  • Process the files and download the renamed images packaged inside a ZIP archive.

Use Cases

Sorting vacation photos by renaming them with sequential numbers like Photo_001, Photo_002, and so on.
Formatting product images for an e-commerce store to use lowercase kebab-case for better SEO.
Adding date prefixes to screenshots to keep project assets chronologically organized.

Examples

1. Sequential Photo Numbering

Photographer
Background
A photographer has uploaded 50 raw camera images named DSC_0842.jpg, DSC_0843.jpg, etc., and wants to rename them for a client preview.
Problem
The original camera filenames are confusing and do not indicate the project name or order.
How to Use
Upload the images, set the Rename Pattern to 'Client_Preview_{n:03}', and set the Start Number to 1.
Example Config
Rename Pattern: Client_Preview_{n:03}, Start Number: 1
Outcome
The images are renamed to Client_Preview_001.jpg, Client_Preview_002.jpg, etc., and downloaded in a ZIP archive.

2. E-commerce Image Standardization

Web Developer
Background
A developer needs to upload product images to an online store, but the files have inconsistent casing and spaces.
Problem
Filenames like 'Red Running Shoe.PNG' and 'BLUE_JACKET.JPEG' need to be standardized to lowercase kebab-case for web compatibility.
How to Use
Upload the product images and select 'kebab-case' from the Case Conversion dropdown.
Example Config
Case Conversion: kebab
Outcome
Filenames are converted to 'red-running-shoe.png' and 'blue-jacket.jpeg' and delivered in a ZIP file.

3. Adding Date Prefixes to Project Assets

Content Creator
Background
A creator has a collection of screenshots for a monthly report and wants to prefix them with the current date.
Problem
Manually typing the date at the beginning of every screenshot filename is tedious.
How to Use
Upload the screenshots, set the Rename Pattern to '{year}{month}{day}_{name}', and run the batch process.
Example Config
Rename Pattern: {year}{month}{day}_{name}
Outcome
The screenshots are renamed to prepended dates like 20260330_screenshot1.png and packaged into a ZIP file.

Try with Samples

image, text, file

Related Hubs

FAQ

What placeholders can I use in the rename pattern?

You can use {name} for the original name, {n} for sequential numbers, {n:03} for padded numbers, {ext} for the file extension, and date/time tags like {year}, {month}, {day}, {hour}, {minute}, and {second}.

Can I convert the filename case to match web standards?

Yes, you can convert filenames to lowercase, UPPERCASE, Title Case, Sentence case, snake_case, or kebab-case using the Case Conversion option.

How many images can I rename at one time?

You can upload and rename up to 100 image files in a single batch.

How do I receive the renamed files?

The tool processes your images and packages them into a single ZIP file for you to download.

Can I add prefixes or suffixes without changing the entire filename?

Yes, you can use the 'Add Prefix' and 'Add Suffix' fields to append text to the beginning or end of the original filenames without applying a full rename pattern.

API Documentation

Request Endpoint

POST /en/api/tools/image-batch-rename

Request Parameters

Parameter Name Type Required Description
imageFiles file (Upload required) Yes -
renamePattern text No Use {name} for original name, {n} for number, {n:03} for padded number, {date}, {time}, {year}, {month}, {day}, {hour}, {minute}, {second}, {ext}
findText text No Leave pattern empty to use this option
replaceText text No -
addPrefix text No e.g., "Vacation_" or "IMG_"
addSuffix text No e.g., "_edited" or "_final"
startNumber number No Starting number for {n} placeholder
caseConversion select No -

File type parameters need to be uploaded first via POST /upload/image-batch-rename to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-image-batch-rename": {
      "name": "image-batch-rename",
      "description": "Batch rename image files using patterns, text replacement, numbering, and case conversion. Returns renamed files as a ZIP download.",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-batch-rename",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]