Local StudioFILE & ARCHIVE

Regex File Renamer

Test a rule, review each proposed name, and package renamed copies in a separate ZIP.

  • Free
  • Works Offline
  • No Uploads
Works with:
  • Microsoft Edge
  • Google Chrome
  • Mozilla Firefox
  • Safari
Regex File Renamer showing original names, proposed names and captured groups after a sample review.
Check the paths and capture values before building a ZIP.

Preview a Rule and Save Renamed Copies

  1. Open the HTML, review Security Check, then select Continue.
  2. Choose Files or Choose Folder, paste one name per line, or open the sample.
  3. Enter a JavaScript regex pattern and replacement. Use $1 through $99 for captures, $& for the match, $$ for a dollar, and $<name> for named captures.
  4. Use Stem Only to preserve the last extension. Use Full Filename to change the ending too. A changed extension leaves the file content intact.
  5. Choose Preview Renames. Review original paths, proposed paths, first-match captures and status. Uncheck a row to exclude it or revise the rule to resolve conflicts.
  6. Choose Build ZIP for actual files. Include Rename Map adds a UTF-8 CSV with exact source and copy byte counts. Names-only plans leave the byte counts blank.
  7. Use up to 128 MiB of file bytes, 8 MiB of UTF-8 paths, and 65,534 ZIP32 entries including the map. Paths are limited to 1,024 UTF-8 bytes and 32 components, with 240 bytes per component.

Review Names, Captures and Conflicts

  • Select files or a folder. Paste names to test a rule without file bytes.
  • Enter a regex and replacement. Review the proposed filenames and capture values.
  • Resolve selected conflicts, then download a separate ZIP and optional rename map.

Formats and Compatibility

InputBrowser-selected files and folders, or one pasted relative filename per line. Preserve available parent paths. Select up to 128 MiB of source files and 8 MiB of UTF-8 paths.
OutputA Stored ZIP of selected renamed copies, with an optional UTF-8 CSV mapping. A names-only source can export a CSV plan.
BrowserA modern browser with local file support.
ScopePreview and package renamed copies. Use a filename list to review names and save a plan.
Operating Systems
  • Windows
  • macOS
  • Linux
  • ChromeOS

Local Processing Without Uploads

Use this browser-based regex file renamer without uploading. The files you choose stay on your device.

Select Open Sample to see the workflow with the included example.

Formats and Compatibility

Use JavaScript regex syntax and $1-style replacement captures. Set Global and Ignore Case explicitly. A restricted embedded view accepts a smaller pattern profile.

Export Reviewed Files

Keep byte-identical copies and compare original and output names and byte counts in the optional map. Extract the ZIP into a separate folder.

Frequently Asked Questions

Can I use the regex file renamer offline?

Yes. Extract the regex file renamer download and open RegexFileRenamer.html.

Can I use the regex file renamer in browser?

Yes. The local regex file renamer previews names and packages files on your device.

Is this a free regex file renamer?

Yes. The standalone tool and Tool ZIP are free.

How do I keep the extension?

Use Stem Only. The sample turns IMG_007.txt into photo-007.txt with the single original byte 58 hex.

What is the restricted embedded pattern profile?

The sandboxed view supports literals, character classes, capturing groups, anchors and simple single-atom repetitions. The standalone view uses an isolated, time-limited regex worker.

Does this tool work offline on Windows, macOS, Linux, and ChromeOS?

Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.

Which browsers can I use with this offline tool?

Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.