Rename Files in ZIP.
Rewrite paths inside a ZIP with find-and-replace, regex, or per-file edits. Download a new archive — the original is untouched.
1. Select a ZIP
Drop a ZIP file here or click to browse
Select a file
Up to 2 GB per file.
How to use Rename Files in ZIP
Drop the ZIP onto the dropzone. The tool reads the archive's file index locally and renders every entry in a table. You have two ways to edit paths: a rule that applies across the whole archive, and per-row overrides for one-off tweaks.
The three rule modes cover most cases. Contains does a plain string replacement on every occurrence inside every path — useful for swapping a common word out of many filenames. Prefix only rewrites when a path starts with your pattern, which is the right choice for moving a whole folder (e.g. replacing old-folder/ with new-folder/). Regex uses a JavaScript regular expression with the global flag; you can reference capture groups like $1 in the replacement.
The preview table updates as you type so you can see exactly which paths are about to change and which are unaffected. If a rule produces something you did not want for a specific row, click that row's input and type the path you want — a per-row override wins over the rule. Invalid paths (empty, containing .., colliding with another renamed entry) are flagged inline and block the build button until you resolve them.
When you click build, the file data for every entry is copied from the source ZIP into a new archive with the rewritten path, then re-compressed at the level you picked. The original ZIP on disk is never modified. The result downloads as yourname-renamed.zip.
How to use this tool
Rewrite paths inside a ZIP with find-and-replace, prefix, or regex rules — plus per-file overrides.
Open the Rename Files in ZIP tool
Visit makemyzip.com/rename-in-zip. The archive is read locally; no uploads.
Drop the ZIP
Drag the .zip onto the dropzone. Every entry is listed in a preview table with its current path.
Pick a rewrite rule
Choose Contains to replace a literal string wherever it appears, Prefix to rewrite only paths that start with a pattern, or Regex for a JavaScript regular expression with capture groups.
Tweak individual rows
The preview updates live. Click a row’s new-path input to override that specific entry’s path. Per-row overrides always win over the rule.
Build the renamed ZIP
Once the preview looks right and nothing is flagged as invalid, click build. File data is copied unchanged under the new paths and downloads as a fresh ZIP.
Frequently asked questions
Can I move a whole folder with one rule?
Yes. Use the Prefix mode with the source folder path (for example old-folder/) and the target folder path (new-folder/). Every descendant path is rewritten at once.
Does renaming recompress the file contents?
Only the archive is re-packed. The file bytes themselves are copied unchanged under the new paths. The output compression level affects how the new ZIP is stored, not what is inside each entry.
What happens if two paths end up the same?
The preview flags the collision on the offending row and the build button stays disabled until you resolve it. Fix the rule or add a per-row override to make the paths unique.
Can this be used to sanitize paths that break on Windows?
Yes. Use the regex mode to strip characters Windows does not allow (e.g. replace [:*?"<>|] with _). The preview shows you exactly what will change before you commit.
Related tools
3 picksConvert Archive
Convert archives between formats — ZIP to 7z, TAR to ZIP, and more.
Merge Archives
Combine multiple archives into a single file. Handle filename conflicts automatically.
Split Archive
Split a large archive into smaller, independently-openable parts.