Quickly and easily edit multiple text files simultaneously

Batch Text Replacer

With Batch Text Replacer (formerly TextMage), you get a powerful tool for editing multiple text files at once. It comes packed with features for adjusting the contents of your text files exactly the way you need. You can replace, insert, or remove whole sections of text, add or remove line breaks, change the encoding of text files with the built-in text converter, and much more. Any combination of functions can be saved as a template for reuse.

A built-in backup function lets you undo your changes whenever you need to. And with the integrated file search, you can scan files for specific keywords beforehand to narrow down which text files you actually want to edit — on top of the separate filter you can apply during processing.

Edit many text files at once

Flexibly and clearly edit text, lines or whole sections of text in thousands of files at once

Find text in files

Contains a powerful search tool with many filters, regular expressions and export options for search results

Comprehensive functions for editing text

For example, replace, insert or remove lines, line breaks or text blocks, and more.

Use filters for precise control

Restrict processing to certain areas with flexible, nestable filters.

With Batch Text Replacer you can:

  • search and replace text in multiple files at once, with everything clearly laid out
  • also batch edit larger text files (up to a size of 40 MB and two million lines)
  • save your settings as a profile for reuse
  • edit specific sections of text files (for example, replace, move or swap sections within a text)
  • perform line operations - edit lines in a text or within text files e.g., number, indent, replace, insert, swap, move or remove lines
  • group functions and apply filters or higher-order functions to them
  • search many files for occurrences of a particular term and further process or export the result list, or copy it to the clipboard
  • search and replace multiple text phrases at once using CSV files
  • change the encoding of text files (e.g., convert UTF-8 to ANSI)
  • perform text edits using regular expressions and variables
  • use the integrated batch mode to perform text operations via a script file
  • preview the impact of each action
  • undo changes made using the integrated zip backup
  • apply extensive filters to limit the files to be processed (e.g., based on file size or encoding)

Versatile text editing functions

This batch-processing solution includes many handy functions for flexibly editing multiple text files. For searching and replacing text passages, for example, you have several tools at your disposal — including the option to drive replacements from a CSV file. And because you can combine every function in any order, even very complex text operations are possible with Batch Text Replacer.

The effect of your changes is shown in the preview in real time, so you can check the result before committing to it. Changed text sections can be highlighted in color for clarity.

  • Batch Text Replacer offers far more text-editing functions than an ordinary text replacer
  • The case of text sections can be changed as desired
  • Search and replace by using CSV files
  • Search and replace multiple terms at once
  • Entries of an imported list can be inserted line by line at any position
  • Support for PERL-compatible regular expressions
  • Integrated text converter to change the encoding of text files (e.g., convert UTF-8 to ANSI)
  • Remove, modify, or add newline characters
  • Text editing functions can be combined arbitrarily

Special functions for editing lines

Batch Text Replacer offers many features and powerful filters for editing lines. With the line filter, you can exclude lines from editing or process only those lines. For example, you can remove every line that begins with a hash or a slash across all the text files you've added. You can also move a defined range of lines — or lines with specific properties — to any position, or apply an edit such as indentation to just those lines.

For advanced users, variables and regular expressions unlock even more flexible line editing. Variables let you, for instance, store two groups of lines under individual names and then insert them together at a specific point in the text.



Extensive options for filtering text, text blocks and lines

Batch Text Replacer includes several tools for narrowing down the text to be edited. You can define the exact area to process by setting a start and end criterion — handy, for example, when you only want to replace the text between two HTML tags. The "Repeat" option then processes every subsequent area that meets the same criteria. You can also exclude files, text areas, or lines with certain characteristics — such as lines that begin with a number or a particular term. Area limiters and filters can be nested across multiple levels.

  • Functions can be applied to all matching areas (e.g., HTML or XML elements)
  • Numerous types of filters: file filter, text filter, line filter, variable filter, area limiter and variable content filter
  • Sections to be processed within a text can be narrowed down exactly
  • Filters are flexibly nestable with each other

Examples of use and step-by-step guides

Search and replace text in multiple files