Find and Replace Text Online
Find and replace text in any document instantly. Supports case-sensitive matching, whole words, and regular expressions for powerful bulk text manipulation — all in your browser, no installation needed.
Input Text
Result
Input length: 0 characters
Output length: 0 characters
About This Tool
Our find and replace tool lets you quickly search for and replace text in any document. Perfect for developers, writers, and data analysts who need to make bulk text changes without opening a code editor.
Features
- Case Sensitive: Match exact case (e.g., "Hello" vs "hello")
- Whole Words: Only replace complete words, not partial matches
- Regular Expressions: Use regex patterns for advanced search and replace
- Real-time Preview: See results instantly as you type
- Replace Count: See how many replacements were made
- Copy & Download: Easily copy or download the result
Common Use Cases
- Replace variable names across a code snippet
- Update URLs or links in bulk
- Fix typos or formatting issues across a document
- Convert text formats (e.g., spaces to underscores)
- Clean up data files or CSV exports
Regex Examples
\d+— Match one or more digits\s+— Match one or more whitespace characters^— Match start of line$— Match end of line[a-z]+— Match one or more lowercase letters
Frequently Asked Questions
Does this tool support regular expressions?
Yes. Enable the regex option to use JavaScript regular expression patterns in the search field. For example, use \d+ to match any sequence of digits, or ^line to match the word 'line' at the start of each line.
Is the find and replace case-sensitive?
By default, matching is case-insensitive. Enable the 'Case Sensitive' option to match exact case — for example, matching 'Hello' but not 'hello' or 'HELLO'.
Can I replace all occurrences at once?
Yes. The tool replaces all occurrences of the search term in your text by default. The result shows how many replacements were made.
Is my text safe? Is it sent to a server?
No. All processing happens locally in your browser using JavaScript. Your text is never sent to any server, stored, or logged. You can use this tool completely offline after the page loads.
What does 'Whole Word' matching do?
When 'Whole Word' is enabled, the tool only replaces the search term when it appears as a complete word — not as part of a larger word. For example, searching for 'cat' with Whole Word enabled would match 'cat' but not 'concatenate'.