Search the complete library

Find a useful next step.

Start typing to search the complete UtilHub library.

Writing & content · Free online tool

Find and replace text

Find and replace words or phrases in text, with case, whole-word and regular expression options.

No sign-upNo run limitPrivate inputsMobile-friendly

Find and replace text workspace

Runs locally in your browser

Result

Replacements—
Updated text

Use it with confidence

How to use the find and replace text.

01

Add the requested inputs

Use the labelled fields in the workspace above. If example values are provided, try them first or replace them with your own.

02

Calculate and review

Use the main action when needed. Builds a search pattern from your text (escaped unless regex mode is on), replaces every match and counts the replacements. In regex mode, $1 refers to capture groups.

03

Try a worked example

Replace “cat” with “dog” as a whole word, without changing “category”.

04

Check the assumptions

Check the result before using it, especially with regular expressions. The text stays in your browser.

Helpful answers

Find and replace text FAQs.

Is the find and replace text free?

Yes. Use it as often as you need, with no sign-up and no run limit. Your inputs stay in your browser.

Does UtilHub upload or save my inputs?

No. This tool runs in your browser and UtilHub does not receive or store the values you enter. Your browser or device may still retain normal local history or form data.

How does this find and replace text work?

Builds a search pattern from your text (escaped unless regex mode is on), replaces every match and counts the replacements. In regex mode, $1 refers to capture groups.

What should I check before using the result?

Check the result before using it, especially with regular expressions. The text stays in your browser.

Coming up