HHelpje

Find & Replace Text

Replace all occurrences of a phrase in text β€” with regex support and case-insensitive option.

Text is processed locally in your browser β€” nothing is sent to the server.

Find and replace text online β€” bulk phrase replacement

This free tool lets you replace all occurrences of a chosen phrase in your text with a single click. It is ideal for cleaning up documents, fixing typos, renaming variables in code, or processing data lists. It supports regular expressions (regex), case-insensitive matching, and whole-word replacement β€” no installation, no character limits.

Full privacy β€” text processed locally

Your text is never sent to a server. All processing happens in the browser on your device β€” you can safely use the tool even with confidential documents.

Frequently asked questions

Can I use regular expressions (regex)?
Yes. Check the "Regular expression (regex)" option and the "Find" field will be interpreted as a regex pattern. You can use capture groups ($1, $2) in the "Replace with" field. If the pattern is invalid, the tool will show an error and skip the replacement.
Does the replacement handle case-insensitive matching?
Yes. The "Ignore case" option makes the tool treat uppercase and lowercase letters as identical, so "Hello" and "hello" are matched together. This also works correctly with accented characters.
How do I replace only whole words, not partial matches?
Check the "Whole words only" option. The tool will automatically wrap the pattern with word boundaries (\b), so "cat" won't match inside "concatenate". This option is unavailable in regex mode β€” you can add \b manually to your own pattern instead.

See also