Hex ↔ Text Converter
Convert text to hexadecimal bytes and decode hex back to text — with full UTF-8 support.
About this tool
The Hex ↔ Text tool converts any text string into its hexadecimal byte representation (UTF-8 encoding), and decodes hex strings back to the original text. Each byte is shown as two hex digits separated by spaces.
Hexadecimal representation is fundamental to programming: it is how debuggers display memory, how cryptographic hashes and keys are represented, how network packets are inspected, and how binary file formats are examined in hex editors. This tool handles the common task of converting between readable text and hex, with proper UTF-8 handling so multibyte characters (emoji, CJK characters, etc.) are correctly encoded.
Input in decode mode accepts hex with or without spaces or 0x prefixes.