Find & Replace Text
Find and replace literal text across any document with optional case sensitivity — live match counts, no regex surprises.
Reviewed 17 November 2026 · Free · No account needed
How to use
- Paste the text to process.
- Enter the text to find and the replacement.
- Toggle match case if needed.
- Copy the result — the match count updates live.
Example
Input: Replace 'colour' with 'color' (ignore case)
Output: colour and Colour both match — each becomes 'color'; count shown live
How it works
Every occurrence of the search text is replaced with the replacement text. Matching can be case-sensitive or case-insensitive.
The find text is treated literally: its regex metacharacters are escaped, then a global replace swaps every occurrence for the replacement. Without 'match case' the comparison ignores case. The live counter reports how many matches were replaced.
In 'Cat, cat, catalog', replacing 'cat' with 'dog' reports 3 matches and gives 'Dog, dog, dogalog' — matching is a literal substring, so 'catalog' is caught too.
Edge cases to know
- Matching is literal — regular expressions are deliberately not offered.
- An empty 'find' box performs no action.
- The replacement is inserted exactly as typed; matches are not smart-cased.
Limits & compatibility
- Matching is literal — regular expressions are deliberately not offered.
- Replacements preserve the case pattern of each match as typed; smart-casing is not applied.
- An empty 'find' performs no action.
Privacy
Your text never leaves the browser. There is no server call, no storage and no logging of content.
Related tools
Questions about Find & Replace Text
Does find and replace support regular expressions?
No, deliberately. Matching is literal, and characters with special meaning in regex — such as . * ? and brackets — are treated as plain text, so searching for '3.5' finds exactly '3.5' and nothing else. That keeps results predictable for everyday replacements; if you need pattern matching, a dedicated regex tool is the better fit.
What does the match case toggle change?
With it off, capitalisation is ignored, so searching 'colour' matches colour, Colour and COLOR alike. With it on, only the exact case matches. Either way the replacement text is inserted exactly as you typed it — the tool does not smart-match the capitalisation of each occurrence, so 'Colour' replaced ignoring case becomes lowercase 'color'.
Why does nothing happen when I click replace?
An empty find box performs no action — there is nothing to search for, and matching nothing would otherwise replace every position in the text. Enter the text to find and the live match count shows how many occurrences exist; the count updates as you type, so you can preview the scope before replacing.
Can I see how many matches there are before replacing?
Yes. The match counter updates live as you type the find text and toggle case sensitivity, showing how many occurrences the replacement will affect. Combined with the literal-matching rule, that makes it easy to check a replacement is not going to hit unintended substrings — such as 'cat' matching inside 'category' — before you commit.