Try it

TextHello

Understand the result

What's going on

This is ASCII-to-hex run backward: given the raw hex byte values a device sent or stored, recover the readable text they were meant to represent. Useful the moment you’re staring at a hex dump and need to know what it actually says.

The formula

char = String.fromCharCode(parseInt(byte, 16))

Applied to each two-digit hex byte, in order.

Show the derivation, mnemonic, and worked example

Build it up

Split the hex string into pairs of digits - each pair is one byte, one character. Convert each pair back to a decimal number, then look that number up in the ASCII table to get its character. Line the characters up in order and you’ve got the original text back.

Worked example

Worked example

Hex: 48 69

48 hex = 72 decimal = 'H'

69 hex = 105 decimal = 'i'

Result: "Hi"