Text Tool

Our free online text tool helps everyone search and replace, add text, sort, and perform other common tasks with manipulating text. Although these searches can be done using regular expressions, this tool allows anyone to manipulate text regardless of their skill level, type of computer, or other device. Paste the text you want to modify and then use one or more of the options below to change the text.

Tip: If you only want statistics paste your text and click Submit, no actions are required.

Insert example text: Lorem Ipsum - Poorly formatted text

Search: Replace:
Search2: Replace2:
Ignore case Only replace once Search each line individually
Beginning of line End of line

Replacement text:
Replace all white space Replace all extra spaces
Replace tabbed space Replace extra spaces
Replace space at start of line Replace space at end of line
Replace blank lines Replace spaces with new lines
Replace all lowercase letters Replace all uppercase letters Replace all numbers
Replace new lines and returns Replace returns Replace new lines
Replace HTML tags Replace URL's Replace hyperlinks
Replace date and time stamps
Replace everything before: Replace everything after:
Replace lines containing: Don't do exact match
Replace lines NOT containing: Don't do exact match
Replace everything between: and

Add at beginning of line:
Add at end of line:
Wrap text at characters
Sentence case Proper case Lowercase Uppercase Random case Toggle case
Number each line

Sort alphabetic asending Sort alphabetic descending
Sort numeric asending Sort numeric descending
Delete duplicate lines