Hex Encoder/Decoder — Free Online Text to Hex Converter

Encode text to hexadecimal (each byte as two hex digits) and decode hex back to text — uses UTF-8 encoding for full Unicode support.

100% Client-Side — Your data never leaves your browser
0 chars
Output will appear here...

Frequently Asked Questions

Hexadecimal Encoding for Text and Binary Data

Hexadecimal (hex) encoding is the universal way to represent binary data in a human-readable format. Every byte (8 bits, values 0–255) is represented as two hex digits (00–FF). This representation is ubiquitous in security tools, network analyzers, debugging environments, and cryptographic output.

This tool encodes text to hex using UTF-8 byte encoding. The ASCII letter 'A' encodes to 41. The Unicode character '©' (U+00A9) encodes to its UTF-8 bytes C2 A9. The emoji '😀' (U+1F600) encodes to its 4-byte UTF-8 sequence F0 9F 98 80. Bytes are space-separated for readability.

Practical uses: inspecting raw protocol bytes when debugging network issues, representing binary keys and tokens in configuration files, converting hash digests from binary to hex for display, creating hex literals for use in binary protocol implementations, and analyzing packet captures where data is shown as hex bytes.

Related Tools