Text ↔ Hex Converter
Convert ASCII text to hexadecimal values and vice versa, character by character. Useful for debugging, encoding and protocol analysis.
How does Text → Hex conversion work?
Each text character has a code in the ASCII table. That code is converted to its hexadecimal (base 16) representation. For example, the letter A has ASCII code 65, which in hexadecimal is 41.
Hexadecimal is widely used in programming to represent bytes, CSS colors (#RRGGBB), memory addresses and binary data in a compact and readable form.
Related Tools
Base64 Converter
Encode text to Base64 or decode Base64 strings back to the original. Free online tool with no server required.
URL Encode / Decode
Encode text for safe use in URLs (percent-encoding) or decode URL-encoded strings back to the original. Processed in the browser.
Binary Code Translator
Convert text to binary code (0s and 1s) and vice versa. Supports any ASCII character. Processed in the browser.