Free find and replace tool

Every match, swapped in one pass.

Free find and replace tool for text. Swap every occurrence of a word or phrase across a whole block of text at once. Runs in your browser, no limit.

Paste your text to begin
0 chars / 0 words
bytes uploaded
0
usage limit
None
always
Free

Find and replace

What the find and replace tool does

This tool searches a block of text for every occurrence of a word or phrase and replaces each one with something else, all in a single pass. Type what to find, type what to put in its place, and every match gets swapped at once instead of one at a time.

It runs in your browser. Paste your text, set the find and replace values, copy the result. Nothing is uploaded, there's no account and no limit on how much text you process.

How it works

How to find and replace text in three steps

Two fields to fill in.

Step 1
Paste your text, then enter what you want to find.
Step 2
Enter what you want to replace it with.
Step 3
Press Replace all and copy the result.

How matching works

This is a literal match, not a whole-word match

This tool looks for the exact sequence of characters you typed, wherever it appears, including inside a longer word. Search for 'cat' and it matches the 'cat' in 'concatenate' just as readily as a standalone word 'cat', since there's no whole-word toggle checking for a boundary on either side of the match.

If you need a whole-word match specifically, include the surrounding context in what you search for, a leading or trailing space, or the punctuation you expect around it, to avoid catching a match buried inside a longer word by accident.

Case matters

Matching is case sensitive

This tool matches capitalization exactly. Searching for 'Report' will not find 'report' or 'REPORT'. If your text uses inconsistent capitalization for the same word and you want every variant caught, run this tool multiple times, once per capitalization, or normalize the case first with the case converter and then search for one consistent form.

This is a deliberate trade-off: a case-sensitive search is predictable and never changes a capitalization you didn't mean to touch, at the cost of needing to run it more than once for inconsistently capitalized text.

The hidden failure

Why a plain search misses characters that look identical

Typing what you see and searching for it only works if what you typed is actually the same character as what's in the text. A straight apostrophe ' typed on a keyboard is a different character from a curly apostrophe ' that arrived via a copy and paste, and a search for one will never find the other, even though they look virtually identical on screen.

The same happens with hyphens, en dashes and minus signs, or with a regular space versus a non-breaking space. If a find-and-replace isn't matching text you can clearly see in front of you, the most likely explanation is that the character you typed and the character actually in the text are different codepoints that merely render the same way. Copy the exact text you're searching for directly out of the source, rather than retyping it by hand, to avoid this entirely.

Why it matters

What inconsistent find-and-replace actually causes

A rename that only catches some occurrences of a term leaves a document referring to two different names for the same thing. A search that silently fails because of a look-alike character can make someone conclude a phrase doesn't appear anywhere in a document when it actually appears repeatedly, just encoded slightly differently than expected.

In bulk text editing, an overly broad match that isn't whole-word aware can quietly corrupt words that happened to contain the search term as a substring, introducing an error that's easy to miss on a quick read.

Who uses it

Who uses a find and replace tool, and when

Writers and editors swapping a name, a term or a phrase consistently across a long document. Developers updating repeated boilerplate text, a company name, a version number, a placeholder, across content that isn't in a codebase with its own find-and-replace tooling.

It also comes up removing a recurring stock phrase from AI-generated text, or fixing a term that was consistently misspelled or mis-capitalized throughout a document.

FAQ

Find and replace FAQ

Everything below is answered in full, nothing to click open.

How do I find and replace text?

Paste your text, enter what to find and what to replace it with, then press Replace all. Every occurrence is swapped in one pass.

Is the find and replace tool free?

Yes, entirely free. No signup, no trial and no usage limit, since it runs in your browser.

Is my text uploaded anywhere?

No. Processing happens on your own machine in JavaScript. Nothing is sent over the network.

Is the search case sensitive?

Yes. Searching for 'Report' won't find 'report' or 'REPORT'. Normalize the case first if you need to catch every variant.

Does it support whole-word matching?

No, it matches the exact text anywhere it appears, including inside a longer word. Include surrounding spaces or punctuation in your search to avoid catching a substring by accident.

Why isn't my search finding text I can clearly see?

The character you typed and the character actually in the text likely just look the same but are different codepoints, a curly quote versus a straight one, or a non-breaking space versus a regular one.

Does it support regular expressions?

No, this tool matches literal text only. For pattern-based matching you'd need a code editor or a dedicated regex tool.

Can I replace text with nothing to delete it?

Yes, leave the replace field empty and every match of your search term is removed from the text.

Does it replace all occurrences or just the first one?

All of them, in one pass. There's no option to replace only the first match.

Will it accidentally change part of a word I didn't mean to touch?

It can, since matching isn't whole-word aware. Check the result, or add spaces around your search term to reduce accidental partial matches.

Can I use this to remove a recurring AI phrase from my text?

Yes, that's a common use, searching for a stock phrase like 'It's important to note that' and replacing it with nothing.

Does it work on phones?

Yes, it works the same in any modern mobile browser.

Can I chain multiple find-and-replace passes?

Yes, run it once per term, feeding the output of one pass into the input of the next.

Is there a batch mode or an API?

Not yet. For several documents, paste, replace and copy each one for now.

Is it safe for confidential text?

Yes, nothing is transmitted or retained, so it's fine for drafts you haven't shared anywhere.

Does it work across line breaks?

Yes, as long as your search term doesn't itself span a line break, matches are found anywhere in the full text, regardless of which line they're on.

Why would I copy my search term instead of typing it?

To guarantee it's the exact same character sequence as what's actually in the text, avoiding a silent mismatch caused by a look-alike character.

Can this fix inconsistent quote styles?

Yes, if you know which character is actually present, searching for a specific quote character and replacing it with another works, though the unicode normalizer may be a better fit for broader quote consistency.

Does the tool preview matches before replacing?

No, replacement happens for the whole text in one action. Review your search term carefully before running it on text you can't easily recover.

What should I do if a rename didn't catch every instance?

Check for inconsistent capitalization or a look-alike character in the instances that were missed, since both are common, quiet causes of a partial match.

Replace every match in about four seconds.

Paste, find, replace, copy. Nothing to install, nothing leaving your browser.

Replace in my text