Hex Encoder / Decoder
Convert between text and hexadecimal byte sequences.
Loading tool…
About this tool
Converts between text and hexadecimal byte values in either direction, with a choice of separator. Useful for reading binary protocol dumps and for embedding byte sequences in source code.
Questions
- Why are there more hex bytes than characters?
- UTF-8 uses one byte for ASCII and up to four for other characters, so anything outside ASCII produces more bytes than it has characters.
Privacy
This page does its work in your browser. What you paste is processed by JavaScript running on your own device and is never sent to a DevToolery server — there is no server that could receive it. The page itself is a static file delivered by a CDN. See exactly what is stored.