To find and replace text, paste it into a find-and-replace tool, type what to find and what to put in its place, choose how strict the match should be, review the matches and copy the result. Our Find & Replace Text Online tool does this in your browser. It is free, needs no account, and your text is processed locally, so nothing is uploaded.
The rest of this guide covers what the steps look like in practice, what the match options mean, how to avoid the one mistake that causes most damage (replacing too much), and why a replacement sometimes finds nothing even though the word is clearly there.
TL;DR
- Paste your text, enter the search term and the replacement, then replace. Do a single pass on a small sample first if the text is long.
- Case-sensitive and whole-word options decide how many matches you get. Turn them on when a short word could hide inside longer ones.
- Replace All changes every match without asking, so check the match count before you press it and keep a copy of the original.
- If a search finds nothing, the text may contain invisible characters or odd spaces from the app you copied it from. Clean the text first, then search again.
- For text copied from a PDF, chat or web page, run a cleanup pass before the find and replace pass.
Table of Contents
- How to find and replace text, step by step
- What the match options do
- Replace one at a time or replace everything?
- Why find and replace sometimes finds nothing
- Common jobs and how to do them
- When the text lives inside a document
- Promo: do it in your browser
- Perspective: why we keep this local
- FAQ
- Sources
How to find and replace text, step by step
The routine is the same in almost every tool. What changes is how much care each step needs.
1. Paste the text you want to change
Open the find and replace tool and paste your text into the input area. Because the processing happens in your browser, you can paste a draft email, a list of product names or a block of notes without creating an account or sending the content to a server.
Where it goes wrong: pasting a small piece and assuming it represents the whole. If you only paste one paragraph, the other forty paragraphs keep the old wording. Paste everything you intend to change.
2. Enter what to find
Type the word or phrase exactly as it appears. A phrase works as well as a single word, so you can replace "customer service team" in one go.
Where it goes wrong: searching for a short fragment. Searching for "he" matches "the", "here" and "she". Search for the longest string that is still unique to what you want to change.
3. Enter the replacement
Type the new text. Leaving the replacement empty deletes every match, which is a quick way to strip a repeated tag or a stray word, and also a quick way to wreck a document if the search term was too short.
Where it goes wrong: forgetting spaces. Replacing "New York" with "NYC" is fine. Replacing " at " (with spaces) with "@" behaves differently from replacing "at" without them. Decide whether the spaces belong to the match.
4. Set the match options
The options decide which matches count. They are explained in the next section. When in doubt, start strict (case-sensitive, whole word) and loosen only if you miss matches.
5. Check the matches, then replace
Look at how many matches there are and whether that number is plausible. If you expected about five mentions of a name and see 63, your search term is too broad. Fix it before replacing.
6. Read the result and copy it out
Scan the output around a few replaced spots, especially the first and last. If you want a systematic check, paste the original and the result into our text compare tool, which highlights every difference so you can confirm that only the intended changes happened.
What the match options do
Most find-and-replace tools, from browser tools to word processors, offer the same small set of switches. Google documents Match case and regular expression matching under Edit > Find and replace in Docs, and the LibreOffice Writer Guide lists matching case, matching whole words and regular expressions among its options. The names are consistent because the ideas are.
| Option | What it does | Use it when | Example |
|---|---|---|---|
| Match case | "Apple" and "apple" count as different words | A name and a common word share spelling | Change the company Apple, not the fruit |
| Whole word | Only standalone words match, not parts of longer words | The search term is short | Replace "cat" without touching "category" |
| Regular expression | Describes a pattern instead of a fixed string | Many variations of one thing | Match any phone number written with dashes |
| Selection only | Limits changes to highlighted text | Only one section should change | Edit one paragraph, leave the rest |
Case sensitivity in practice
Suppose a draft says "Spring sale" in a heading and "spring" in a sentence about the season. Replacing "Spring" with "Fall" with match case on changes only the heading. With it off, both change and the sentence about spring flowers now talks about fall flowers.
Capitalization can also be handled differently from what you expect. Microsoft Outlook, for example, replaces text using the same capitalization as the text it replaces, so replacing AKA with "Also known as" produces ALSO KNOWN AS. If your result looks oddly capitalized, that kind of behavior is the reason. Check the result, and fix the case afterward if you need to. Our guide on cleaning up text before you share it covers case and spacing fixes that often go together with a replacement.

Whole word matching
Whole word is the safest option for short terms. Say you are changing "Ann" to "Anna" in a class list. Without whole word, "Annual report" becomes "Annaual report". With it, only the name changes.
Regular expressions, in plain terms
A regular expression (regex) is a short pattern that stands for many possible strings, for example "any run of digits". It is powerful and easy to get wrong. Support also varies: in Google Sheets, regex replacements can use capture groups and special characters such as for a newline in the Replace with field, while in Google Docs anything regex-style in the Replace with field is inserted as literal text. So a pattern that works in one place can paste garbage into another. If you only need to swap one phrase for another, you do not need regex.
Replace one at a time or replace everything?
Replace All is fast. It also does not ask. The LibreOffice Writer Guide warns that it replaces every match without stopping for you to accept each one, and that fixing a bad Replace All can mean a manual, word-by-word search, because undo works only until the file is saved.
Microsoft makes the same distinction: Replace All changes every occurrence, while Replace after Find Next lets you review each item first.
A simple rule works well:
- Few matches, high stakes (a contract name, a price, a date): review one by one.
- Many matches, low stakes (changing "Mr." to "Mr" in a list): Replace All, then check.
- Many matches, high stakes: do a test run on a copy, compare the result with the original, then run it on the real text.
With the browser tool, the safest habit is built in: your original stays in your source file or document, and you copy the result out only when you are happy with it. Nothing is overwritten.
A worked example
You have a list of 40 course names and your school renamed "Intro to" to "Introduction to". You paste the list, search "Intro to", replace with "Introduction to", and the tool reports 38 matches. You expected 40. Two entries must use a different spelling, perhaps "Intro. to" or an extra space. You find them, replace those separately, and the count is complete. The mismatch told you something. That is why the match count is worth reading before you press the button.
Why find and replace sometimes finds nothing
This is the most frustrating case: the word is on the screen, and the search says there are no matches. The cause is usually invisible.
Text copied from chat tools, web pages and word processors can carry characters that show as nothing or look identical to normal ones. The ai-paste-cleaner documentation lists zero-width spaces that prevent exact matches, and narrow no-break spaces (U+202F) that make "9:30 AM" fail to equal "9:30 AM" even though they look the same. It also notes that a Cyrillic letter "о" inside a Latin word can slip past exact-match filters and visual review.
The practical consequences:
- You search for "9:30 AM" and miss half the times in a schedule.
- You replace a name and one variant, typed with a lookalike letter, stays untouched.
- Two lists that look the same do not match when compared.
Plain-text paste is not a full cleanup
Pasting without formatting (Ctrl+Shift+V in many apps) removes fonts and styles, but a 2026 post on the difference between plain paste and Unicode cleaning explains that the plain text can still contain nonstandard spaces, zero-width characters, directional marks, smart punctuation and visible Markdown symbols. Those are separate layers, and each needs its own step.
So the dependable order is:
- Paste into a cleanup step first. Our text cleanup tool removes line breaks and tidies copied text in the browser.
- Then run your find and replace.
- Then compare the result with what you started from if the text matters.
Text copied from a PDF
PDF text arrives with a hard line break at the end of every visual line, so a phrase that spans two lines will never match a search for it on one line. Remove the breaks first, using the steps in our guide to removing line breaks from text copied from a PDF, and your search terms will behave as expected.
Common jobs and how to do them
Fix a name or term across a document
Turn on match case and whole word, enter the old and new names, check the count, replace. If the name appears in different forms ("Dr. Lee", "Lee"), do the longer form first so the shorter one does not leave a stray prefix.
Swap date or number formats
A simple text replacement works when the change is the same everywhere, for example swapping a separator, such as "/" for "-". Reordering month and day needs a pattern, which is a regex job, so check that your tool supports it before relying on it, and always compare the output to the original.
Delete something repeated
Leave the replacement empty. Do a dry run on a copy first, because deleting is the replacement that is hardest to reverse. Deleting a lone space can glue words together.
Prepare text for sharing
Before you send notes, a bio or a description, you often want to fix spelling variants, remove double spaces and strip odd characters. Do the cleanup, then the replacements, then a last read-through. Our guide to cleaning up text lays out the full sequence.
Prepare data files
If your text is really a spreadsheet export, replace within the CSV cleaner workflow instead, because a blind text replacement can change values that must stay intact. Identifiers with leading zeros are a classic example, covered in our guide to cleaning a CSV while preserving leading-zero identifiers. To see what changed between two exports, compare CSV files by key.
When the text lives inside a document
If you are editing a file in a desktop or web word processor, those apps have their own Replace dialogs. In Word, it is under Home > Editing > Replace, or Ctrl+H, as Microsoft Support describes. For a quick, private pass over text you can copy out, working in the browser tool keeps the original file untouched, which is why we suggest it as the first move.
For code and many files at once, editors such as Notepad++ can search a folder: its Find in Files tab (Ctrl+Shift+F) takes a directory and filters. That is a different job from cleaning a block of text.

Promo: do it in your browser
If you have a block of text and a change to make, our Find & Replace Text Online tool is one of the 40 free tools on Fixora. It needs no account and no download, and the text stays in your browser rather than being uploaded.

The same site has tools for the steps around it: cleaning copied text, comparing two versions, converting JPG images to PDF for a school submission, compressing images before you post them, and comparing or cleaning CSV exports.
Perspective: why we keep this local
Find and replace looks like the simplest tool there is, and that is exactly why people get hurt by it. A single careless Replace All can rewrite a document, and the text people paste into these tools is often private: a draft, a client list, notes.
We build Fixora so that processing happens in your browser. Your text is not uploaded, you do not make an account, and you do not install anything. We think that is the right default for everyday tasks like this one.
Our advice is the same one we give for every tool in the suite: clean first, change second, compare third. Copied text carries invisible baggage, so the cleanup step saves more time than any clever search pattern. Then a comparison confirms that only the changes you meant to make happened.
Small tasks deserve small tools. Paste, replace, check, copy. Then get on with your day.
IA
FAQ
How do I replace words in text without changing similar words?
Turn on whole word matching so only standalone words count, and match case if capitalization differs between uses. Then read the match count before replacing. If it is higher than you expected, your search term is catching longer words or extra variants.
What is the difference between Replace and Replace All?
Replace changes one match at a time and lets you review each, while Replace All changes every match at once without asking. Use Replace when each instance needs a judgment call. Use Replace All when the change is mechanical, then compare the result with your original.
Why does my search not find text that is clearly there?
Usually the text contains characters you cannot see, such as zero-width spaces, non-breaking spaces or lookalike letters from another alphabet. Text copied from PDFs, chat tools and web pages is the usual source. Run a text cleanup pass and search again.
Can I undo a find and replace?
Undo (Ctrl+Z) usually works while the file is still open, but not always after saving. The LibreOffice guide, for one, notes that undo works only before saving. Keep your original text until you have checked the result, and compare the two if the text matters.
Do I need regular expressions?
No, not for swapping one word or phrase for another. Regex is for patterns, such as every number in a certain format. Support differs between apps, and in Google Docs regex-style text in the replacement field is inserted literally, so test on a small sample first.
Sources
- Find and replace text in Word | Microsoft Support
- Find and replace text within an email message or item | Microsoft Support
- Search and use find and replace | Google Docs Editors Help
- Writer Guide 26.2, Text Basics | LibreOffice
- Searching | Notepad++ User Manual
- ai-paste-cleaner | npm
- Paste Without Formatting vs. Unicode Cleaning
