Text tool
Find and Replace
Find and replace text online: replace every match as you type, with optional match case and regular expressions. Your text stays in your browser, no upload.
Your file never leaves your device.
Runs locally in your browser
Your text is not uploaded.
Simple steps
How it works
- 01
Enter or paste the source text.
- 02
Type the search and replacement values, then choose matching options.
- 03
Review and copy the updated text as you type.
Plain-text search options
Without regular expressions, the search looks for the exact text you type, and every match is replaced. Matching ignores capital letters unless you turn on Match case. You can also ignore accents, so cafe finds café, and for Arabic and Urdu ignore short-vowel marks and treat Arabic and Urdu forms of a letter, such as ي and ی, as the same letter.
The original characters are replaced exactly where they matched, and the replacement is inserted as written, with no special characters.
Regular-expression mode
With Use regular expression, the search is a JavaScript pattern with full Unicode support, applied to every match. The replacement can refer to captured groups: searching for (\d{4})-(\d{2})-(\d{2}) and replacing with $3/$2/$1 turns 2026-10-29 into 29/10/2026. $& inserts the whole match, and $$ inserts a literal dollar sign.
Accent and Arabic options do not apply in this mode; build them into the pattern instead.
Working safely
The output updates as you type, and your original text stays in the input box, so you can compare before copying. Search for something specific enough: replacing "cat" also changes "category". Add \b around a word in regular-expression mode, as in \bcat\b, to match it only as a whole word.
Good to know
Frequently asked questions
Does replacement update as I type?
Yes. The output refreshes whenever the source, search, replacement, or options change.
Can matching ignore capitalization?
Yes. Matching is case-insensitive by default; enable Match case to distinguish capitalization.
How does regular-expression mode work?
Enable Use regular expression to treat the search value as a JavaScript regular expression. Invalid expressions show an error.
Are all matches replaced?
Yes. The search is global, so each matching occurrence is replaced.
Is my text uploaded?
No. Find and replace runs locally in your browser.