Find & Replace in Text
Find and replace across multiple lines of pasted text — every line, in one pass.
Bulk renaming, fixing typos across a document, swapping placeholders — faster than doing it by hand.
How to use
- Paste your text, enter find and replace terms.
- Toggle case-insensitivity if needed.
- Replace all shows the count and result.
About this tool
To find and replace across multiple lines online, paste the whole block — a document, a log, a list, code — not just one line at a time. The replacement runs over the entire paste, so a term that appears on line 3, line 30 and line 300 is changed everywhere in a single pass, and your line breaks are kept as they are. One honest limit: the find box holds a single-line term, so a phrase that itself wraps across a line break is not matched — find the words on each side of the break separately.
Special regex characters in the find box are treated literally, so nothing surprising happens.
Your text stays in your browser.
How it works
Find and replace scans your text for every occurrence of the search string and swaps in the replacement. Matching can be case-sensitive or not (tick the case-insensitive box). The search text is matched literally — characters like . and * mean themselves, not patterns — so the word "cat" inside "concatenate" is replaced too unless it is separated as its own word in the text.
Replacements run left to right in a single pass, so a replacement that creates new matches will not loop forever. Regular expressions and whole-word matching are not supported: what you type in the find box is exactly what is found, character for character.
Working across multiple lines needs no special mode. The pasted text is searched as one block, so a match on any line is replaced and the line breaks themselves are left untouched — paste 300 lines and all 300 are searched. The one thing it cannot do is match a single phrase that is itself split by a line break, because the find box takes a one-line term.
Worked examples
Rebrand: Replace all 47 mentions of "OldName" with "NewName" across a pasted document.
Fix a typo everywhere: One literal find for "teh" and one replacement with "the" cleans a whole pasted article in a single pass.
Frequently asked questions
Does it support regex?
No — the find term is literal text, which avoids accidental pattern surprises.
How many replacements can it do?
Unlimited — every occurrence is replaced.
Can I find and replace across multiple lines?
Yes — paste text of any number of lines and Replace all searches the whole block, line after line, in one pass. Line breaks are preserved. The find term itself must fit on one line, so a phrase split across a line break will not match as one piece.
Does it replace on every line, or just the first?
Every line. There is no first-match-only mode: the count shown after Replace all is the total across all lines of your paste.
Is my text uploaded?
No.
First time embedding? Read the step-by-step guide →
More free tools
Word Counter
Count words, characters, sentences and reading time as you type.
Text Case Converter
Change text to UPPERCASE, lowercase, Title Case or Sentence case in one click.
Lorem Ipsum Generator
Generate placeholder text for designs and mockups.
Remove Duplicate Lines
Delete repeated rows and lines from pasted text, keep the first occurrence.
Sort Lines Alphabetically
Sort any list A–Z or Z–A in one click.
URL Slug Generator
Turn titles into clean URL slugs.