Text ? Hex Converter
Convert text to hexadecimal bytes and back. Each character becomes a two-digit hex value - useful for debugging, encoding, and low-level data inspection.
FAQ
Each character is converted to its two-digit uppercase hexadecimal byte value, separated by spaces. For example, 'Hello' becomes '48 65 6C 6C 6F'. Bytes are zero-padded to two digits.
Yes. The hex-to-text converter accepts both uppercase and lowercase hex digits (A-F and a-f). It also handles hex bytes with or without leading zeros - 'A' and '0A' are both valid.
Each character is converted to its numeric code point (ASCII or Unicode), then that number is represented in base-16 using digits 0-9 and letters A-F. For example, 'A' is 65 decimal, which is 41 in hex. Each byte becomes two hex characters.
Hexadecimal is more compact than binary — 1 hex digit represents 4 binary bits. This makes it easier for humans to read and write while still directly mapping to bytes. Hex is the standard for representing binary data in debugging, hex editors, and memory dumps.
SHA/MD5 hash digests, color codes (#E84D4D), MAC addresses, memory addresses in debugging, binary file inspection (hexdump), wire protocol analysis, and representing non-printable characters in data streams.
Hex represents each byte as exactly two characters (0-9, A-F), making it easy to read byte by byte. Base64 uses a larger alphabet and encodes 3 bytes into 4 characters, making it more compact but less human-readable for binary inspection.
More tools
Text to Binary Converter
Convert text to 8-bit binary and back. Toggle between both modes.
Base64 Encoder / Decoder
Encode or decode Base64 strings instantly. Supports text and data URIs.
ROT13 Cipher
Encode or decode text with the classic ROT13 substitution cipher.
JSON Formatter
Pretty-print, validate, and minify JSON with syntax highlighting.
CSV to JSON Converter
Convert CSV data to formatted JSON with automatic header detection.
Markdown Preview
Write Markdown and see the rendered HTML preview update in real time.