Hex to String

Convert a hexadecimal string to its text representation.

Code

Utilities
hex.match(/.{2}/g).map(byte => String.fromCharCode(parseInt(byte, 16))).join('');

Parameters

The hex string to convert.

Browser·fetch() may be limited by CORS

More JavaScript Snippets