onlinetexttools logo

Text to hexadecimal converter

World's simplest text tool

World's simplest browser-based utility for converting text to hexadecimal values. Load your text in the input form on the left and you'll instantly get hex text in the output area. Powerful, free, and fast. Load text – get hexadecimal. Created by devs for devs.
we made something new! fun with fractals
We love having fun so we created fractal art generators – dragon fractals, polyflake fractals, z-fractals and many more. Check them out!
fullscreen fullscreen_exit
Hex Formatting
Add the "0x" marker in front of each hex value.
Add a "0" in front of single digit values.
Visual Formatting
Place spaces between all hexadecimal values.
Text to hexadecimal converter tool What is a text to hexadecimal converter?
With this tool you can convert plain text to hex values. You can customize the output hex format. Namely, you can add hex prefix "0x" to all values, and you can put a "0" in front of hex values that use a single digit. For better visual perception, you can separate all hexadecimal values apart. Textabulous!
Text to hexadecimal converter examples Click to use
List of Rivers
This example converts a list of world's seven longest rivers into hex numbers, using all possible tool options. In particular, two types of prefixes are added here - 0x hex indicator to all numbers, and an extra 0 to shortest numbers (in particular, to newline characters). Also, all values are separated so that you get good visual feedback of individual values.
Nile Amazon Yangtze Mississippi Yenisei Yellow River Ob–Irtysh
0x4e 0x69 0x6c 0x65 0x0a 0x41 0x6d 0x61 0x7a 0x6f 0x6e 0x0a 0x59 0x61 0x6e 0x67 0x74 0x7a 0x65 0x0a 0x4d 0x69 0x73 0x73 0x69 0x73 0x73 0x69 0x70 0x70 0x69 0x0a 0x59 0x65 0x6e 0x69 0x73 0x65 0x69 0x0a 0x59 0x65 0x6c 0x6c 0x6f 0x77 0x20 0x52 0x69 0x76 0x65 0x72 0x0a 0x4f 0x62 0xe2 0x80 0x93 0x49 0x72 0x74 0x79 0x73 0x68
Required options
These options will be used automatically if you select this example.
Add the "0x" marker in front of each hex value.
Add a "0" in front of single digit values.
Place spaces between all hexadecimal values.
Aurora Borealis
In this example, we disable the hex indicator option and convert a fragment of text about the northern lights into a sequence of two-digit values.
The northern lights or aurora borealis are one of the most beautiful natural phenomena that can paint the night sky with incredible color. The aurorae are caused by charged particles ejected from the sun. These particles collide with gas atoms and molecules in the earth's upper atmosphere, energizing them and creating a spectacular multi-colored light show.
54 68 65 20 6e 6f 72 74 68 65 72 6e 20 6c 69 67 68 74 73 20 6f 72 20 61 75 72 6f 72 61 20 62 6f 72 65 61 6c 69 73 20 61 72 65 20 6f 6e 65 20 6f 66 20 74 68 65 20 6d 6f 73 74 20 62 65 61 75 74 69 66 75 6c 20 6e 61 74 75 72 61 6c 20 70 68 65 6e 6f 6d 65 6e 61 20 74 68 61 74 20 63 61 6e 20 70 61 69 6e 74 20 74 68 65 20 6e 69 67 68 74 20 73 6b 79 20 77 69 74 68 20 69 6e 63 72 65 64 69 62 6c 65 20 63 6f 6c 6f 72 2e 20 54 68 65 20 61 75 72 6f 72 61 65 20 61 72 65 20 63 61 75 73 65 64 20 62 79 20 63 68 61 72 67 65 64 20 70 61 72 74 69 63 6c 65 73 20 65 6a 65 63 74 65 64 20 66 72 6f 6d 20 74 68 65 20 73 75 6e 2e 20 54 68 65 73 65 20 70 61 72 74 69 63 6c 65 73 20 63 6f 6c 6c 69 64 65 20 77 69 74 68 20 67 61 73 20 61 74 6f 6d 73 20 61 6e 64 20 6d 6f 6c 65 63 75 6c 65 73 20 69 6e 20 74 68 65 20 65 61 72 74 68 27 73 20 75 70 70 65 72 20 61 74 6d 6f 73 70 68 65 72 65 2c 20 65 6e 65 72 67 69 7a 69 6e 67 20 74 68 65 6d 20 61 6e 64 20 63 72 65 61 74 69 6e 67 20 61 20 73 70 65 63 74 61 63 75 6c 61 72 20 6d 75 6c 74 69 2d 63 6f 6c 6f 72 65 64 20 6c 69 67 68 74 20 73 68 6f 77 2e
Required options
These options will be used automatically if you select this example.
Add the "0x" marker in front of each hex value.
Add a "0" in front of single digit values.
Place spaces between all hexadecimal values.
Concatenate Output
This example concatenates all hexadecimal values because the separator options is not selected.
Knowledge is power!
4b6e6f776c6564676520697320706f77657221
Required options
These options will be used automatically if you select this example.
Add the "0x" marker in front of each hex value.
Add a "0" in front of single digit values.
Place spaces between all hexadecimal values.
Pro tips Master online text tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinetexttools.com/convert-text-to-hexadecimal?input=Nile%0AAmazon%0AYangtze%0AMississippi%0AYenisei%0AYellow%20River%0AOb%E2%80%93Irtysh&spacing=true&prefix=true&padding=true
All text tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly split text into chunks.
Quickly merge lines of text together.
Quickly repeat text many times.
Quickly write text backwards.
Quickly cut text to the given length.
Quickly trim left or right side of text.
Quickly pad the left side of text.
Quickly pad the right side of text.
Quickly align text to the right side.
Quickly center text.
Quickly prepend a prefix to text.
Quickly append a suffix to text.
Quickly delete all blank lines from text.
Quickly return text lines that match a string or a regex.
Quickly find and replace text patterns.
Quickly count the number of characters in text.
Quickly create an image from text.
Quickly construct a palindrome from plain text.
Quickly test if text is a palindrome.
Quickly convert text letters to uppercase.
Quickly convert text letters to lowercase.
Quickly randomize character case in text.
Quickly invert character case in text.
Quickly replace spaces with newlines in text.
Quickly replace newlines with spaces in text.
Quickly get tabs instead of spaces in text.
Quickly get spaces instead of tabs in text.
Quickly clear text from spaces, tabs, and newlines.
Quickly clear text from dots, commas, and similar characters.
Quickly convert text to a JSON string.
Quickly write the text in Morse code.
Quickly decode Morse code to plain text.
Quickly URL-escape text.
Quickly URL-unescape text.
Quickly convert plain text to HTML entities.
Quickly convert HTML entities to plain text.
Quickly encode text to base64.
Quickly decode base64-encoded text.
Quickly convert plain text to binary text.
Quickly convert binary text to plain text.
Quickly convert plain text to octal text.
Quickly convert octal text to plain text.
Quickly convert text to decimal values.
Quickly convert decimal values to text.
Quickly convert plain text to hexadecimal values.
Quickly convert hexadecimal to readable text.
Coming soon These text tools are on the way
Calculate Levenstein Distance
Find Levenstein distance of two text fragments.
Tokenize Text
Create a list of all words in text.
Lemmatize Text
Lemmatize all words in text.
Generate Text Bigrams
Create a list of all 2-grams.
Generate Glitch Text
Let Zalgo mess up your text.
Slash-escape Text
Escape special symbols in text with slashes.
Slash-unescape Text
Remove slashes from previously slash-escaped text.
Generate Random Text
Generate text using random words.
Generate Text from a Regular Expression
Create text that matches the given regexp.
Printf Text
Format text using the printf or sprintf function.
Transpose Text
Flip text between horizontal and vertical positions.
Convert Text to Code Points
Convert text characters to their corresponding code points.
Convert Code Points to Text
Convert numeric character code points to text.
Extract Text from JSON
Extract all textual data from a JSON data structure.
Extract Text from HTML
Extract all textual data from HTML code.
Extract Text from BBCode
Extract all textual data from BBCode markup.
Extract Text from XML
Extract all textual data from a XML document.
Convert CSV to Text Columns
Convert CSV data to plain text columns.
Convert Text Columns to CSV
Convert plain text columns to a CSV file.
Generate Text Unigrams
Create a list of all monograms.
Generate Text Trigrams
Create a list of all 3-grams.
Generate Text N-grams
Create a list of all n-grams.
Stem Words in Text
Apply stemming to all words in text.
Convert Text to Title Case
Convert words in text to have title case.
Convert Text to Proper Case
Capitalize the first letter of every word in text.
Justify Text
Stretch spaces between words in text to make all lines equal length.
Format Text
Apply formatting and modification functions to text.
Find the Number of Letters in Text
Count the number of letters in text.
Find the Number of Words in Text
Count the number of words in text.
Find the Number of Lines in Text
Count the number of lines in text.
Fine the Number of Paragraphs in Text
Count the number of paragraphs in text.
Sort Letters in Text
Sort all characters in text alphabetically.
Sort Words in Text
Sort all words in text alphabetically.
Sort Sentences in Text
Sort all sentences in text alphabetically.
Sort Paragraphs in Text
Sort all paragraphs in text alphabetically.
Statistical Text Analysis
Analyze text for most frequent letters, words, phrases, sentences and paragraphs.
Add Text Line Numbers
Add a number before every line in text.
Wrap Text
Wrap words in text to a specified length.
Shuffle Letters in Text
Randomize the order of letters in text.
Shuffle Words in Text
Randomize the order of all words in text.
Shuffle Sentences in Text
Randomize the order of all sentences in text.
Shuffle Paragraphs in Text
Randomize the order of all paragraphs in text.
Extract Regular Expression Matches from Text
Find and return all regexp matches.
Find All Email Addresses in Text
Extract all emails from text.
Find All Web Addresses in Text
Extract all URLs from text.
Find All Numbers in Text
Extract all numbers from text.
Rotate Text
Cyclically rotate text letters to the right or left.
ROT13 Text
Apply ROT13 algorithm to text.
ROT47 Text
Apply ROT47 algorithm to text.
Encode Text to Punycode
Convert text to punycode.
Decode Punycode to Text
Convert punycode to text.
Convert Text to Base32
Encode text to base32 encoding.
Convert Base32 to Text
Decode base32-encoded text.
Convert Text to Base58
Encode text to base58 encoding.
Convert Base58 to Text
Decode base58-encoded text.
Convert Text to Base85
Encode text to Ascii85 encoding.
Convert Base85 to Text
Decode Ascii85-encoded text.
UTF8-encode Text
Encode text to UTF8 encoding.
UTF8-decode Text
Decode UTF8-encoded text.
UTF16-encode Text
Encode text to UTF16 encoding.
UTF16-decode Text
Decode UTF8-encoded text.
UTF32-encode Text
Encode text to UTF32 encoding.
UTF32-decode Text
Decode UTF32-encoded text.
IDN-encode Text
Encode text to IDN.
IDN-decode Text
Decode IDN-encoded text.
Uuencode Text
Convert text to Unix-to-Unix encoding.
Uudecode Text
Decode Unix-to-Unix-encoded text.
Xxencode Text
Convert text to Xxencoding.
Xxdecode Text
Decode Xxencoded text.
Convert Text to Quoted Printable
Encode text to QP encoding.
Convert Quoted Printable to Text
Decode QP-encoded text.
Strip HTML Tags from Text
Remove all HTML tags from Text.
Strip XML Tags from Text
Remove all XML tags from Text.
Convert Text to HTML Entities
Encode all text characters to HTML entities.
Remove Diacritics from Text
Remove all accent marks from all characters in text.
Normalize Text Spacing
Remove duplicate spaces from text.
Compare Text
Find diff between two text fragments.
Create Text Typos
Generate various text typos.
Create a Mirror Copy of Text
Generate a mirror reflection of text.
Grep Text
Grep text for regular expression matches.
Head Text
Extract first lines from text.
Tail Text
Extract last lines from text
Rewrite Text
Rewrite text using transformation rules.