← All free tools

ASCII to Hex

convert ASCII text to hexadecimal bytes

ASCII

Empty

Hex
Example output:
6c 75 62 65

Empty

About this tool

ASCII to Hex shows each character's hexadecimal code point, separated by spaces. For ASCII input these values are the familiar single-byte character codes.

Inputs, results and saved preferences stay in this browser.

When to use it

  • Inspect the character codes in a short ASCII protocol message.
  • Compare an ASCII string with a hexadecimal diagnostic value.

Examples

Questions