Skip to content
utilhex

Find and Replace Text

Runs in your browserFree · No sign-up

Find and replace words or patterns in any text, with match case, whole words, and regular expressions with capture groups. Shows the number of replacements.

About Find and Replace Text

Type what to find and what to put in its place, and every match is replaced as you type, with a count of how many. Use Match case and Whole words to avoid partial matches, or turn on Regular expression for patterns, with $1 and $2 to reuse captured groups.

How to use Find and Replace Text

  1. Paste your text or list.
  2. The right option is already on. Add other steps if you need them.
  3. Check the summary of what changed.
  4. Copy the result or download it as .txt.

Examples

Swap names

Find “Mr Kumar” and replace with “Dr Kumar” across a long document, with Whole words on so “Kumari” isn't touched.

Limitations

  • Works on plain text; formatting isn't kept.

Privacy

This tool processes everything locally in your browser tab. Your input is not uploaded to Utilhex or any third party, and it is discarded when you close or reload the page. Read the privacy policy for details.

Frequently asked questions

Is my text uploaded?

No. Everything happens in your browser as you type. The text isn't uploaded, stored, or logged, and the tool works offline once the page has loaded.

Can I combine this with other clean-ups?

Yes. All the Text Cleaner steps are on the same page. Turn on any others and they run together, in the order shown under the panes.