Convert text to binary, hex, or decimal code points

Represent each Unicode code point in text as binary, hexadecimal, or decimal, or turn space-separated numeric values back into text.

freeworks offlinenothing uploaded
ToolText to Binary Converter
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Each Unicode code point is written in base 2, 16, or 10 and separated from the next with a space. Reverse conversion validates every token in the selected radix, rejects values above U+10FFFF, and creates one code point per token; this is code-point notation, not UTF-8 byte encoding.

Formula
binary digits = Unicode code point written in base 2
  • Binary is padded to at least 8 digits for readable ASCII-range values but grows beyond 8 digits for larger Unicode values.
  • Text-to-code and binary are the initial choices because they match the primary text-to-binary task.

Worked example

Two letters to binary
Input
											Hi
										
Output
												Result: 01001000 01101001
Character count: 2
											

When to use this

Unicode inspection checks U+ values, HTML and XML debugging checks numeric character references, and radix exercises compare “A” as decimal 65, hexadecimal 41, and binary 01000001.

Edge cases

  • 😀 is the single code point U+1F600 and therefore needs more than eight binary digits; padding is a minimum width, not a byte boundary.
  • 👨‍👩‍👧‍👦 contains several emoji code points joined by U+200D, so one visible family glyph produces multiple numeric tokens.
  • 11000011 10101001 represents the UTF-8 bytes for é, but entering those as binary code points produces two characters because UTF-8 byte decoding is outside this conversion.

References