Text Replacer
Find and replace text online with optional case-sensitive matching and instant replacement counts.
Run tool
Text Replacer helps you update words, phrases, and characters across any text sample. Enter your source text into the text area, specify the exact character sequence you want to find, and enter the replacement string. The tool runs literal string replacement across the entire text block, swapping every matched occurrence for your new wording. By default, search matching is case-insensitive, which means searching for lower-case terms matches uppercase and mixed-case instances throughout the body text. When you check the case-sensitive box, the search matches only exact uppercase and lowercase combinations. If the search field is empty, the input text remains unaltered and the reported replacement count stays at zero. If the input text is blank, the output stays empty. The tool also provides a count of how many replacements occurred, along with a preview showing up to the first fifty characters of your search and replacement terms for quick visual verification.
Instructions
- Paste or type your source text into the Text field.
- Enter the exact text string you want to locate in the Find field.
- Enter the replacement text you want to substitute in the Replace field.
- Check Case Sensitive if you need matching to follow uppercase and lowercase spelling strictly.
- Click Run to replace all matching text segments and review the updated text.
Examples
- Source text: 'Apples are red. I like apples.' | Find: 'apples' | Replace: 'oranges' | Case Sensitive: unchecked -> Output text: 'oranges are red. I like oranges.' with 2 replacements.
- Source text: 'Draft v1: Finalize draft notes.' | Find: 'Draft' | Replace: 'Report' | Case Sensitive: checked -> Output text: 'Report v1: Finalize draft notes.' with 1 replacement.
FAQ
Does the search support regular expressions or wildcard characters?
No. The tool treats the search value as literal text rather than a regular expression pattern.
What happens if I leave the Find field blank?
If the search field is left empty, the tool returns the source text unchanged and reports zero replacements.
How does case-sensitive matching work?
When Case Sensitive is unchecked, searches ignore character case, matching both uppercase and lowercase variations. When checked, only exact case matches are replaced.
Can I remove words by leaving the Replace field empty?
Yes. Entering a term in Find while leaving Replace blank removes all matching occurrences from the text.