Skip to content
Local

Developer

Text to Binary, Hex & Unicode

Convert text to and from hex bytes, binary, decimal, octal, \u escapes and U+ code points, with a table of every character.

Runs in your browser. Nothing leaves this device.

Open Text to Binary, Hex & Unicode

Free, no account, no watermark and no daily limit.

Open Text to Binary, Hex & Unicode

How to use Text to Binary, Hex & Unicode

  1. 1Pick Text to code or Code to text, then the format.
  2. 2Type or paste. The result updates as you type.
  3. 3Copy the result, or read the table to see each character’s code point, bytes and type.

Questions

Which bytes does hex use?

UTF-8, the encoding the web uses. Plain letters take one byte, accented letters two, and most emoji four. Binary and octal use the same bytes.

What does decimal show?

The character code of each character. For plain English text these are the familiar ASCII codes, such as 65 for A.

Why does an emoji become two \u escapes?

JavaScript and JSON store text as UTF-16, where characters beyond U+FFFF take two units, called a surrogate pair. Decoding also accepts the \u{1F600} form.

Is my text sent anywhere?

No. Everything runs in your browser.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc