Hexadecimal code
Convert text to UTF-8 hexadecimal, or read a sequence of bytes.
Turn text into grouped or compact hexadecimal code, then decode a hexadecimal sequence back into UTF-8 text.
Settings
Conversion direction
Display
Text
0 source char.
Result
Conversion ready.
Quick explanation
Choose the conversion direction, paste your text or hexadecimal sequence, then switch between grouped and compact display. The result updates automatically.
Try this too
Need to read decimal character values?
Use the ASCII code tool to display numerical character code points or rebuild text from decimal values.
Additional information
Understanding hexadecimal code
Hexadecimal is a base-16 number system. It uses digits 0 to 9, then letters A to F. One hexadecimal pair represents one byte, meaning a value from 0 to 255.
Text to hexadecimal
The tool turns text into UTF-8 bytes, then displays each byte with two hexadecimal characters. For example, A becomes 41.
Hexadecimal to text
In the other direction, each pair is read as a byte. Spaces, dashes, commas, slashes, or 0x prefixes only make the sequence easier to read.
Grouped or compact
Grouped mode displays bytes with spaces, such as 41 70 70. Compact mode gives the same information without separators: 417070.
| Example | Value | What it means |
|---|---|---|
| 41 | A | A visible byte matching the letter A in UTF-8. |
| 20 | Space | A space is also an encoded character. |
| C3 A9 | é | Some accented characters use several bytes in UTF-8. |
| 1F | Control | This is valid hexadecimal, but it is not a regular printable character. |
Why can a result look empty?
A pair such as 1F is valid: it equals 31 in decimal. But it represents an ASCII control character, not a visible letter or symbol. The tool may decode the value correctly while showing little or nothing on screen.
Difference from the ASCII tool
Hexadecimal code works with text bytes, including UTF-8 characters. The ASCII code tool is better if you want to study the historical ASCII table, its decimal values, and hexadecimal values limited to ASCII characters. To learn more, see the Wikipedia page about hexadecimal.
Limits and reuse
AppErgo tools are provided free of charge for practical and informational purposes. Although care is taken in their design, a result may be incomplete, unexpected or incorrect. Before relying on a result for any important use, check it using an appropriate method.
To report a bug in the tool, you can use the dedicated bug report form.
Results produced by AppErgo tools may be copied and reused freely. When publicly reusing a result, a method or an AppErgo page, a link to the relevant page is appreciated.
Unless otherwise stated, AppErgo texts, images, visual elements, scripts, templates and internal components remain the property of AppErgo.
For any other request, you can contact the webmaster.