Find and Replace Text

Find and replace text online with case, whole-word, and regex options. See live match counts. Your text never leaves your browser.

Runs in your browser — nothing uploaded
Text
Find & replace
Result

Use this free find-and-replace tool to swap text across an entire document at once. Search for plain words or full regular expressions, match by case or whole word only, and watch the live match count before you commit. It is built for cleaning up logs, config files, CSV exports, and any text where a single manual edit would take far too long.

Private by design — your data never leaves your device

How to use it

No account, no upload — it all happens on your device.

1
Paste or type the text you want to edit into the top box.
2
Type what to find and what to replace it with. The match count updates as you type.
3
Toggle Case sensitive, Whole word, or Regular expression to refine the match.
4
Copy the result from the bottom box — the original stays untouched.

When find-and-replace beats editing by hand

Repetitive text edits that a single pass can finish instantly.

  • Rename a variable everywhere. Replace every occurrence of an old key, field, or label across a pasted file without missing one.
  • Clean up exported data. Strip currency symbols, normalize separators, or fix a misspelling that repeats hundreds of times.
  • Reformat with regex. Capture part of each line and rearrange it — for example turn Last, First into First Last using capture groups.
  • Redact sensitive strings. Replace emails, IDs, or tokens with a placeholder before sharing a snippet — and because nothing is uploaded, the original never leaves your machine.

Worked examples

How the options change what gets matched and replaced.

ModeFindReplaceResult on “Dog dog DOG”
Plain, case-insensitivedogcatcat cat cat
Case sensitivedogcatDog cat DOG
Regex with group(\w+)@(\w+)$2_$1example_user (on “user@example”)

Regex quick reference

The most useful tokens when Regular expression mode is on.

  • \d matches any digit, \w any word character, \s any whitespace.
  • + means one or more, * zero or more, ? optional.
  • (group) captures text you can reuse in the replacement as $1, $2, and so on.
  • ^ and $ anchor to the start and end of a line. Turn on “Dot matches newline” to let . span line breaks.

Frequently asked

Is my text uploaded anywhere?
No. The find-and-replace runs entirely in your browser using the built-in JavaScript engine. Your text is never sent to a server and never leaves your device.
Can I use regular expressions?
Yes. Turn on the Regular expression option to use full regex syntax in the Find box, including capture groups like $1 in the replacement. Leave it off to find plain, literal text.
What does “whole word” do?
Whole word only matches your term when it stands alone, not as part of a longer word. Searching for “cat” with whole word on will match “cat” but not “category” or “concatenate”.

Related tools

Word CounterCount words, characters, sentences, and paragraphs in your text. Estimates reading and speaking time. Runs entirely in your browser.Lorem Ipsum GeneratorGenerate Lorem Ipsum placeholder text — paragraphs, sentences, or words. Classic Latin or playful hipster filler. Copy-ready.Diff CheckerCompare two blocks of text side-by-side and highlight added, removed, and changed lines. Runs entirely in your browser.