Skip to tool

C++ Hexadecimal to text Online

Decode hexadecimal input to text/bytes.

The output updates as you type. The tool processes input in your browser.

Worked example

Enter hexadecimal byte pairs. The result interprets the bytes as UTF-8, with replacement characters for invalid UTF-8.

Sample input
48656c6c6f
Sample output
Hello

Using this operation in C++

The interactive result uses JavaScript. std::string operates on char elements. With UTF-8 data, byte offsets and decoded character positions can differ.

C++ reference