Enter your text
Type or paste text into the left panel. UTF-8 is selected by default for Unicode-safe byte conversion.
Convert text to hexadecimal UTF-8 bytes instantly, format the result for code or debugging, and decode valid hex back to text.
See the Unicode code point and encoded bytes behind each character. This makes the difference between a character number and its stored UTF-8 bytes explicit.
| # | Character | Code point | UTF-8 bytes | Bytes |
|---|---|---|---|---|
| 1 | H | U+0048 | 48 | 1 |
| 2 | e | U+0065 | 65 | 1 |
| 3 | l | U+006C | 6C | 1 |
| 4 | l | U+006C | 6C | 1 |
| 5 | o | U+006F | 6F | 1 |
| 6 | , | U+002C | 2C | 1 |
| 7 | Space | U+0020 | 20 | 1 |
| 8 | c | U+0063 | 63 | 1 |
| 9 | a | U+0061 | 61 | 1 |
| 10 | f | U+0066 | 66 | 1 |
| 11 | é | U+00E9 | C3 A9 | 2 |
| 12 | Space | U+0020 | 20 | 1 |
| 13 | 😀 | U+01F600 | F0 9F 98 80 | 4 |
Type or paste text into the left panel. UTF-8 is selected by default for Unicode-safe byte conversion.
Use spaced bytes, compact hex, 0x-prefixed values, \\x escapes, or colon-separated bytes and choose letter case.
Copy or download the result, inspect the byte breakdown, or switch to Hex → Text to confirm the bytes decode correctly.
Text is encoded into real UTF-8 bytes before those bytes are displayed as hexadecimal pairs.
Use ASCII when your workflow requires the original 7-bit character set; unsupported characters are rejected clearly.
Switch between spaced, compact, 0x-prefixed, \\x escaped, and colon-separated byte output.
Decode valid hex bytes back to text with strict UTF-8 validation instead of silently replacing malformed data.
Inspect Unicode code points and the exact encoded bytes for each character when debugging encoding issues.
Conversion happens in your browser with no text upload required for the core tool workflow.
Hexadecimal is only a way to display byte values. The important step happens first: text is encoded into bytes. With UTF-8, the letter A becomes byte 41, while é becomes two bytes, C3 A9. An emoji may require four bytes or more when a visible symbol is composed from several Unicode code points.
That is different from a Unicode code point such as U+00E9. A code point identifies a character; UTF-8 defines the byte sequence used to store or transmit it. The formatting buttons change only how those bytes are written on screen—they do not change the underlying byte values.
Use ASCII mode only when the input is intentionally limited to U+0000–U+007F. For multilingual text, symbols, or emoji, keep UTF-8 selected.
Text to hex normally means encoding text into bytes and writing each byte as two hexadecimal digits. This tool uses UTF-8 by default, so Unicode characters can produce more than one byte.
UTF-8 is a variable-length encoding. ASCII-range characters use one byte, while many accented characters, scripts, symbols, and emoji require two to four bytes per Unicode code point.
ASCII defines 128 characters from U+0000 through U+007F. UTF-8 preserves those same one-byte values and also encodes the rest of Unicode. ASCII mode here rejects unsupported characters instead of guessing.
Yes. Whitespace is data too. For example, an ASCII space is byte 20 in hex, a tab is 09, and a line-feed is 0A.
Yes. Switch to Hex → Text. The parser accepts compact hex, spaced bytes, common separators, 0x-prefixed bytes, and \x escape notation, then validates the decoded text.
No. Conversion uses browser encoding and decoding APIs. The text you enter stays in your browser during the conversion.