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?
Every character has a code in the ASCII table, and that code becomes its hexadecimal (base 16) representation. The letter A, for example, has ASCII code 65, which works out to 41 in hex.
In programming you'll find hexadecimal almost everywhere. It represents bytes, CSS colors (#RRGGBB), memory addresses and binary data in a form that stays compact yet still readable.
Related Tools
Text ↔ Decimal Converter
Convert ASCII text to decimal codes and vice versa. Each character is represented by its decimal value in the ASCII table.
Numeric Bases Converter
Convert numbers between binary (base 2), decimal (base 10), hexadecimal (base 16) and octal (base 8). Type in any field for instant conversion in the others.
Base32 Encoder / Decoder
Encode text to Base32 or decode Base32 strings back to the original.
Number Base Converter
Convert numbers between binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16). Instant bidirectional conversion.
Binary Code Translator
Convert text to binary code (0s and 1s) and vice versa. Supports any ASCII character. Processed in the browser.
CBOR to JSON (text) Converter
Explains CBOR (RFC 8949), its types and how to represent compact binary values in textual JSON.