String
66 snippets
camelCase
VerifiedConverts any string (spaces, kebab, snake, Pascal) to camelCase.
Capitalize
VerifiedUppercases the first character of a string.
Escape HTML
VerifiedEscapes &, <, >, " and ' so untrusted text can be safely inserted into HTML.
Get Initials
VerifiedExtracts up to N uppercase initials from a name, e.g. for avatar fallbacks.
kebab-case
VerifiedConverts any string (spaces, snake, camel, Pascal) to kebab-case.
PascalCase
VerifiedConverts any string (spaces, kebab, snake, camel) to PascalCase.
Slugify
VerifiedConverts a string into a URL-friendly slug, stripping accents and symbols.
snake_case
VerifiedConverts any string (spaces, kebab, camel, Pascal) to snake_case.
Title Case
VerifiedConverts a sentence to Title Case, keeping minor words like "of" and "the" lowercase.
Truncate
VerifiedShortens text to a maximum length with a suffix, optionally on a word boundary.
Ascii To String
Converts a list of ascii numbers into a string
CamelCase to snake_case
Converts a Camel Case string to Snake case.
Capitalize first letter
Makes the first letter of a string uppercase.
Capitalize Words
Capitalizes the first letter of each word in a string.
Check Anagram
Checks if two strings are anagrams, meaning they contain the same characters ignoring order, spaces and case sensitivity
Check if String is a Palindrome
Checks whether a given string is a palindrome.
Check Palindrome
Checks if a string reads the same backward as forward, ignoring whitespaces and case sensitivity
Convert Snake Case to Camel Case
Converts a snake_case string to camelCase.
Convert String to Unicode
Converts a string into its Unicode representation.
Convert Tabs to Spaces
Converts all tab characters in a string to spaces.
Count Character Frequency
Counts the frequency of each character in a string
Count Character Occurrences
Counts the occurrences of the specified characters in a given string
Count Vowels
Counts the number of vowels in a string.
Count Word Occurrences in String
Counts the occurrences of each word in a given string.
Count Words
Counts the number of words in a string
Count Words in a String
Counts the number of words in a string.
Data with Prefix
Adds a prefix and postfix to data, with a fallback value.
Extract Text Between Delimiters
Extracts a text between two given delimiters from a string
Filter
Filter a string with a predicate function
Find All Substrings
Finds all substrings of a given string.
Find Longest Word
Returns the longest word in a string
Find Unique Characters
Returns a set of unique characters from a string, with options to include spaces and control case sensitivity
Generate Random String
Generates a random alphanumeric string.
Generate UUID
Generates a UUID (v4) string.
Mask Sensitive Information
Masks parts of a sensitive string, like a credit card or email address.
Mask Text
Masks portions of a string, leaving specific parts at the beginning and end visible while replacing the rest with a specified character
Normalize Whitespace
Replaces consecutive whitespaces with a single space
Pad String on Both Sides
Pads a string on both sides with a specified character until it reaches the desired length.
Palindrome
Check if a string is a palindrome or not.
Password Generator
Generates a random string with specified length and character set, including options for letters, numbers, and special characters
Random string
Generates a random string of characters of a certain length
Remove All Whitespace
Removes all whitespace from a string.
Remove Characters
Removes specific characters from a string.
Remove Duplicate Characters
Removes duplicate characters from a string while maintaining the order.
Remove Punctuation
Removes all punctuation from a given string.
Remove Special Characters
Removes any character which is not alphabetic (A-Z, a-z) or numeric (0-9)
Remove Vowels from a String
Removes all vowels from a given string.
Remove Whitespace
Removes all whitespace from a string.
Reverse String
Reverses the characters in a string.
Reverse Word Contents
Reverses the characters of each word in a string while preserving word order
Reverse Word Order
Reverses the order of words in a sentence while preserving the content of each word
Snake_Case to CamelCase
Converts a Snake Case string to Camel Case.
spaces-to-tabs
Converts spaces into tabs
Split Camel Case
Splits a camel case string into separate words.
Split String
Splits a string by a delimiter
String To Ascii
Converts a string into ascii numbers
String To camelCase
Converts a string into camelCase
String To PascalCase
Converts a string into PascalCase
String To Titlecase
Converts a string into Title Case, where the first letter of each word is capitalized and the remaining letters are lowercase
String To Unicode
Converts characters of a string into their unicode representation
tabs-to-spaces
Converts tabs into spaces
Transform
Transform a string with a function
Transform Camel Case to Snake Case
Converts a Camel or Pascal Case string to Snake case.
Transform from Snake Case to Camel Case
Converts a Snake Case string to Camel Case.
Transform from Snake Case to Pascal Case
Converts a Snake Case string to Pascal Case.
Unicode To String
Converts a unicode String into its normal representation