Find and Replace Text

Find a word or phrase in your text and replace every match — with match case, whole word and regex options.

InstantPrivate — runs in your browserFree, no sign-up

Your details

Options

Result

How to use

  1. 1

    Paste your text and type what to find and what to replace it with.

  2. 2

    Turn on match case, whole word or regex if you need them — matches are counted instantly.

  3. 3

    Check the highlighted preview, then copy the result or apply it to your text.

Questions

What does “Whole word only” do?

It matches the word only when it stands on its own. With it on, finding “Madras” will not change “Madraspattinam”.

Can I use regular expressions?

Yes. Tick “Regular expression” to use JavaScript regex patterns. In the replacement, $1, $2 … insert captured groups and $& inserts the whole match.

Is my text uploaded anywhere?

No. The search and replace happens entirely in your browser.

About this Find & Replace tool

Find and Replace Text — Find a word or phrase in your text and replace every match — with match case, whole word and regex options. It is one of 200 free tools on namasivayam.in, made by software engineer Namasivayam Vadivelan for everyday use in India.

Everything is calculated instantly in your browser: nothing you type or upload is sent to any server, there is no sign-up, and it works on mobile and desktop. Paste your text and type what to find and what to replace it with.

Related reading

Articles that go with this tool

All articles →

Related tools

More text tools you may like

All 200 tools →

Results are estimates to help you plan. They are not financial, tax or medical advice.