String Utilities
Some string utilities you can't live without! Word and character counts, uppercase/lowercase and other conversions...
Converted text appears here...
Check word and character counts, and perform character conversions such as uppercase/lowercase etc. ...
How to use this tool
- Type or paste your text in the panel on the left — Word and character counts are also below your source. Word counts use a space as a delimiter.
- Transform your text with one of the preset transformation buttons. For example, clicking the
"uppercase" button will show your text in all uppercase in the right-panel.
Here are more transformations you can try:
- —Converts to lowercase
- —Converts to uppercase
- —Swaps the case. Upper to lower and lower to upper
- —Converts underscored or dasherized string to a camelized one. Begins with a lower case letter unless it starts with an underscore, dash or an upper case letter
- —Reversed string
- —Initial caps
- How to uppercase the first letter of a string in JavaScript —Initial caps on first word —
- —Converts a underscored or camelized string into an dasherized one
- —Transform text into an ascii slug which can be used in safely in URLs. Replaces whitespaces, accentuated, and special characters with a dash. Limited set of non-ascii characters are transformed to similar versions in the ascii character set
- —Converts an underscored, camelized, or dasherized string into a humanized one. Also removes beginning and ending whitespace, and removes the postfix '_id'
- —Trim and replace multiple spaces with a single space
- —Removes html/xml tags from the string
- Click the button to copy the converted text to the clipboard.
- Click the button to replace your source text with the converted text.