Text manipulation

This utility provides some basic text manipulation operations. Use it to reverse text, convert to upper or lower case, etc. See below for full details of each operation.

Loading utility...

Available text operations

Here is a summary of the available text operations with examples:

Convert to upper case

Converts the entire input text to upper case.
Example conversion: "some example text." becomes "SOME EXAMPLE TEXT."

Convert to lower case

Converts the entire input text to lower case.
Example conversion: "SOME EXAMPLE TEXT." becomes "some example text."

Make first letter of every word upper case

Example conversion: "some example text." becomes "Some Example Text."

Make first letter of every sentence upper case

Example conversion: "some example text. more example text." becomes "Some example text. More example text."

Left trim every line

Removes any spaces or tabs to the left of each line of the input text.
Example conversion:

"      some example text."
"   more example text."
becomes
"some example text."
"more example text."
Right trim every line

Removes any spaces or tabs to the right of each line of the input text.
Example conversion:

"some example text.     "
"more example text.    "
becomes
"some example text."
"more example text."
Trim every line

Removes any spaces or tabs on both sides of each line of the input text.
Example conversion:

"      some example text.     "
"   more example text.    "
becomes
"some example text."
"more example text."
Reverse entire text

Reverses the entire input text as if it were a single line.
Example conversion:

"some example text."
"more example text."
becomes
".txet elpmaxe erom"
".txet elpmaxe emos"
Reverse every line

Reverses each individual line of the input text.
Example conversion:

"some example text."
"more example text."
becomes
".txet elpmaxe emos"
".txet elpmaxe erom"
Make all one line

Removes new line characters between each line in the input text.
Example conversion:

"some example text."
"more example text."
becomes
"some example text. more example text."
Remove blank lines

Removes blank lines from the input text.
Example conversion:

"some example text."
""
"more example text."
becomes
"some example text."
"more example text."
Add line numbers

Adds numbers to each line of the input text beginning at 1.
Example conversion:

"some example text."
"more example text."
becomes
"1. some example text."
"2. more example text."

Share this utility: