Yuzool

Dev Tools

Text to hex and binary

Type text to see its UTF-8 bytes in hex, binary and decimal, its Unicode code points and UTF-16; or paste hex, binary, decimal bytes or code points to get the text back.

Examples

Converted by this page:

TextHex (UTF-8)Code points
Hi48 69U+0048 U+0069
café63 61 66 c3 a9U+0063 U+0061 U+0066 U+00E9
€e2 82 acU+20AC
😀f0 9f 98 80U+1F600

ASCII letters are one byte each; é takes two bytes in UTF-8, € three, and an emoji four. That’s why a string’s length in characters and in bytes can differ.

How to use it

  1. Pick what your input is: text, hex, binary, decimal or code points.
  2. Paste it.
  3. Copy the form you need.

Questions

Is this ASCII?

For the first 128 characters UTF-8 and ASCII are the same bytes, so yes. Beyond them it shows UTF-8, the encoding the web uses.

Why does my hex fail?

Hex needs pairs of 0–9 and A–F, and the bytes must be valid UTF-8 to show as text.

Related tools

Open all 35 Dev Tools. Everything runs in your browser; nothing you paste is uploaded.

Settings

History

Snippet