Find and Replace Text
Replace every occurrence of a word or phrase with another. Enter what to find and what to replace it with below.
About this tool
Replace every occurrence of a word or phrase with another. Enter what to find and what to replace it with below.
Example
Input: the cat sat on the mat
Output: (find "the" replace "a") → a cat sat on a mat
How to use
Paste or type your text into the box above, then read or copy the result. Everything runs privately in your browser, your text is never uploaded to a server.
How to use this tool
- Paste the text you want to edit into the input area.
- Type the exact word or phrase you want to find.
- Type the replacement text you want to insert.
- Run the tool to replace every matching occurrence and review the result.
Step by step, what happens
- The tool reads your full text and looks for every occurrence of the search phrase.
- It matches the text exactly as entered, so spacing and punctuation matter.
- Each match is replaced with the text you provided in the replacement field.
- The updated text is shown so you can copy it into your file, email, or document.
Worked example
You want to change every mention of a product name in a short note.
Input: Welcome to Acme. Acme is fast.
- Enter Acme in the find field.
- Enter Beta in the replace field.
- Run the replacement so both matches are updated.
Output: Welcome to Beta. Beta is fast.
Tips and common mistakes
- Use the exact spelling you want to replace, including spaces if the phrase has more than one word.
- Check whether you want to replace all occurrences, because this tool updates every match in the text.
- If nothing changes, the find text may not match the original exactly, including capitalization or punctuation.
- Review the output before copying it, especially when the same word appears in more than one context.
Frequently asked questions
Is it case-sensitive?
By default it matches the exact case you type in the Find box.
Does it replace all matches?
Yes, every occurrence in the text is replaced.
Can I remove text?
Yes, leave the Replace box empty to delete the matched text.
More Text Tools Tools
Explore related calculators in this category
Add Prefix / Suffix
Add a prefix and/or suffix to every line of your text instantly.
Add Text to Beginning, Free Online Text Tool
Add custom text to the beginning of every line in your text instantly. Get instant results, the formula, and a clear example.
Add Text to End
Add custom text to the end of every line in your text instantly.
Bullet List Converter
Convert plain lines of text into a bulleted list instantly.
You Might Also Like
Popular tools from other categories
Weight on Other Planets Calculator
Calculate your weight on different planets in the solar system.
.htaccess Generator
Generate common .htaccess rules, force HTTPS, www redirect, and caching, with checkboxes.
1031 Exchange Calculator - Free Online
Free Calculate tax deferral in a 1031 exchange. Step-by-step solutions and formulas included. Fast, accurate, and free, with formula and example.
4% Rule Calculator
Find the retirement nest egg you need using the 4% safe-withdrawal rule.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.