Skip to main content
SwiftTools

Find and Replace

Free find and replace tool. Replace text across your whole document with case-sensitive or regular-expression options.

Result
—
Replacements
0
Characters
0

Processed locally in your browser. Nothing you type is uploaded to a server.

About Find and Replace

Find and replace every occurrence of a string in one go, with case-sensitive and regular-expression modes. The whole process runs locally in your browser and shows how many replacements were made.

How to use it

  1. 1Enter the text you want to edit.
  2. 2Type the string (or regex pattern) to find and the replacement.
  3. 3Choose case-sensitive or regex mode, then read the result.

Examples

Rename a word

Input
find 'cat' replace 'dog'
Result
all 'cat' -> 'dog'

Regex cleanup

Input
find [0-9]+ replace N
Result
all number runs replaced with N

Frequently asked questions

Can I replace case-insensitively?

Yes. Enable case-insensitive mode to match "Cat", "CAT" and "cat" at once. Turning on regex mode also lets you use patterns like [0-9]+.

How many replacements were made?

The tool shows a live count of every occurrence that was replaced, so you always know how much changed in your text.