Loading tool…
Convert readable text into a hexadecimal byte string, or decode hex back into text. Useful for debugging encodings, protocols and binary data.
Loading tool…
Privacy: this tool runs entirely in your browser. Your input is never sent to, received by, or stored on any server — there are no uploads and no tracking of what you enter.
Hexadecimal is base-16, using digits 0–9 and letters a–f. One byte (8 bits) is exactly two hex digits (00–ff), which makes hex a compact, readable way to show raw bytes.
Encoding converts each character to its UTF-8 byte(s) and prints them as two-digit hex. Decoding reverses the process. Spaces, 0x prefixes and newlines in the input are ignored when decoding.
Inspecting file signatures (magic numbers), debugging network packets, reading memory dumps, and working with color codes, hashes and binary protocols.
0x prefixes automatically, so many formats just work.