企评社

Interface labels are shown in English. Company reviews, forum posts and tool descriptions are currently available in Chinese only.

Batch rename images

Generate new file names by rules such as prefix plus index, preview and check them one by one, then download the archive.

图片只在你自己的浏览器里读取和改名,不会上传服务器

请先看这一条:本工具不能直接修改你磁盘上的文件名

受浏览器安全限制,网页无法改动本地已有文件的名字。所以本工具做的是:按你的命名规则生成重命名后的副本并下载(多张自动打包成一个 zip)。下载完成后,你可以用新文件替换旧文件,或直接删除原来的那批图片。原文件不会被删除、也不会被改动。

把图片拖到这里,或点击选择

支持 JPG / PNG / WebP / GIF / BMP,可多选;单张建议不超过 30MB

命名规则

关闭后输出名不含扩展名,下载时请自行补充;扩展名一律规范为小写(.JPG → .jpg)

例:20260118-图片-01.jpg

原名处理(对上面「前缀」以外的部分生效:不勾选「保留原扩展名」时,原文件名会作为主体)

图片-01.jpg

规则说明:新文件名 = 日期前缀(可选)+ 前缀 + 分隔符 + 序号 + 扩展名; 序号按下面列表的顺序(第 1 项为起始序号)依次分配,列表顺序可用按钮调整。

图片批量重命名怎么用?先弄清「不能改原文件名」这件事

为什么下载下来是新文件?所有网页都跑在浏览器的沙箱里,出于安全考虑,网页拿不到你磁盘上文件的路径,也不能改名、移动或删除本地文件——这是浏览器的硬限制,不是本工具偷懒。所以这里采用的做法是:把每张图片按新文件名另存一份并打包给你,你下载解压后用新文件替换旧文件即可。原图不会被改动,处理到一半关掉页面也不会留下任何残留。

典型场景。给商品图统一编号(SKU-001.jpg);把手机导出的 IMG_2031.jpg 这类无意义名字整理成可检索的序号;按提交要求把材料改成「姓名-序号」;给一批老照片统一加日期前缀便于按时间排序。这些只需要前缀 + 序号 + 补零位数三个参数就能搞定。

操作顺序很关键。序号是按列表顺序分配的,所以先决定顺序再下载:你可以在列表里拖动行,也可以用「按文件名 / 按大小 / 按修改时间」一键排序,还可以用每行的 ↑ ↓ ⤒ ⤓ 精确微调。顺序一变,右侧的新文件名会立刻重算,不用重新添加文件。

补零位数怎么选。补零决定排序是否"自然":100 张以内的图片用 2 位补零(01、02…)在 Windows 资源管理器里排序正常,但到 100 就会排到 99 后面变成 100、99、98 这种乱序观感;图片超过 99 张时建议用 3 位(001…),超过 999 张用 4 位。

重名与替换的注意点。列表里新名字重复的行会标红提示,导出时工具会自动加 -2、-3 兜底,保证 zip 里不会互相覆盖,下载后在列表中核对一下即可。输出扩展名会被规范成小写(.JPG → .jpg),这既避免了 Windows / macOS 上大小写不敏感导致的同名冲突,也让整批文件命名更整齐。

Privacy note:选中的图片只在你的浏览器内存里被读取(缩略图用本地 URL 生成),既不发起任何上传请求,也不会被保存到服务器。证件照、合同照片、工资条这类敏感图片可以放心处理,你可以打开浏览器开发者工具的 Network 面板自行核验。

FAQ

Can you rename the files on my computer directly?

No - browsers do not let a web page rename local files. This tool works by producing renamed copies bundled into a download: you download the archive and replace the old files with the new ones. That is a shared limit of every pure-browser renaming tool; if some site claims it renames files on your disk directly, it must be reading and uploading them - be careful.

What order do the sequence numbers follow?

The order of the list. By default that is the order you picked the files; you can also drag rows, or resort by file name / size / modified time. New names recompute immediately after every adjustment, and the starting number is exactly what you set above.

What if two images end up with the same new name?

The list flags the clash in red. On export the tool applies the shared dedupe rule, appending -2, -3 automatically, so nothing overwrites anything inside the zip - still, check the red rows before exporting.

What does find-and-replace under Original-name processing act on?

It acts on the base part of the original file name - useful for stripping prefixes like IMG_ or WeChat Image_ - and it feeds the live preview examples. The default output is numbered naming (prefix + sequence), where find-and-replace only serves as cleanup; if you want to keep original names and only trim spaces, replace text or lowercase them, just leave the prefix and numbering fields empty.

How many images per batch? Does it compress quality?

No hard cap on count; up to about 100 per run is recommended (the zip is assembled in your machine's memory). The tool only changes file names and never re-encodes the image - quality is identical to the original, size stays the same, and every downloaded file is byte-for-byte identical to its source.

Do you support HEIC (iPhone photos)?

Renaming works, but the list cannot show HEIC thumbnails - browsers cannot decode HEIC, which is not a limitation of this tool. Renaming only needs the file name, so nothing else is affected; if you want previews, convert to JPG first with our HEIC-to-JPG tool.

Related tools