Hex to Text Converter
Convert hexadecimal back to plain text instantly online. Free hex to text decoder with full UTF-8 support. Accepts space-separated or continuous hex strings. No signup required.
Hex Input
Text Output
Related Tools
Base64 Encode
Encode any text to Base64 instantly. Full UTF-8 support, runs entirely in your browser.
Base64 Decode
Decode Base64 strings back to plain text instantly. Full UTF-8 support, runs entirely in your browser.
URL Encode
URL-encode any text instantly with percent-encoding. Supports Unicode and all special characters.
Hexadecimal-encoded text stores characters as two-digit hex byte values. Decoding requires knowing the character encoding used: the same byte sequence e7 e4 f6 represents different characters in UTF-8 (which would be incomplete sequences), Windows-1254 (Turkish), and ISO-8859-9 (Latin-5). Choosing the wrong encoding produces mojibake — garbled text with incorrect characters.
Hex encoding of non-UTF-8 text is common in legacy data systems. Databases storing data in Latin-1 or Windows codepages produce hex dumps with bytes in the 0x80–0xFF range that are meaningless in UTF-8. Email systems, FTP servers, and older file systems from Windows environments frequently produce data in Windows-1252 or Windows-1254 rather than UTF-8.
This tool decodes hex byte sequences using the browser's TextDecoder API with a selectable encoding: UTF-8 (default), Windows-1254 (Turkish), or ISO-8859-9 (Latin-5). The fatal: true option is used so malformed byte sequences for the selected encoding produce a clear error rather than silent replacement characters.
Common Use Cases
Decoding legacy Turkish database exports
Turkish databases using Windows-1254 or ISO-8859-9 encodings produce hex dumps where characters like ğ, ş, ı, and ç are in the 0x80–0xFF range. Selecting the correct encoding here and pasting the hex dump recovers the original Turkish text, which is essential when migrating data to a UTF-8 database without losing special characters.
Inspecting hex output from Wireshark
Wireshark's 'Follow TCP Stream' view can show raw hex bytes alongside ASCII. For HTTP responses or SMTP payloads that contain non-ASCII characters in an unknown encoding, copying the hex column here and toggling between UTF-8 and Windows encodings helps identify which encoding produces readable text.
Reading hex-encoded debug log output
Some embedded systems and hardware peripherals log string data as hex bytes over a serial debug interface. Pasting the raw hex output of a log message here recovers the readable string, confirming that the device transmitted the expected status or error message without requiring a dedicated serial terminal with encoding support.
Decoding database BLOB field previews
Database tools like DBeaver, TablePlus, and pgAdmin display BLOB and BYTEA columns as hex strings. When a column contains text stored in a non-UTF-8 encoding by a legacy application, pasting the hex preview here with the correct codepage selected reveals the actual stored text for data auditing or migration planning.
How to Use the Hex to Text Converter
- Paste your hex string in the left panel — spaces between bytes are optional.
- The decoded plain text appears instantly in the right panel.
- Click Copy Output to copy the decoded text.
- Use Load Example to decode a sample hex string.
Accepted Formats
- Space-separated: 48 65 6c 6c 6f
- Continuous: 48656c6c6f
- Both uppercase and lowercase hex digits are accepted
- Input must have an even total number of hex characters