Find & Replace Text
Find any word, phrase, or string in your text and replace it instantly. Supports case-sensitive search, whole word matching, and deletion by leaving the replacement blank. Free and browser-based.
How to Find and Replace Text
Four steps from paste to polished text.
Paste your text
Type or paste any block of text into the input area above β an article, code snippet, CSV data, or anything else you need to edit.
Enter find & replace terms
Type the word or phrase you want to find, then what you want to replace it with. Leave the replacement blank to delete matched text entirely.
Click Replace, then copy
Hit Replace to run the substitution. The output shows how many replacements were made. Copy the result with one click.
About This Find and Replace Tool
The find and replace operation is one of the most fundamental text editing tasks, and having it available in the browser β without opening a code editor or word processor β is useful in many situations: cleaning pasted data, bulk-renaming items in a list, removing unwanted words from scraped content, or quickly fixing typos in a block of copy.
Case-sensitive mode matches your search term exactly as typed, distinguishing between uppercase and lowercase. This is useful when you want to replace "Apple" (the brand) but not "apple" (the fruit). When case sensitivity is off, both forms are matched and replaced.
Whole word matching wraps your search term in word-boundary markers, ensuring it only matches standalone words. Searching for "cat" will match "cat" but not "catch", "category", or "concatenate" β preventing accidental substitutions inside longer words.
Replace First Only lets you review a single replacement before committing to a global replace, useful when you want fine-grained control over which occurrence gets changed. All processing runs locally in your browser β nothing you type is ever sent to a server.
Frequently Asked Questions
How do I delete a word using Find and Replace?
Enter the word or phrase you want to remove in the Find field, then leave the "Replace with" field completely empty. When you click Replace, every occurrence of that word is deleted from the text. This works for single words, whole phrases, repeated labels, or any string you want to strip out.
Does it support special characters?
Yes. You can search for punctuation, brackets, symbols, and other special characters. The tool automatically escapes any characters that would otherwise be interpreted as regex syntax (such as . * + ? [ ] ( ) ^ $ | { } \), so your search term is always treated as a literal string β no regex knowledge required.
What is whole word matching?
Whole word matching ensures the tool only matches your search term when it appears as a complete, standalone word β not when it is embedded inside a longer word. For example, searching for "cat" with whole word matching on will match "cat" but not "catch", "category", or "concatenate". This prevents accidental replacements inside longer words and is especially useful when replacing short or common terms.
Can I replace text with nothing to delete it?
Yes. Leave the "Replace with" field empty and click Replace. All matched occurrences of your search term will be deleted from the text. This is a fast way to strip unwanted words, phrases, formatting artifacts, or repeated filler text without having to locate and delete each instance manually.
Is there a regex mode?
This tool is designed for straightforward literal text substitution. Your search term is always treated as a plain string, with special regex characters escaped automatically. For most find-and-replace tasks β fixing typos, renaming words, removing phrases β literal search is exactly what you need. For full regular expression support, a code editor like VS Code or a command-line tool like sed or awk would be more appropriate.
More Free Text Tools
Everything you need to clean, edit, and transform text.
Convert Case
Transform text to UPPERCASE, lowercase, Title Case, camelCase, snake_case and more.
Sort Lines
Alphabetize text lines A to Z or Z to A, sort by length, or shuffle randomly.
Remove Duplicates
Strip repeated lines from any list or block of text instantly.
Remove Blank Lines
Strip all empty and blank lines from any block of text instantly.
URL Slug Generator
Convert any headline or title into an SEO-friendly URL slug.
Reverse Text
Flip text backwards, reverse word order, or reverse line order.