Skip to content
UniKit

File Date Rename

A pure text mapping: one file name per line, the date is extracted with YYYYMMDD, YYYY-MM-DD, a Unix timestamp or a custom regex, and an old-to-new table is printed. No directory is read and no file is touched; a browser cannot rename local files anyway.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

File names

Result

One old-to-new line each; the file system is never touched.

Enter file names to build the mapping

Files: 0 · Renameable: 0 · Unmatched: 0

What this tool does

  • Normalise camera exports such as `IMG_20240301.jpg` into date-tagged names.
  • Rename a batch of screenshots by their capture date.
  • Use a custom regex to pick the date out of your own naming scheme.

Example

Input

IMG_20240301.jpg
notes-2024-05-06.txt

Output

规则 / Rule: yyyymmdd · prefix-date · 连接符「_」
说明 / Note: 仅生成映射文本,不读取目录、不改动任何文件

IMG_20240301.jpg → IMG_20240301_2024-03-01.jpg
notes-2024-05-06.txt →(未匹配,保持原名)

统计 / Summary: 共 2 个文件,可重命名 1 个,未匹配 1 个

Frequently asked questions

Will it really rename files on my computer?

No. A browser cannot touch the local file system; the tool only prints an old-to-new mapping that you apply yourself.

Which date formats are supported?

YYYYMMDD, YYYY-MM-DD, YYYY_MM_DD, YYYY.MM.DD, 10 or 13 digit Unix timestamps, and a custom regex whose first group is the date.

What happens when no date is found?

That line keeps its original name, is marked unmatched, and is counted separately.

Keywords:rename

Related tools