Text to Hex Encoder
Turn text into hexadecimal bytes, with the separator you choose.
How it works
Type text and get its bytes as hexadecimal. Choose the separator between bytes, and upper or lower case. Text is turned into UTF-8 bytes first.
Worked example
Hello becomes 48 65 6c 6c 6f.
Good to know
- Each byte is two hex digits, so the output is always twice as many digits as bytes.
- Non-English letters take more than one byte in UTF-8.
Common questions
- What is hex used for?
- Reading raw bytes, colour codes, hashes and network data.
- Why is my hex longer than I expected?
- Letters like Hindi or emoji use 2 to 4 bytes each in UTF-8.
- How do I go back?
- Use the Hex Decoder.
More in Developer.
ASCII Converter
See the ASCII code of every character in decimal, hex, binary and octal, or turn codes back into text.
OPEN →Axios Request GeneratorFill in a method, URL, headers and body and get a ready Axios Request snippet to copy.
OPEN →Base32 Encoder and DecoderEncode text to Base32 (RFC 4648) or decode it, as used in 2FA secrets.
OPEN →