🔒 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. 1

    Pick a conversion

    Choose Text → Hex, Hex → Text, Text → Binary, Binary → Text, ASCII codes or Unicode.

  2. 2

    Paste your input

    The result updates as you type.

  3. 3

    Set the format

    Choose a separator, and for hex an optional 0x or \x prefix and uppercase.

  4. 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.
Related tools: Number Base Converter · Base64 Encoder & Decoder · Hash Generator

More from Encoding & Security

Free tools that run in your browser — no signup, nothing uploaded.

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.