All tools

Swap text

Swap text around a separator in file names

The swap rule is useful when the right parts already exist but appear in the wrong order. Pick a separator, preview the reordered names, and apply the change across the batch.

Best for

Use this when names need to be reordered around a delimiter, such as author-title, date-report, or ID-name formats.

Rename examples

Swap name and title

John-Resume.pdf

Resume-John.pdf

Move date label

2026-Report.xlsx

Report-2026.xlsx

Reorder IDs

SKU123_product.png

product_SKU123.png

Common use cases

  • Convert “name-title” files into “title-name” files.
  • Move dates, IDs, or category labels to a more useful position.
  • Restructure imported file names that share one separator.

How to use it

  1. 1Choose the swap rule.
  2. 2Enter the separator that splits the file name.
  3. 3Check the reordered preview and apply the rename.

FAQ

What happens if a file name does not contain the separator?

The preview lets you identify names that do not match the rule before applying the batch rename.

Can I combine swap with cleanup rules?

Yes. You can swap first, then clean separators or extra spaces with another rule.

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