Developer tools

Hex to Text

Hex to Text Converter

Decode hexadecimal bytes or code points to readable UTF-8 text.

About this tool

About Hex to Text

Turn a hex dump back into readable text. Paste bytes from a packet capture, a debugger, a database blob or an escaped string, and the decoder works out the layout for you: spaced pairs like 48 65 6C, an unbroken run like 48656C6C6F, comma lists of 0x48, C-style \x48 escapes, colon-separated bytes and %48 URL escapes all work. The bytes are read as UTF-8, so multi-byte characters such as é (C3 A9) and emoji decode properly, and if a sequence isn't valid UTF-8 you get a warning instead of silent garbage. If your values are Unicode code points like 00E9 or U+1F600 rather than bytes, switch Values are to Code points. Invalid digits are reported with the value that contains them, and an odd number of digits is caught before it shifts every byte after it. Use Swap to encode the text again, or the direction switch to go from text to hex. All decoding happens in your browser.

Built and maintained by Abhi JainUpdated

How to Convert Hex to Text

  1. 1

    Paste the hex

    Paste hex values in any common format into the Hex pane, or click Sample.

  2. 2

    Check and copy

    Choose UTF-8 bytes or Code points if needed, then copy or download the decoded text.

Hex to Text: questions and answers

How do I convert hex to ASCII text?

Split the hex into pairs, convert each pair to a number (48 = 72) and look up that character (72 = H). The tool does this for every byte and also handles UTF-8 characters beyond ASCII.

What does 48 65 6C 6C 6F say?

Hello.

Why do I get replacement characters?

The bytes are not valid UTF-8, often because the data is binary or uses another encoding such as Windows-1252. Try Code points if each value is meant to be one character.

Can I paste hex with 0x or \x prefixes?

Yes. 0x, \x, % and U+ prefixes and separators like spaces, commas and colons are removed automatically.

More Text to Hex presets