TextToolbox Instant text & writing tools

New: text to binary and hex, correct down to the byte

· TextToolbox

A lot of text-to-binary tools only really work on ASCII — feed them an emoji or an accented character and the round trip quietly breaks.

Our new Text to Binary Converter is built on TextEncoder/TextDecoder, so it handles real UTF-8 byte boundaries correctly. Converting Hi! 👋 to binary produces:

01001000 01101001 00100001 00100000 11110000 10011111 10010001 10001011

Eight bytes for five visible characters — the four ASCII characters are one byte each, and the waving-hand emoji alone takes the remaining four. Converting that binary straight back to text returns Hi! 👋 exactly, emoji intact.

Four modes cover both directions: Text → Binary, Text → Hex, Binary → Text, and Hex → Text. Malformed input on the reverse conversions — a stray token, wrong-length byte — gets a clear error instead of garbled output.

Curious how this differs from Base64? Binary and hex show you the raw byte values directly; Base64 repacks those bytes into a different, more compact text-safe alphabet. Different tool, different job — we built one for that too.

Runs entirely in your browser, as always. The converter is also embeddable with a single iframe.

Share this result