SSizrrImage tools for creators
Files stay in your browser

Tools › Find and replace

Find and Replace Text Online

Paste your text, then find and replace words the way Ctrl+H works in Notepad. You can also remove spaces and add a word to the front or back of every line. Your text stays in your browser and is never uploaded.

Your text

0 characters · 0 words · 0 lines

Find and replace

In regular expression mode, ^ and $ match each line, and \n and \t in Replace with mean a new line and a tab.

Remove spaces

Line breaks are kept.

Add a word in front or back

How to use it

  1. Paste or type your text in the box.
  2. To replace a word, type it in Find what and its new version in Replace with. Press Find next, Replace or Replace all.
  3. To tidy spaces, press Remove all spaces, Collapse extra spaces, Trim line edges or Remove blank lines.
  4. 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.
  5. 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

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.

Last reviewed 2026-10-08.

Related tools