Hex and Binary Converter
Convert text to hexadecimal, binary, octal, or decimal byte values. Decode hex and other byte formats back to readable UTF-8 text.
Output
48 65 6c 6c 6f
What does this hex converter do?
Encoding produces the byte representation of your text in the chosen base. Strings are first encoded as UTF-8, and the decoder applies the same conversion in reverse.
Tokens may be separated by spaces or commas, or for hex written as one continuous string
(48656c6c6f).
Text to hex and hex to text examples
The text Hi becomes 48 69 in hexadecimal and 01001000 01101001 in binary.
Use this converter when checking encoded payloads, byte-level examples, binary protocols, or simple base conversions in documentation and tests.
Use the API
Call the same encoder server-side or from another origin. CORS is open, no auth required for the free tier.
curl "https://encode-decode.org/api/v1/hex\ ?action=encode&input=Hi"