Online Hex encode & decode

View UTF-8 bytes as hex or restore text from hex.

About online online hex encode and decode

hidevtool hex codec converts UTF-8 text to hexadecimal byte strings and back—useful for binary dumps, protocol debugging, and hash inputs.

Output is continuous hex pairs; decoding accepts optional spaces or 0x prefixes.

Online Hex encode & decode capabilities

Text to hex bytes

Encode shows each UTF-8 byte as two hex digits (lowercase) with no separators by default.

Hex to text

Decode requires an even number of hex digits and valid UTF-8 byte sequences.

Common use cases

How do I convert text to hex online?

Paste text and click Encode to get a hex representation of UTF-8 bytes.

How do I decode hex back to a string?

Paste hex (spaces allowed) and click Decode. Odd length or non-hex characters trigger an error.

Is this the same as a hex dump with offsets?

No offset column—just raw byte hex. Copy the continuous hex string for scripts or logs.

Frequently asked questions

How do I convert text to hex online?
Paste text and click Encode to get a hex representation of UTF-8 bytes.
How do I decode hex back to a string?
Paste hex (spaces allowed) and click Decode. Odd length or non-hex characters trigger an error.
Is this the same as a hex dump with offsets?
No offset column—just raw byte hex. Copy the continuous hex string for scripts or logs.