RelicRELIC

Find and Replace Online

Swap every occurrence of a word or pattern across your text.

Runs entirely in your browser. Nothing you type is uploaded.
Result
Result appears here…

What it does

Find every occurrence of a word or pattern and swap it for something else, across your whole text at once. Turn on Match case for exact casing, or Regex to use a regular expression. It all runs in your browser, so the text you paste is never uploaded anywhere.

For the text you keep reworking

If you are cleaning up text you copied from somewhere, you will probably want the original again later. Relic keeps an encrypted, searchable history of everything you copy, on every device, so the version you started from is always one search away.

Frequently asked questions

How do I find and replace text online?

Type what you want to find, type what to replace it with, then paste your text below. Every occurrence is swapped at once and the result updates live, ready to copy. Leave the replace box empty to simply delete every match.

Does it replace every match or just the first one?

Every match, throughout the whole text, in one pass. There is no need to click through occurrences one at a time the way a word processor makes you.

Can I match by case or use a regular expression?

Yes to both. Turn on Match case to only replace matches with the exact same capitalization, and turn on Regex to treat your find text as a regular expression, which unlocks patterns, groups, and wildcards. If a regex is invalid, the tool shows the error rather than mangling your text.

How do I do a case-sensitive find and replace?

Switch on the Match case toggle. With it off, the search ignores capitalization, so "cat" also matches "Cat" and "CAT". With it on, only exact-case matches are replaced.

Is my text sent to a server to do the replacement?

No. The find and replace runs entirely in your browser, so your text, your search terms, and the result never leave your device.

More free tools
Number Lines
number lines
Alphabetize List
alphabetize list
Reverse Text
reverse text
Line Counter
line counter
Remove Line Breaks
remove line breaks
Mirror Text
mirror text
All tools