String Tools
Encode, decode, split, join and manipulate strings. All 159 tools run entirely in your browser, so your data never leaves your device.
All string tools
159 tools
Add Accents to a String
Randomly sprinkle combining diacritics over the letters of a string.
Add Duplicate Spaces to a String
Replace each single space with two (or more) spaces.
Add a Prefix to a String
Prepend text to a string (or to every line of it).
Add a Suffix to a String
Append text to a string (or to every line of it).
Base32 Decode a String
Decode a string from Base32.
Base32 Encode a String
Encode a string to Base32.
Base45 Decode a String
Decode a string from Base45.
Base45 Encode a String
Encode a string to Base45.
Base58 Decode a String
Decode a string from Base58.
Base58 Encode a String
Encode a string to Base58.
Base64-decode a String
Decode a Base64-encoded string back into readable text.
Base64-encode a String
Convert a string to Base64 encoding, right in your browser.
Ascii85 Decode a String
Decode a string from Ascii85.
Ascii85 Encode a String
Encode a string to Ascii85.
Blockify a String
Fit a string into an N-by-M block of characters.
Calculate String Statistics
Report a string's length, word count, entropy and more.
Capitalize Words in a String
Make the first letter of every word uppercase.
Center a String
Center every line of a string within a given width.
Chunkify a String
Split a string into fixed-length chunks.
Circlify a String
Arrange the characters of a string around a circle.
Color a String
Paint each character or word of a string in cycling rainbow colors.
Convert a String to an Array
Build a JSON, JavaScript, or Python array from a string's parts.
Convert a String to a Hyperstring
Turn a plain string into an HTML fragment with one paragraph per line.
Convert a String to Integers
Turn each character into its Unicode code-point value.
Convert a String to Punycode
Encode a Unicode string to its Punycode representation.
Convert Bytes to a String
Decode a sequence of UTF-8 byte values back into a string.
Convert a Hyperstring to a String
Strip HTML tags and entities to recover the plain string.
Convert a Netstring to a String
Decode a netstring and output the string it contains.
Convert Newlines to Spaces
Replace line breaks in a string with spaces.
Convert Punycode to a String
Decode a Punycode string back to Unicode.
Convert Spaces to Newlines
Replace spaces and tabs in a string with line breaks.
Convert Spaces to Tabs
Turn groups of spaces in a string into tab characters.
Convert a String to Bytes
Encode a string as its sequence of UTF-8 byte values.
Convert a String to an Image
Render a string as a downloadable PNG, JPG or WebP image.
Convert a String to a Netstring
Wrap a string as a length-prefixed netstring.
Convert Tabs to Spaces
Replace every tab character in a string with spaces.
Count Newlines in a String
Count how many line breaks a string contains.
Create a String Cloud
Count word frequencies and list the words from most to least common.
Create a String of Certain Length
Build a string that is exactly the length you ask for.
Create an Anagram from a String
Shuffle the letters of a string into a new arrangement.
Create Mistakes in a String
Introduce random typos by substituting characters in a string.
Create String Mnemonic
Build an acronym from the first letter of every word.
Delete Characters from a String
Remove every occurrence of the characters you specify.
Delete String Consonants
Remove consonants from a string.
Delete Symbols from a String
Strip punctuation and symbols, keeping letters, digits, and spaces.
Delete String Vowels
Remove vowels from a string.
Diff Two Strings
Highlight what changed between the first two lines of your input.
Divide a String into Syllables
Split each word of a string into its syllables (heuristic).
Extract Emails from a String
Find and list all the email addresses in a string.
Extract Numbers from a String
Find and list all the numbers in a string.
Extract Regex Matches from a String
Pull every substring that matches a regular expression.
Extract a Substring
Grab a fragment of a string by start position and length.
Extract URLs from a String
Find and list all the web addresses in a string.
Filter String Lines
Keep or drop the lines of a string that match a pattern.
Find and Replace a String
Replace every match of a word or regular expression.
Find the LCS of Two Strings
Find the longest common subsequence of the first two lines.
Find Mistakes in a String
Heuristically flag words in a string that look misspelled.
Find the Length of a String
Count how many characters a string contains.
Fix String Quoting
Balance mismatched surrounding quotes on each line of a string.
Format a Multi-line String
Tidy a multi-line string: trim lines and collapse blank runs.
Generate a Custom String
Build a random string from a chosen character set, with affixes.
Generate a Long String
Create a long random string from a chosen character set.
Generate a Short String
Create a short random string from a chosen character set.
Generate a Zalgo String
Convert a string to Unicode mess.
Generate All N-grams
Generate all ngrams of a string.
Generate an LCD String
Render a string as three-row seven-segment LCD ASCII art.
Generate N-skip-M-grams
Generate n-skip-m-grams of a string.
Generate a Random String
Create a random string of any length from a chosen character set.
Generate a String from Regex
Produce random strings that match a regular expression.
Generate String Typos
Create one-edit misspellings of a string.
Generate Trigrams
List every three-token gram from a string.
Generate Triplet Strings
Create three strings that are anagrams of one another.
Generate Twin Strings
Create two strings that are anagrams of one another.
Grep a String
Keep the lines of a string that match a regular expression.
Head a String
Keep the first few lines, words, or characters of a string.
HTML-decode a String
Convert HTML entities back into the characters they represent.
HTML-encode a String
Convert a string to HTML entities so it renders as plain text.
HTML-strip a String
Strip all HTML tags from a string.
IDN Decode a String
Decode an ASCII (xn--) domain name back to Unicode.
IDN Encode a String
Encode an internationalized domain name to its ASCII (xn--) form.
Join Strings
Join a list of strings (one per line) with a delimiter.
Justify a String
Stretch each line so it aligns to both the left and right margins.
Left-align a String
Remove leading indentation so every line starts at the margin.
Left-pad a String
Pad the left side of every line to a fixed length.
Lemmatize a String
Reduce every word in a string to a dictionary base form.
Make a Zalgo String Readable
Remove Unicode mess from a string.
Mirror a String
Reflect a string as if seen in a mirror.
Mix Two Strings
Interleave two strings character by character into one.
Number a Multi-line String
Add a line number to the start of every line.
Number of Letters in a String
Count how many letters a string contains.
Number of Lines in a String
Count how many lines a multi-line string contains.
Number of Paragraphs in a String
Count how many paragraphs a multi-line string contains.
Number of Words in a String
Count how many words a string contains.
Partition a String
Split a string into pieces by chunk length, part count, or a separator.
Printf a String
Apply a printf/sprintf format to whitespace-separated arguments.
Proper-case a String
Uppercase the first letter of every word, leaving the rest as-is.
Quoted-Printable Decode a String
Convert quoted-printable encoded data to a string.
Quoted-Printable Encode a String
Convert a string to quoted-printable encoding.
Quote a String
Wrap a string in a pair of quotes.
Reduce String Alphabet
Limit the alphabet letters that are used in a string.
Remove Accent Characters
Remove all diacritical signs from a string.
Remove Duplicate Spaces from a String
Collapse runs of repeated spaces down to a single space.
Remove All Empty Lines
Delete every blank line from a string.
Remove All Punctuation
Delete dots, commas and other punctuation from a string.
Remove All Whitespace
Delete every space, tab and newline from a string.
Repeat a String
Duplicate a string as many times as you need.
Repeat String Characters
Duplicate every character in a string a fixed number of times.
Replace Letters with Digits
Rewrite a string in leetspeak by swapping letters for look-alike digits.
Replace Multiple Strings
Apply a whole set of find/replace rules in one pass.
Reverse Sentences in a String
Reverse the order of all the sentences in a string.
Reverse a String
Write a string backwards, character by character.
Reverse Words in a String
Reverse the order of all the words in a string.
Rewrite a String
A tiny string rewriting system.
Right-align a String
Align every line of a string to the right margin.
Right-pad a String
Pad the right side of every line to a fixed length.
ROT13 a String
Encode or decode a string with the ROT13 letter cipher.
ROT18 a String
Rotate letters by 13 and digits by 5: ROT13 plus ROT5.
ROT47 a String
Encode or decode a string with the ROT47 cipher over printable ASCII.
Rotate a String
Cyclically shift the characters of a string left or right.
Shift a String
Slide a string left or right, filling the vacated positions.
Shuffle Words in a String
Randomly reorder all the words in a string.
Slash-escape a String
Backslash-quote newlines, tabs, quotes and other characters.
Slash-unescape a String
Turn backslash escape sequences back into real characters.
Slice a String
Extract a slice of a string between two positions.
Slugify a String
Create an SEO-friendly URL from a string.
Sort a Numeric String
Sort the whitespace-separated numbers in a string.
Sort Letters in a String
Sort all the letters of a string alphabetically.
Sort Strings
Sort a list of strings alphabetically, numerically or by length.
Sort Words in a String
Sort all the words of a string alphabetically.
Spiralify a String
Lay a string out in an inward spiral.
Split a String
Break a string into pieces by length or by a separator.
Squarify a String
Lay a string out around the border of a square.
Stem a String
Reduce every word in a string to its Porter stem.
String Frequency Analysis
Find the most frequent letters and words in a string.
String Hamming Distance
Count the differing positions between two equal-length lines.
String Levenshtein Distance
Count the single-character edits between the first two lines.
Tail a String
Keep the last few lines, words, or characters of a string.
Test a String with Regex
Check whether a string matches a regular expression.
Title-case a String
Capitalize a string the way a title would be written.
Tokenize a String
Split a string into word or character tokens.
Transpose a String
Flip a multi-line string's rows and columns.
Trim a String
Trim whitespace from the left or right side of a string.
Truncate a String
Cut a string down to a given length.
Unquote a String
Remove the quotes surrounding a string.
URL-decode a String
Turn a percent-escaped URL string back into plain text.
URL-encode a String
Percent-escape a string so it's safe to use in a URL.
UTF-16 Decode a String
Decode UTF-16 hex code units back into a string.
UTF-16 Encode a String
Encode a string as its UTF-16 code units in hexadecimal.
UTF-32 Decode a String
Decode UTF-32 hex code points back into a string.
UTF-32 Encode a String
Encode a string as its UTF-32 code points in hexadecimal.
UTF-8 Decode a String
Decode UTF-8 hex bytes back into a string.
UTF-8 Encode a String
Encode a string as its UTF-8 bytes in hexadecimal.
Uudecode a String
Convert Unix-to-Unix data to a string.
Uuencode a String
Convert a string to Unix-to-Unix encoding.
View and Edit Strings
Edit a string in your browser and see live character stats.
Wrap a String
Wrap a string to a maximum line length.
Xxdecode a String
Convert an Xxencoded string to a regular string.
Xxencode a String
Convert a string to Xxencoding.
Zigzagify a String
Lay a string out in a zigzag across several rows.