Toolbox

Find and Replace

Search and replace text in bulk, with whole-word and regex options.

  • Free, no sign-up
  • Files stay on your device
  • Works offline
Loading tool…

How to use the Find and Replace

  1. 1

    Paste your text into the box.

  2. 2

    Type what to find and what to replace it with. Matches are highlighted and counted instantly.

  3. 3

    Turn on case-sensitive, whole word or regex matching if you need to.

  4. 4

    Click “Replace all”, then copy the result. Use Undo if you change your mind.

Frequently asked questions

Everything you need to know about the Find and Replace.

What does “whole word” do?

It only matches complete words. Searching for “cat” with whole word on won't change “category” or “concatenate”.

How do I use regular expressions?

Turn on Regex and write a JavaScript regular expression, for example \d+ for numbers. In the replacement you can use $1, $2 for captured groups or $& for the whole match.

Can I replace line breaks?

Yes. Turn on Regex and search for \n to match line breaks, then replace them with a space or anything else.

Is my text sent anywhere?

No. Everything happens in your browser and your text never leaves your device.

More Text Tools