Replace text in bulk
Type what to find and what to replace it with. Every match is replaced and the count shows how many changes were made. Leave the replace box empty to delete every match.
Options
- Match case — "Apple" won't match "apple".
- Whole words only — "cat" won't match inside "category".
- Regular expression — for power users. Use patterns like
\d+for numbers, and$1in the replacement to reuse a captured group. Type\nin the replacement for a new line.
Regex examples
- Remove all numbers: find
\d+, replace with nothing. - Swap "Last, First" to "First Last": find
(\w+), (\w+), replace with$2 $1. - Put each sentence on its own line: find
([.!?]), replace with$1\n.
How to use it
- Paste your text.
- Type what to find and what to replace it with.
- Copy the result.
Frequently asked questions
How do I delete a word from my whole text?
Type the word in "Find", leave "Replace with" empty, and tick "Whole words only" so it isn't removed from inside longer words.
Which regular expression flavor is used?
JavaScript regular expressions, with Unicode support. Lookbehind, named groups and \p{L} letter classes all work.
More free text tools
Word counterPaste or type your text. Words, characters, sentences, paragraphs and reading time update instantly.Character counterCount characters and check your text against the length limits for social posts, SMS and search results.Case converterFix text typed with caps lock, make proper headlines, or turn phrases into variable names.Remove line breaksText pasted from a PDF breaks at the end of every line. Join it back into clean paragraphs.Remove extra spacesClean up double spaces, stray tabs, trailing spaces and empty lines in one click.Remove duplicate linesPaste a list with one item per line. Duplicates are removed and the original order is kept.Sort linesSort a list alphabetically, by number or by length — or reverse or shuffle it.Reverse textWrite text backwards, reverse word or line order, or turn it upside down.Word frequencySee which words and phrases you use most, how often, and as a share of the whole text.Readability checkerFind out how easy your writing is to read, what school grade it suits, and which sentences are too long.Text comparePaste two versions of a text to see exactly what changed.Slug generatorTurn titles into short, clean URLs like how-to-bake-bread.Lorem ipsumGenerate placeholder text for designs, mockups and templates.