Find and Replace Tool
Replace text
Enter text and a search term.
About this tool
This free Find & Replace Tool rewrites text at scale in one pass — paste the text, say what to find and what to replace it with, and the result appears live, with every change visible before you copy. The tool covers the options that decide what 'find' actually means: case-sensitive matching, so 'Apple' and 'apple' can be treated as the different things they sometimes are; whole-word matching, so replacing 'cat' doesn't reach inside 'category' and 'concatenate'; and a live match count showing exactly how many occurrences the operation will touch before any change is made — the number that turns bulk replacement from a leap of faith into a verified edit. Whether the job is renaming a term across a document, fixing a repeated typo, updating a product name that changed, or rewriting a value across a pasted dataset, the loop is the same: paste, define, watch the count, replace, copy. The replacing itself is defined by its guards, because bulk replacement is the kind of power that punishes the careless. The match count is the first guard: seeing 'this will change 47 occurrences' before anything happens is the difference between a confident replace-all and a gamble — and the count updates live as the search term changes, so a zero count is an instant diagnosis of a typo'd needle. Case sensitivity is the second: whole-word matching is the third and the subtlest — replacing 'art' in a document that contains 'article', 'artist' and 'heart' without it produces the classic mangled paragraph, while whole-word mode touches only the standalone word. And the replacement itself is a plain, literal string — no pattern syntax to escape, no metacharacters to trip on: what you type is exactly what gets found and exactly what gets inserted. Each option is visible, each change is counted, and the result appears before anything leaves your hands. The workflows this tool fits span every kind of bulk rewriting: the writer fixing a repeated typo or renamed character across a manuscript in one pass; the editor standardizing terminology — a product name that changed, a style-guide term that shifted, a unit that needs updating across a whole document; the marketer updating a price, a date, a URL or a brand term across ad copy, emails and landing page drafts; the developer renaming variables and identifiers across pasted code, updating config values and rewriting log lines; the data worker replacing values across pasted CSV rows, normalizing entries and swapping delimiters; the translator and localizer making consistent term replacements across long documents; and the everyday rescue — the name spelled wrong twelve times, the old year in a template, the phrase that must die in every corner of the draft. Paired with the site's Case Converter for formatting work and the Remove Extra Spaces tool for cleanup, this is the bulk-editing arm of the writing-tools family. Everything runs locally in your browser. Every replacement is computed by client-side JavaScript on your device — the text you paste never reaches a server, is never logged and never stored. Disconnect from the internet after the page loads and the tool keeps replacing. Close the tab and nothing remains anywhere.
Frequently asked questions
How do I find and replace text online?+
Paste the text, type what to find, type what replaces it, and the result appears live — with a match count showing exactly how many occurrences the operation touches before you commit to anything. The count is the workflow's anchor: it confirms the search term actually exists, shows the scale of the change, and turns a zero into an instant diagnosis of a mistyped needle. Options shape the match — case sensitivity for contexts where capitalization distinguishes meaning, whole-word mode for terms that appear inside other words — and the replacement is a plain string, typed exactly as it should appear. One click copies the result. The whole loop — paste, define, verify the count, copy — takes seconds, and it runs entirely as you type, which is what makes bulk edits feel safe rather than brave.
What does whole-word matching do, and when should I use it?+
Whole-word matching restricts replacement to standalone occurrences of the term — the difference between replacing the word 'cat' and carving it out of 'category', 'concatenate' and 'bombast'. With it on, 'cat' matches only when it stands as its own word, bounded by spaces, punctuation or the ends of the text; with it off, every letter-run of 'cat' anywhere gets replaced, which is how the classic mangled document happens — 'category' becomes 'dogegory' and the paragraph quietly ruins itself. Use whole-word mode whenever the search term is a common fragment of other words: short words ('art', 'may', 'one'), names, product terms and any replacement where the needle lives inside longer vocabulary. Turn it off when matching inside words is the intent — replacing a prefix, fixing a repeated substring in identifiers or code. The toggle is visible, the count updates with it, and the match count is where the difference shows up before any damage can.
Why is the match count useful before replacing?+
Because bulk replacement's whole risk is scale — the change touches more places than you pictured, or fewer than you assumed — and the count is the only way to see the blast radius before it happens. A count of zero says the term doesn't exist as typed: a typo, a case mismatch, or a term that only appears as part of another word — all diagnosed before a single character moved. A count that surprises you is the finding: 'I thought that phrase appeared twice' and it appears twenty times, or the reverse — either way, the number arrives before the edit rather than after. And the count updates live as the search term and options change, so tuning the match — adding whole-word mode, toggling case — shows its effect immediately in the number. Replace-all without a count is a guess; replace-all with one is a verified edit, and the difference is the entire safety model of the tool.
How do I replace text case-sensitively (or case-insensitively)?+
Toggle case-sensitive matching, and 'find' becomes an exact-capitalization match: 'Apple' and 'apple' become findable as the distinct strings they are. This matters in two kinds of work: code and data, where 'ID' and 'id' are genuinely different things and replacing the wrong one breaks something; and content where the capitalized form is special — a brand name, an acronym, a proper noun — and must not be caught in the net meant for the common word. With case sensitivity off — the default for most writing work — 'apple', 'Apple' and 'APPLE' all match the same term, which suits the fixes where capitalization is an accident of position: typos, renamed terms, phrases appearing at different spots in sentences. The count updates with the toggle, so the difference between modes is visible in numbers before anything changes: the safety of knowing which version of the term you are actually hunting.
Can I replace text across a whole document or long text?+
Yes — the operation runs across the entire pasted text in one pass, and the tool handles documents of any length a browser paste can carry, which comfortably means book-chapter scale. The workflow for long documents benefits from the count all the more: a term appearing 200 times across 40 pages is exactly the edit no one wants to do by eye and exactly the edit this tool verifies — define, check the count, replace, spot-check the result. The output appears in full, ready to copy back into the document, and re-running with adjusted terms — the second pass fixing what the first revealed — costs another paste-and-click. For edits built in stages — replace the term, then the plural, then the capitalized variant — the loop handles each pass, with counts confirming what each one touched. Long-document replacement is where the tool earns its keep: the edits no one wants to do by hand, done verified and whole.
What's the difference between this tool and regex find-and-replace?+
This tool replaces literal strings — what you type is what gets found, with no pattern syntax, no special characters and nothing to escape; regex tools match patterns, which is more powerful and exactly as error-prone as that power implies. For the overwhelming majority of replacement jobs — a term, a typo, a name, a value — a literal match is what the work actually needs, and literal matching has a decisive advantage: predictability. There are no metacharacters to accidentally trigger, no syntax to learn, and no pattern that matches something you didn't picture: the match count shows precisely the strings your typed text catches, and the count doesn't lie. Regex earns its keep in genuinely pattern-shaped jobs — replacing anything that looks like a date, a URL or a number — and belongs in a developer's toolchain for those. For every replace-this-word-with-that-word job, literal matching is the safer, faster, more verifiable instrument — which is what this tool chose to be.
Can I find and replace special characters, symbols and multiple lines?+
Yes — matching and replacement are literal and Unicode-aware, so special characters, accented letters, symbols and emoji are found and inserted exactly as typed. Two practical notes make the multi-line and special-character cases work smoothly: to replace text containing a line break, the find field accepts the break directly — paste or type it as it appears in the text — and the tool matches across those boundaries the same way it matches any string; and characters with special meaning in other tools' syntax (periods, asterisks, brackets) carry no special meaning here, so '2.5', '[name]' and 'C++' match themselves literally without escaping. The Unicode awareness means 'café', 'naïve', '日本語' and emoji survive replacement intact — found, replaced and never corrupted into fragment bytes. Whatever the text contains, the tool finds exactly the string you see and puts exactly the string you typed in its place.
Is the text I paste or type stored or sent anywhere?+
No — nothing leaves your device. Every match and replacement runs entirely in your browser with client-side JavaScript: your text, your search terms and your results are never transmitted to any server, never logged and never stored. You can verify it directly: after the page loads, disconnect from the internet and the tool keeps working, which is only possible because no network is involved. Close or refresh the tab and everything is gone — no history kept on this site or anywhere else. Documents, code, data and drafts are as private here as they would be in a local text editor on your own machine.