How to use it
- Paste or type your text in the box.
- To replace a word, type it in Find what and its new version in Replace with. Press Find next, Replace or Replace all.
- To tidy spaces, press Remove all spaces, Collapse extra spaces, Trim line edges or Remove blank lines.
- To add a word at the start or end, fill in Add in front and Add at the end, choose every line, every word or whole text, then press Add.
- Press Undo if you do not like a change, then Copy your text.
Match case, whole word and regular expressions
Match case treats Apple and apple as different words. Whole word skips matches inside longer words, so cat will not change category. Regular expressions let you search patterns, such as digits or a repeated word.
Useful regular expressions
\d+finds any number.\s{2,}finds two or more spaces in a row.(\w+) (\w+)with$2 $1swaps two words.^matches the start of every line and$the end, so replacing^with-puts a dash in front of each line.
Remove spaces and clean up text
Remove all spaces deletes every space and tab but keeps your line breaks. Collapse extra spaces turns runs of spaces into one. Trim line edges removes spaces at the start and end of each line. Remove blank lines deletes empty lines.
Add a word in front or back
Choose every line to put text before and after each line, such as quotes or a bullet. Choose every word to wrap each word. Choose whole text to add something once at the very start or end.
Is my text private?
Yes. Your text is edited in your browser on your own device and is never sent to a server. There is no account or limit.
Frequently asked questions
Is this the same as Ctrl+H in Notepad?
It works the same way. Type what to find, type what to put instead, and choose Replace or Replace all. It adds an Undo button and a live match count.
Is my text uploaded anywhere?
No. Everything runs in your browser on your own device, so your text is never sent to a server.
How do I replace a line break?
Turn on Use regular expression, type \n in Find what, and type a space or any other text in Replace with. In regular expression mode, \n and \t in Replace with mean a new line and a tab.
Can I undo Replace all?
Yes. Press Undo to go back one step. Up to 50 steps are kept while the page is open.
What does Whole word do?
It only matches the word on its own, not inside a longer word. With it on, finding art will not match party.