Text Formatter
-
Clean Text: Removes extra spaces, unnecessary line breaks, and consecutive punctuation.
-
Title Case: Capitalizes the first letter of each word, ideal for titles and proper nouns.
-
Sentence Case: Converts the first letter of each sentence to uppercase, perfect for standard text readability.
-
Upper Case: Transforms all text to uppercase, making it standout for emphasis or headings.
-
Lower Case: Converts all text to lowercase, ensuring a uniform and subtle appearance.
-
Remove Punctuation: Removes all punctuation marks, keeping only characters, numbers, and spaces.
-
camelCase: Converts text to camelCase, e.g. "hello world" becomes "helloWorld".
-
snake_case: Converts text to snake_case, e.g. "Hello World" becomes "hello_world".
-
kebab-case: Converts text to kebab-case, e.g. "Hello World" becomes "hello-world".
-
Trim Lines: Removes leading and trailing whitespace from each line.
-
Remove Empty Lines: Removes all blank lines from the text.
-
Remove Duplicate Lines: Removes duplicate lines, keeping only the first occurrence.
-
Sort Lines (A-Z): Sorts all lines in ascending alphabetical order.
-
Sort Lines (Z-A): Sorts all lines in descending alphabetical order.
-
Reverse Lines: Reverses the order of all lines.
-
Add Line Numbers: Adds a line number prefix to each line.