Boneyard Tools

Hex to ASCII and ASCII to Hex

Paste hex to decode it into readable text, or paste text to encode it as hex. Spaces and a 0x prefix on each byte are tolerated, and text is treated as UTF-8.

How to convert hex to ASCII

  1. Paste your hex or your text into the box.
  2. Choose Hex to text or Text to hex.
  3. Copy the converted result.

Examples

Hex to text

48656c6c6f
Hello

Frequently asked questions

Can I paste hex with spaces or a 0x prefix?

Yes. Spaces are ignored and an optional 0x in front of each byte is stripped, so '0x48 0x65' decodes to 'He'.

Why do I get an error about an odd length?

Each byte needs two hex digits. An odd number of digits means a byte is incomplete, so add the missing digit.

Does it support Unicode, not just ASCII?

Yes. Text is encoded and decoded as UTF-8, so accented letters and emoji round-trip correctly even though they use more than one byte.

Can I choose uppercase or add a separator?

Yes. When converting text to hex you can output uppercase digits and place a separator such as a space between bytes.

Is my data private?

Yes. Everything runs in your browser and nothing is uploaded.

Related tools