Text to Hex Converter
This tool converts text to hexadecimal bytes. You choose the separator and a prefix such as 0x, and the text is written as UTF-8 bytes.
- Free, no sign-up
- Nothing is sent to a server
- Worldwide
How to use Text to Hex Converter online
- Type the text. Paste your text.
- Choose the layout. Separator, prefix and case.
- Read the hex. The bytes appear at once.
- Copy it. Copy or save the result.
Why use this free Text to Hex Converter
- UTF-8 bytes
- Four separators
- Prefix 0x or \x
- Upper or lower case
- Byte count shown
- Share by link
Text as hex
Every character of text is stored as one or more bytes, and each byte can be written as two hexadecimal digits. The word Hi is the bytes 48 and 69. Hex is a compact way for people to read and write bytes. It is used in network traces, memory dumps, colour codes and file formats.
Options
Put a space, a comma, a new line or nothing between the bytes. Add the prefix 0x, as in 0x48, or \x, as in \x48, which are the forms C and many other languages use. Choose upper or lower case for the letters A to F. Each choice only changes how the same bytes are written.
A worked example
The text "Hello, World" is 12 bytes, because every character is plain English. In hex it is 48 65 6C 6C 6F 2C 20 57 6F 72 6C 64. An accented letter or an emoji would take two to four bytes, so the byte count can be larger than the character count: é is C3 A9.
Going back
The hex to text converter turns bytes back into text, and accepts spaces, commas and the prefixes. If you want binary, octal or decimal numbers instead, the binary text converter offers those. For checking what a string really holds, including the code point of each character, use the Unicode converter.
Not encryption
Hex is only another way to write the same data, and anyone can turn it back. It does not hide or protect anything. For a fixed fingerprint of text, use the hash generator. The tool works in your browser and keeps nothing.
Using the tool
The Text to Hex Converter works again whenever the text or an option changes. Press Try a sample to see how it behaves.
Text to Hex Converter: frequently asked questions
How do I convert text to hex?
Why is é two bytes?
Can I add 0x in front?
Can I get one line?
Is hex a kind of encryption?
Does the Text to Hex Converter keep a copy of my text?
Can I chain the Text to Hex Converter with another tool?
Related searches for Text to Hex Converter
- Text to Hex Converter online
- free Text to Hex Converter
- Text to Hex Converter online free
- Text to Hex Converter for mobile
- Text to Hex Converter without sign up
- convert text to hex converter
- text to hex converter converter
- Text to Hex Converter – Text & Writing Tools
Text to Hex Converter is a free online tool on MAITBOX, in the Text & Writing Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.