Actions by Category
Text Actions
Add, insert, remove, replace and move text in file names: every action in the Text category of Better Rename, with examples.
The Text category adds, inserts, removes, replaces and moves pieces of text. These are the actions most renames
start with.
Adding and inserting
Add text to beginningandAdd text to end:holiday.jpg→2026 holiday.jpgInsert text in front of existing textandInsert text after existing text: put text next to a word that is already in the name, e.g. insert ` (edited)afterfinalso thatreport final.docx→report final (edited).docx`Insert text at position:IMG_4821.jpgwith-at position 4 →IMG_-4821.jpg
Removing
Remove text from beginningandRemove text from endonly act when the name starts or ends with the text:IMG_4821.jpg→4821.jpgRemove textremoves the text wherever it occurs
Replacing
Replace text at beginningandReplace text at end:IMG_4821.jpg→Hubble_4821.jpgReplace textreplaces the text anywhere in the name. TheSimplemode replaces every occurrence;Advancedlets you chooseAll occurrences,Only the first occurrence, the second to sixth,Only the last occurrenceor one of the last six.Ignore casematchesPhotoandphotoalike. To replace spaces with underscores, replace ` ` with_
Moving
Move text to frontandMove text to end:holiday 2026.jpg→2026 holiday.jpgMove text to position,Move text in front of existing textandMove text after existing textmove the text to a character position or next to another piece of text
The … in front of existing text and … after existing text variants look for a piece of text in the name
(Occurrence of:) and work relative to its first, last or n-th occurrence (After the:), optionally ignoring case.
The … at position variants count characters From the start or From the end; if the position does not exist in a
name, that name is left unchanged.
For patterns that plain text cannot describe, such as “swap the two words around the dash”, use the
regular expression actions. All text actions have the Change: popup to
work on the name, the extension or both.
Example
Photos from a trip arrive as DSC_0001.jpg, DSC_0002.jpg, … and should read Paris 0001.jpg, Paris 0002.jpg, …
- Choose the
Textcategory and theReplace textaction - Type
DSC_intoReplace:andParis(with a space at the end) intoWith: - Leave
Change:ononly the file name
The preview shows Paris 0001.jpg for every file. Files whose names do not contain DSC_ are shown in gray and keep
their names.