Find & Replace β Free Online Tool
Replace all occurrences of text, with optional case sensitivity and regex.
About Find and Replace Tool
The Find and Replace tool swaps every occurrence of a word, phrase, or pattern in your text with new content in a single click. It handles simple substitutions like fixing a misspelled name as well as advanced edits using regular expressions for power users.
You control whether matching is case-sensitive and whether your search term is treated as plain text or a regex pattern. All replacements run locally in your browser, so large documents and confidential content are processed instantly without ever leaving your device.
How to Use Find and Replace Tool
- Paste or type your text into the main input box.
- Enter the word or pattern to look for in the 'Find' field and the new text in 'Replace with'.
- Optionally enable case-sensitive matching or regex mode for advanced searches.
- Click 'Replace All', then copy the result that appears below.
Key Features
Replace all occurrences of any word or phrase at once
Optional case-sensitive matching for precise control
Full regular-expression support for advanced find and replace
Live count of how many replacements were made
Processes everything in your browser for complete privacy
One-click copy and clear with no usage limits
Frequently Asked Questions
What is regex mode and when should I use it?
Regex mode treats your search term as a regular expression, letting you match patterns like digits, repeated characters, or text at the start of a line. Use it for advanced edits; leave it off for plain text replacements.
Does it replace every match or just the first one?
It replaces all matches in the text in a single pass and shows you the total number of replacements made.
How does case sensitivity work here?
With case-sensitive matching off, the search ignores letter case, so 'Color' and 'color' both match. Turn it on to match only the exact capitalization you typed.
Is my text sent anywhere?
No. The find-and-replace operation runs entirely in your browser using JavaScript, so your text remains private on your device.