String Utilities
Handy string utilities: upper/lower case, reverse, character and word count, string splitter and detailed character info.
Loading tool...
About the string utilities
Case conversion
- Lowercase / Uppercase: Unicode case mapping.
- Title Case / Sentence case: per-word or per-sentence capitalization.
- camelCase / snake_case / kebab-case: splits on whitespace, punctuation and letter-case boundaries.
Line utilities
- Reverse / Reverse lines: characters or line order.
- Trim lines / Remove blank lines / Remove duplicate lines.
- Sort lines: natural, locale-aware ordering. Shuffle: randomize.
- Number lines: prefix with line numbers.
Counting
Character count: characters, words, lines, bytes, sentences, paragraphs. Word frequency: most common words.
String splitter
Cuts text at every occurrence of a token. Supports escape sequences (\n, \t, \uXXXX) and regular expressions.
Character information
See code point, Unicode notation, escape sequences for Java/JavaScript/JSON/CSS/HTML, UTF-8/UTF-16 byte representation, and Unicode general category.