Hex to Text Converter
Mode
Select encode or decode mode
Options
Use uppercase letters (A-F)
Add "0x" before each hex byte
Text Input
Hex Output
Related Tools
What is Hexadecimal?
Hexadecimal (also known as "hex") is a base-16 numbering system that uses sixteen distinct symbols: 0-9 to represent values zero to nine, and A-F (or a-f) to represent values ten to fifteen. It's widely used in computing because it provides a human-friendly representation of binary-coded values.
This free online tool converts text to its hexadecimal representation (encoding) or converts hexadecimal back to readable text (decoding). It supports various formats including space-separated bytes, colon-separated (like MAC addresses), and more.
All processing happens directly in your browser - your data never leaves your device.
Common Uses for Hexadecimal
Color Codes
Web colors are commonly specified in hex format like #FF5733. Each pair represents red, green, and blue values (0-255).
MAC Addresses
Network hardware addresses are written in hex format (e.g., 00:1A:2B:3C:4D:5E), making them easy to read and remember.
Memory & Debugging
Memory addresses and data dumps are typically shown in hex because it's more compact than binary and easier to read than decimal for byte-level data.
Hash Values
Cryptographic hashes like MD5, SHA-1, and SHA-256 are typically represented in hexadecimal for compact, readable output.
Frequently Asked Questions
Why use hexadecimal instead of decimal or binary?
Hexadecimal strikes a perfect balance: it's more compact than binary (4 bits per hex digit vs 1 bit per binary digit) while maintaining easy conversion to/from binary. A byte is always exactly 2 hex digits, making data easier to read and work with.
Does case matter in hexadecimal?
No, hexadecimal is case-insensitive. 'A' and 'a' both represent the value 10, 'F' and 'f' both represent 15. However, uppercase is often preferred in formal documentation for clarity.
What separator formats are supported?
When decoding, the tool automatically recognizes common formats including: space-separated (48 65 6C 6C 6F), colon-separated (48:65:6C:6C:6F), dash-separated (48-65-6C-6C-6F), 0x prefixed (0x48 0x65), or continuous strings (48656C6C6F).
Is my data sent to a server?
No. All conversion happens entirely in your browser using JavaScript. Your data never leaves your device, making this tool completely private and secure.