Hexadecimal to Text Converter
Bytes as hex, hex as bytes.
Free · no sign-up · runs locally·
About this tool
Hexadecimal is how humans read bytes: two digits per byte, no ambiguity. This converter translates UTF-8 text to hex and back, tolerating spaces, colons, and 0x prefixes on input, with grouping options for output.
Like everything on encrypt.tools, this runs entirely in your browser — nothing you enter is transmitted or stored.
Do the same in a terminal
Reproduce or cross-check this tool with standard command-line utilities. For deterministic operations like hashing and encoding, the output matches exactly.
$ printf 'hello' | xxd -p
68656c6c6f
$ printf '68656c6c6f' | xxd -r -p
helloFrequently asked questions about Hex ⇄ Text
What is hex encoding?+
Hexadecimal represents each byte as two characters (00–FF), a compact, unambiguous way for humans to read binary data.
Does it accept spaces and 0x prefixes?+
Yes — when decoding hex to text, spaces, colons, and 0x prefixes are ignored, so you can paste hex in almost any format.
Is Unicode supported?+
Yes — text is treated as UTF-8, so multi-byte characters and emoji convert correctly in both directions.