ASCII Text to Hexadecimal Converter
Convert ASCII and UTF-8 text to hexadecimal byte codes, one byte per character, with the decimal value shown beside each for reference.
How to use it
- Type text to convert to hex bytes.
Examples
| Hi | 48 69 |
Every character in a string has an underlying numeric code (ASCII for standard English text, UTF-8 more broadly). This tool converts each character's code to its 2-digit hexadecimal form — the format used in hex dumps, byte editors and low-level data inspection.
'H' is ASCII 72, and 72 in hex is 48. 'i' is ASCII 105, which is 69 in hex.
Where this comes up
- Preparing a hex string for a URL, API payload or firmware upload that expects hex-encoded text
- Debugging serial or network data by comparing readable text against its hex byte representation
- Computer science coursework linking character encoding to hexadecimal notation
Runs entirely in your browser. Nothing you type is uploaded, logged or shared.
Last updated 18 August 2026