Insert Text Rule
Want to add something before or after filenames? Or insert a version number or date at a specific position? This rule helps you get it done quickly.
What This Can Help You With
- Add prefix tags in batch: Add unified prefixes like
[Finance]or[HR]to files from different departments - Insert version numbers: Insert
_v2after the 7th character of the filename, with precise position control - Append tags after keywords: Automatically add
_editedafter001to easily distinguish edited files - Only modify filenames: Keep extensions like
.jpgand.pngunchanged, only insert content in the filename
Quick Start (3 Steps)
- Click the "Add Rule" button β Select "Insert"
- Fill in two fields:
- Insert: For example
[Important],_v2,_edited - Position: Choose Prefix/Suffix/Position/After Text/Before Text
- Insert: For example
- Preview first, then apply if everything looks good to avoid accidentally renaming a bunch of files incorrectly
Examples
Example 1: Add Prefix Tags in Batch
β Original files: invoice-001.pdf, invoice-002.pdf, invoice-003.pdf...
π« Problem: Invoice files from the finance department have no obvious identifier, want to add a [Finance] prefix for easy recognition
β
Settings:
- Insert:
[Finance] - Position: Prefix
β
Result: [Finance]invoice-001.pdf, [Finance]invoice-002.pdf, [Finance]invoice-003.pdf...
Why these settings: Prefix mode inserts text directly at the beginning of the filename, perfect for category tags or permission identifiers. The
Example 2: Insert Version Number at Specific Position
β Original file: report2023.docx
π« Problem: Want to insert version number _v2 after report (after the 7th character), but don't want to count positions manually
β
Settings:
- Insert:
_v2 - Position: Select Position (enter
7) - From right: Unchecked (count from left)
β
Result: report_v22023.docx
Why these settings: Position counts from 1, so the 7th character is the last letter
tinreport, and_v2is inserted after it. Note that it inserts betweentand2.
Example 3: Append Tag After Keyword
β Original files: IMG_001.jpg, IMG_002.jpg, IMG_003.jpg...
π« Problem: Want to add _edited tag after the number on edited photos to distinguish them from originals
β
Settings:
- Insert:
_edited - Position: Select After Text (enter
001)
β
Result: IMG_001_edited.jpg, IMG_002.jpg, IMG_003.jpg...
Why these settings: Only files containing
001will have the tag added, other files (like002,003) remain unchanged. To modify all files, you'll need to combine with other rules or use "Suffix" mode.
Fields to Fill
Basic Settings
-
Insert: The content you want to add, such as
[Important],_v2,2024-,_edited(This cannot be empty, otherwise nothing will change) -
Position: Determines where the text is inserted, with 5 options:
- Prefix: Insert at the very beginning of the filename
- Suffix: Insert at the end of the filename (before the extension)
- Position: (requires a number): Insert after the nth character (e.g., enter
7for after the 7th character) - Before Text: (requires target text): Insert before specific text (e.g., before
001) - After Text: (requires target text): Insert after specific text (e.g., after
001)
Advanced Options (Optional, defaults work fine)
-
Position number (only needed when selecting "Position:" mode) Counting from the beginning of the filename, insert after which character. For example, enter
1to insert after the first character, enter7for after the seventh. (Number cannot be less than 1 or greater than filename length + 1) -
From right (only appears when selecting "Position:" mode) Default unchecked, counts from the left. When checked, counts from the end of the filename.
-
Target text (only needed when selecting "Before Text:" or "After Text:" mode) Enter the text you want to locate, such as
001,IMG,report. If the filename doesn't contain this text, the rule will skip that file. -
Ignore extension Default checked, only inserts in the filename, leaving
.jpg,.pngextensions untouched. When unchecked, the extension is treated as part of the main text (generally not recommended).
FAQ
β How do I add a date after all filenames?
Use Suffix mode.
Example: Add _2024 to all files
- Insert:
_2024 - Position: Suffix
Result: report.docx β report_2024.docx
β Position keeps inserting in the wrong place?
-
Confirm counting direction "From right" unchecked = count from left, checked = count from right
-
Note that position starts from 1 For the 1st character, enter
1, not0 -
Check "Ignore extension" When checked =
.txtdoesn't count toward length, only the filename part is counted
Example: file.txt has a length of 4 (f-i-l-e), entering 5 will insert at the end
β Can't find target text?
Most common reasons:
- You entered
img, but the filename hasIMG(case mismatch) - Target text has extra spaces or special characters
Solutions:
- Copy and paste the target text from the filename to avoid typos
- If filenames vary too much, consider using "Prefix" or "Suffix" mode instead
β Extension got modified?
Make sure "Ignore extension" is checked (it's checked by default).
If unchecked, .jpg will be treated as part of the main text, and insertion might happen between j and p, corrupting the extension.
Important Notes:
- β οΈ Applying without preview: Changes are hard to undo, make it a habit to preview first
- β οΈ Wrong position number: Position counts from 1, miscounting will shift the insertion point
- β οΈ Before modifying many files: Test with a few files first, confirm it works, then select all
Advanced Tips
- β
Combine with Clean Characters: First clean up messy symbols, then insert a unified prefix (like
2024-) - β
Combine with Sequence: First insert prefix
Photo_, then append sequential numbers to createPhoto_001,Photo_002style naming - β Combine with Find & Replace: First use find & replace to fix typos, then use insert text to add batch tags
What to Read Next?
- Find & Replace: Better suited when you need to modify existing text
- Remove Text: Remove redundant content first, then insert
- Sequence: Add consecutive numbers in batch