Free tool
Binary Translator
Convert text to binary code (zeros and ones) and decode binary to text. Also octal, decimal and hexadecimal, with support for accents, ñ and emojis.
Characters: 0 · Lines: 0
Characters: 0 · Lines: 0
Everything is processed in your browser. What you type is not sent to any server or stored.
How it works and what it does with your text
It's a small, straightforward utility: you paste, choose options and copy the result.
It runs in your browser
The text is transformed by this page's code, on your device. No sign-up or installation needed.
We don't store what you type
We don't send your text to any server or store it. You can check this in the Network tab of your browser's developer tools.
Free and unlimited
Use it as often as you like. It works the same on mobile and on desktop.
Tips to get the most out of it
How it is converted
Each character is encoded in UTF-8 and each byte is written in the chosen system. “H” (code 72) is 01001000 in binary, 110 in octal and 48 in hexadecimal.
Accents and emojis take more than one byte
Letters without accents take 1 byte (8 bits) in UTF-8; “é” takes 2 and an emoji up to 4. That is why the binary of “é” has two groups of eight digits.
To decode
Choose “Code → text” and paste the bytes separated by spaces, commas or line breaks. In binary you can also paste them joined together: they are split into groups of 8 digits.
If strange text comes out
The groups must be complete bytes (up to 255). If some values don't fit or some bytes don't form valid UTF-8, a warning or replacement characters will appear.
Frequently asked questions
How do I convert a text to binary?
Type the text and leave “Text → code” on “Binary (base 2)”. Each character becomes one or more groups of eight digits (zeros and ones).
How do I translate binary to text?
Choose “Code → text”, leave “Binary (base 2)” selected and paste the code. The bytes are separated and interpreted as UTF-8.
What does 01001000 01101001 mean?
They are bytes 72 and 105, which in ASCII are “H” and “i”: the text “Hi”.
Does it work with ñ and accents?
Yes, because it uses UTF-8. The letter “é” is written with two bytes (11000011 10101001) and “ñ” too (11000011 10110001), like almost any accented letter.
Related tools
ASCII table and Unicode converter
Browse the full ASCII table and convert text to decimal, hex, Unicode or HTML codes.
Base64 encoder and decoder
Encode text to Base64, URL or hexadecimal and decode it back, with UTF-8 support.
Caesar cipher and ROT13
Encrypt and decrypt with the Caesar cipher (any shift), ROT13 or try all 25.
All free tools
Passwords, texts, lists, codes and more.
Do you have a repetitive task with texts or data?
We turn it into a custom tool or automation for your business. Tell us what you do by hand and we'll assess it with no commitment.