Skip to content
Text → TextText tools

Find and Replace

Find and replace text online with several rules at once, whole words, match case and regex. Works on pasted text or up to 50 files.

About this tool

About Find and Replace

Find and Replace changes words, phrases or patterns in your text, with every match highlighted before you change anything. Paste text or open a file, type what to find and what to replace it with, and the number of matches and the result update as you type. Leave the replacement empty to delete the matches. You can add up to 30 rules that run from top to bottom in one go, which saves time when you clean the same kind of text again and again. The options decide what counts as a match. Match case treats Cat and cat as different. Whole words finds cat in “the cat sat” but not inside concat. First match only changes the first one for each rule. “New line and tab codes” lets you type backslash n for a new line and backslash t for a tab, so you can turn a list separated by commas into one item per line. Regex turns the find box into a regular expression, and the replacement can use $1 and $2 for the captured parts: finding ([0-9]+)-([0-9]+)-([0-9]+) and replacing with $3/$2/$1 changes 2026-11-24 to 24/11/2026. If a pattern has a mistake, the tool tells you what is wrong. Without regex, every character is taken as it is, so dots, brackets and dollar signs need no special care. Ready-made rules remove extra spaces, remove blank lines, straighten curly quotes and more, and you can save your own rules under a name in this browser. Apply to text puts the result back in the box for another round, and Undo goes back step by step. To change many files, add up to 50 text files such as TXT, CSV, HTML, JSON or code. The same rules run on each, you see the replacements per file, and you can download one file or all of them as a ZIP. Nothing is uploaded.

Find and Replace tool

What people use find and replace for

Editing, cleaning and code

Updating documents

Change a name everywhere.

ExampleReplace the old company name with the new one, whole words only.

Cleaning data

Make values consistent.

ExampleTwo rules turn “Yes” into 1 and “No” into 0.

Changing date formats

Use a regex with groups.

Example2026-11-24 becomes 24/11/2026.

Splitting lists

Put each item on its own line.

ExampleUse the ready-made rule Commas to new lines.

Renaming in code

Change a name in many files.

ExampleAdd your files, match case and whole words, then download the ZIP.

Filling templates

Replace placeholders with real details.

ExampleOne rule each for [name], [date] and [amount].

Find and replace tips

Change the right things only

Look at the matches first

The Matches view shows what will change before you copy the result.

Use whole words

It stops “cat” from changing “category” or “concat”.

Mind the order

Each rule works on the result of the one before, so put longer phrases first.

New to regex?

Try and explain a pattern with the regex tester first.

Open Regex Tester

Repeated lines?

Remove duplicate lines instead of replacing them one by one.

Open Remove Duplicates

Keep your originals

Downloaded files keep their names, so save them in a new folder.

Built & tested by

HemantInsights

Senior Software Engineer · Developer of Toolyconvert

Hemant developed Find and Replace and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.

Last updated 24 November 2026

Answers and guidanceFrequently Asked Questions
How do I replace several words at once?
Click Add rule and enter one pair per row. All rules run together, from top to bottom.
How do I find whole words only?
Turn on Whole words. Then cat matches “the cat” but not “concat” or “cats”.
How do I replace something with a new line?
Turn on “New line and tab codes” and type a backslash followed by n in the replacement.
Can I use regular expressions?
Yes. Turn on Regex. Use $1, $2 in the replacement for captured groups. ^ and $ match at each line.
Can I replace text in many files?
Yes, up to 50 text files of 5 MB each. Word and PDF files are not plain text, so they are not supported.
Can I undo a replacement?
Yes. After Apply to text, Undo brings back the earlier text, up to 20 steps.
Is my text uploaded?
No. Text, files and saved rules stay in your browser.
More tools for your workflowRelated Tools

Text Compare

Compare two texts as you type. Changed words are marked inside each line, side by side or in one column, with options to ignore case and spaces.

Case Converter

Change text to sentence case, Title Case, UPPERCASE, lowercase, camelCase, snake_case and more. Names such as NASA or iPhone stay as you write them.

Remove Duplicate Lines

Remove duplicate lines or comma-separated items from any list. Ignore case, trim spaces, drop empty lines, sort A to Z and download the clean list.

Regex Pattern Tester

Test and debug regular expressions in real-time with pattern flags, match highlighting, and group capture breakdowns.

1 / 3
Browse all text tools

Featured on

Toolyconvert is listed on these product directories and launch platforms.