Hex (Base16) encoder & decoder
Hexator is a tool for text or binary to hex (base16) and vice-versa conversion
Encode a text to Hex (base16) by copy & paste
The text will be encoded to UTF8 and then converted to Hex. If you want a different encoding, upload rather a file with your own encoding, or any other binary file
Paste a text to encode:
How to use Hexator
- Paste text on the homepage and press Encode to get a hex string
- Or upload any file to encode its raw bytes
- Need to go the other way? Use the Decode page
- Copy or download the result when done — see the full help guide for all options
What is Base16 encoding?
Hexadecimal — or Base16 — is the standard way to represent binary data in a form people can actually read. Each byte becomes exactly two characters from a 16-symbol alphabet (0-9 and A-F), which is why you see hex everywhere: CSS color codes like #FF6600, MAC addresses, SHA hashes, and memory dumps in debuggers. The notation dates back to the IBM System/360 in the 1960s, and RFC 4648 formalized it in 2006 alongside Base32 and Base64. Read the full article on Base16 encoding for the history, worked examples, and a comparison with Base64.