Find and Replace Text
Finds and replaces text in bulk, with case-sensitive matching, whole-word matching and regular expressions.
Loading tool...
Runs in your browser. Nothing is sent anywhere.
When to use it
Replace product names, prices or links across a long text in bulk. Turn on whole-word matching to avoid replacing the middle of a word, or use regular expressions for complex patterns.
How to use
- Paste your text into the left box.
- Enter the text to find and the replacement.
- See how many replacements were made and copy the result.
Frequently asked questions
Is my text sent to a server?
No. The tool runs entirely in JavaScript in your browser, and the text you paste never leaves your device.
Can I use $1, $2 in replacements with regex?
Yes. Turn on Regular expression, and groups in parentheses can be recalled with $1, $2. For example, searching (\d+)-(\d+)-(\d+) and replacing with $3/$2/$1 turns 2026-12-05 into 05/12/2026.
Related tools
More Text tools
Show Hidden Characters and WhitespaceShows spaces as dots, tabs as arrows, line breaks as pilcrows, and points out non-breaking spaces and zero-width characters.Add Line NumbersAdds a sequence number at the start of each line in styles like 1. 1) 01, skips blank lines, or removes existing line numbers.Add Text to Start and End of LinesAdds a prefix and a suffix to each line, for example a bullet, a trailing comma or quotes around each line.Replace Smart Quotes with Straight QuotesConverts curly double quotes, curly single quotes, long dashes and ellipsis characters into plain typed characters, avoiding errors when pasting into code.Join Lines into OneMerges several lines into one line with a separator of your choice, keeping paragraph breaks if you like. Fixes text copied from a PDF with broken lines.Strip HTML TagsRemoves HTML tags, scripts and styles, decodes special characters, and keeps plain text with sensible line breaks.
See all text tools