Hex Encoder / Decoder

Convert text to hexadecimal or decode hex back to text.

Text Input
Hex Output

About Hexadecimal Encoding

What is Hex Encoding?

Hexadecimal (base-16) encoding represents binary data using characters 0-9 and A-F. Each byte becomes two hex characters. It is used in color codes (#FF5733), MAC addresses, memory addresses, cryptographic hashes, and low-level debugging.

How to Convert Text to Hex

Type or paste text, and get the hexadecimal representation of each character's byte value. In decode mode, paste hex values (space-separated or continuous) to convert back to readable text.

Hex in Programming

Hex is everywhere in development: CSS colors (#8b5cf6), Unicode escapes (\u0041), memory dumps, network packet inspection, binary file analysis, and cryptographic hash outputs (SHA-256 produces 64 hex characters).

Frequently Asked Questions