Text to Hex Converter

Convert plain UTF-8 text to hexadecimal (base-16) byte codes or decode hex strings back into readable text online right in your browser.

How do you convert plain text to hexadecimal?

Each character is first encoded into its underlying UTF-8 byte values (0–255), and each byte is then written as a two-digit base-16 (hexadecimal) number using digits 0–9 and letters A–F.

Can this tool decode hexadecimal strings with 0x or \x prefixes?

Yes. When decoding hex to text, the parser automatically strips common prefixes like 0x, \x, and % as well as spaces, colons, or hyphens between bytes.

Does it support multi-byte UTF-8 characters and emojis?

Yes. It uses the native browser TextEncoder and TextDecoder APIs so accented characters, non-Latin scripts, and emojis encode and decode accurately without data corruption.

Is any pasted text or hex data uploaded to a server?

No. All hexadecimal encoding and decoding runs 100% locally in your browser on Nexoriy.

Related Online Utilities