🔒 Runs in your browser — nothing is uploaded✓ Free, no signup
Text to Hex, Binary, ASCII & Unicode Converter
Convert text to hexadecimal bytes, binary, ASCII character codes or Unicode code points — and decode any of them back into text. Emoji and accented letters are handled correctly.
0 characters
Hex
When should you use the Text to Hex & Binary Converter?
- Reading hex dumps or byte values from logs and network tools
- Checking the exact bytes a string contains, including hidden characters
- Learning how text is stored as bytes and binary
How to use the Text to Hex & Binary Converter
- 1
Pick a conversion
Choose Text → Hex, Hex → Text, Text → Binary, Binary → Text, ASCII codes or Unicode.
- 2
Paste your input
The result updates as you type.
- 3
Set the format
Choose a separator, and for hex an optional 0x or \x prefix and uppercase.
- 4
Copy
Copy the converted output.
Examples
"Hi!" in different forms
Text
Hi!
Output
Hex 48 69 21 Binary 01001000 01101001 00100001 ASCII 72 105 33 Unicode U+0048 U+0069 U+0021
Common errors and how to fix them
Hex must have an even number of digits- Each byte is two hex digits. A missing or extra digit means part of a byte is missing.
These bytes are not valid UTF-8 text- The bytes don't form valid UTF-8, so they might be binary data or another encoding rather than text.
More from Encoding & Security
Free tools that run in your browser — no signup, nothing uploaded.
JWT Decoder
Decode and inspect JSON Web Tokens (JWT) Header and Payload.
JWT Generator
Create and sign HS256/HS384/HS512 JSON Web Tokens for testing.
Hash Generator (MD5, SHA)
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes.
Password Generator
Generate strong, random passwords with the length and characters you choose.
Base64 Encoder ⇆ Decoder
Encode text to Base64 and decode Base64 to text for API debugging.
URL Encoder & Decoder
Cleanly encode special characters in URLs and decode query strings.
String Escape & Unescape
Escape or unescape strings for JavaScript, Java, C#, HTML, XML, SQL, CSV and regex.
HTML Entity Encoder & Decoder
Encode special characters as HTML entities, or decode entities back to text.
Number Base Converter
Convert numbers between binary, octal, decimal, hex and any base up to 36.
Text to Hex & Binary Converter FAQ
The text is encoded as UTF-8 bytes, and each byte is written as two hexadecimal digits. "A" is the byte 65, which is 41 in hex.
In UTF-8, characters outside basic ASCII use 2 to 4 bytes. é is C3 A9, and most emoji use 4 bytes.
For the first 128 characters they're the same number. Beyond that, ASCII has no codes, so the tool shows the Unicode code point — é is 233 (U+00E9).
Yes. Spaces, commas and 0x or \x prefixes are ignored when converting hex back to text.
Each UTF-8 byte is written as 8 binary digits, so "H" (72) becomes 01001000.
No. Conversions happen in your browser.
