Converters tool
✦ Browser-firstText to Hex, Binary and Decimal
Convert text to hex, binary and decimal bytes, and back.
About this tool
Convert text to hexadecimal, binary and decimal byte values using UTF-8, or paste bytes in any of those formats and read the text back. Handy for debugging encodings and protocols.
How to use the Text to Hex, Binary and Decimal
- Paste text, or choose hex, binary or decimal as the input type.
- Read the other representations instantly.
- Copy the format you need.
Common uses
- Debugging encodings
- Inspecting protocol payloads
- Learning how text maps to bytes
Text to Hex, Binary and Decimal questions
Which text encoding is used?
UTF-8, so non-English characters and emoji use several bytes.
Can I paste hex without spaces?
Yes, pairs of hex digits are split automatically.
Why does decoding say the bytes are not valid UTF-8?
The byte sequence does not form valid UTF-8 text, for example raw binary data.