All tools

Text replacement

Find and replace text in file names

Use a simple find-and-replace rule when file names are already close to correct but contain repeated noise. Renamio previews every result before files are changed, so you can catch unsafe replacements early.

Best for

Use this when many files share the same unwanted text, spacing, prefix, or duplicate marker and you want one controlled replacement.

Rename examples

Replace spaces

my document.pdf

my_document.pdf

Rename camera prefixes

IMG_001.jpg

Photo_001.jpg

Remove duplicate markers

report (1).docx

report.docx

Common use cases

  • Normalize spaces, underscores, and separators across a folder.
  • Replace camera or scanner prefixes with project-specific names.
  • Clean copied file markers such as “copy”, “final”, or “(1)”.

How to use it

  1. 1Add files or folders to Renamio.
  2. 2Choose the replace rule and enter the text to find.
  3. 3Review the live preview, then apply the batch rename.

Limits and checks

  • Check whether the rule should touch the extension or only the base name.
  • Use preview when the search text is short, because broad matches can affect more files than expected.
  • Review duplicate output names before applying the batch.

Common mistakes to avoid

  • Replacing a dot or separator globally without checking extensions.
  • Running a case-sensitive replacement when the folder contains mixed casing.
  • Ignoring copied-file suffixes that create collisions after cleanup.

FAQ

Can I replace only the first or last match?

Yes. The replace rule supports replacing all matches, only the first match, or only the last match.

Can I keep file extensions unchanged?

Yes. Enable extension protection when the replacement should affect the base file name only.

Related tools

All tools

Apply this rule locally

Renamio runs on Windows and macOS, previews every rename, and keeps rename history for safer batches.

Download Renamio