Batch file renamer
Preview batch rename with templates, shared names, indexes, and prefixes/suffixes, then download a ZIP of renamed copies.
Updated 2026-12-04
Loading the tool in your browser…
What it does
Browsers cannot rename files on disk, so this tool previews names in the page and packs content into a ZIP under the new names; unzip to get renamed copies.
Default template is {name}-{index}.{ext}. Placeholders: {name} is the base name (or a shared name you set), {index} is a zero-padded counter, {ext} is the extension without the dot. Prefix sits before the whole name; suffix sits before the extension.
How to use
- 1
Pick multiple files; reorder or remove items in the list.
- 2
Optionally set a shared name and arrange {name}, {index}, {ext} in the template.
- 3
Set start index, padding, prefix, and suffix; download the ZIP after the preview is unique.
Limits
- Files are processed in your browser and are not uploaded.
- Originals on disk are untouched; you only get renamed copies.
- Suffix is inserted before the extension; illegal name characters become underscores.
- Empty, illegal, or duplicate names block download until you fix the rules.
FAQ
Why a ZIP?
Web pages cannot batch-rename local files. Each ZIP entry uses the new name so unzipping yields renamed copies.
What are {name}, {index}, and {ext}?
{name} is the base name (or your shared name); {index} is the counter; {ext} is the extension without a dot, e.g. jpg.
How do I put the number first?
Use a template like {index}-{name}.{ext}, e.g. 01-photo.jpg.
What if I leave shared name empty?
Each file keeps its own base name, so the default template yields names like photo-01.jpg.
Where does numbering start?
Default start is 1 with width 2 (01, 02). You can change both.