DFK Studio

Convert text to binary

Translate text to binary, hex or octal and back again, in UTF-8. Runs in your browser — nothing is uploaded.

  • Free, no account
  • Nothing is uploaded
  • Runs in your browser

How it works

  1. 1 What goes in Text, in any language
  2. 2 It runs in your browser On your own device. Nothing is uploaded, there is no queue and no account, and it keeps working with the network switched off.
  3. 3 What comes back Its bytes in binary, octal or hex

What it does

Type text and get binary, or paste binary and get the text back. Encoding is UTF-8 rather than character codes, so accents and emoji survive the round trip instead of turning into rubbish — and hex and octal are one dropdown away.

This page does the work itself. Your text is handled by the browser and never sent anywhere — there is no server here to send it to.

Questions

Why does my emoji become four groups of eight bits?

Because UTF-8 encodes characters in one to four bytes and an emoji needs all four. Tools that use charCodeAt produce two wrong values instead, which look plausible and decode to something else. Everything here goes through TextEncoder, so what comes out converts back to exactly what went in.

Can I paste binary with no spaces?

Yes. A run of digits with no separators is split into fixed-width groups — eight for binary, two for hex, three for octal. If the total does not divide evenly you get told the count rather than a silently mangled result.

Is this ASCII or UTF-8?

UTF-8, which is identical to ASCII for the first 128 characters. So plain English text gives you exactly the ASCII answer, and anything beyond it stays correct instead of breaking.

Every shelf