Text to Hex Converter
Convert text to hexadecimal bytes, or paste hex to decode it back into readable text.
Text Tools
Convert text to hexadecimal bytes, or paste hex to decode it back into readable text.
Hexadecimal (base 16) writes each byte as exactly two digits from 0–9 and a–f, so a byte value from 0 to 255 becomes 00 to ff. It is the standard way developers look at raw data: shorter than binary, and easy to map back to bytes. This converter encodes your text as UTF-8 first, then shows every byte in hex.
| Text | Hex (UTF-8) |
|---|---|
| Hello | 48 65 6c 6c 6f |
| é | c3 a9 |
| € | e2 82 ac |
| 😀 | f0 9f 98 80 |
Note that hex bytes are different from Unicode code points. The euro sign is code point U+20AC, but in UTF-8 it is stored as the three bytes e2 82 ac. If you need code points, the hidden character finder shows them for invisible characters.
| Format | Example | Where it is used |
|---|---|---|
| Spaced bytes | 48 65 6c | Hex editors, Wireshark, readable dumps |
| Continuous | 48656c | Hashes, database BLOB literals, compact storage |
| 0x prefix | 0x48 0x65 | C, C++, Java and JavaScript byte arrays |
| \x escapes | \x48\x65 | Python, PHP, Bash and C string literals |
| Percent | %48%65 | URL encoding of raw bytes |
Choose Hex → Text and paste the hex in any of the formats above — the decoder removes 0x, \x and % prefixes, spaces, commas and line breaks before reading the bytes. You can even paste a mix. If the digits do not form complete bytes or valid UTF-8, the tool says so instead of printing random symbols.
ef bb bf) or a no-break space (c2 a0).Text to Binary, Base64 Encode/Decode, Hash Generator, URL Encode/Decode.