Converter
Base64, UTF-8, UTF-16, ANSI, Hex & Every Format In Between
Convert text between any two encodings, directly - no plain-text stopover required
Results are provided for informational purposes only and may contain errors. Please verify important information independently. Use of this tool is at your own risk.
How to encode text as binary
Encode text as binary instantly: type or paste text and the binary version appears as you type. Text is handled as UTF-8, so accents, emoji and every script work.
- Type or paste your input, such as Hi!, into the box above.
- The result appears right away: Hi! becomes 01001000 01101001 00100001.
- Copy the result, or choose from 30 encodings in the From and To boxes.
How binary works
Each character is turned into its UTF-8 bytes, and each byte is written as eight binary digits. Plain English letters are one byte; accented letters and other scripts take two to four.
Text to binary examples
| Text | Binary |
|---|---|
A | 01000001 |
Hi | 01001000 01101001 |
OK! | 01001111 01001011 00100001 |
42 | 00110100 00110010 |
é | 11000011 10101001 |
Text and binary explained
Plain text is read and written as UTF-8, so accents, emoji and every writing system are supported.
In binary, every byte of the text is written as eight 0s and 1s, separated by spaces.
Frequently asked questions
Is binary a form of encryption?
No. It only changes how the data is written, and anyone can reverse it without a key. Never use it to hide passwords or secrets.
Which character set is used?
UTF-8, the standard of the web. Accents, emoji and non-Latin scripts are encoded as their UTF-8 bytes and decoded back exactly.
Why does decoding give an error?
The input is not valid for the chosen encoding: a missing or extra character, a line break in the middle, or text that was encoded differently. Check that you copied the whole value.
Is this tool free?
Yes, it's free to use. No signup, no email required. Get results on this page.
How do I get my result?
Use the tool on this page. Your result appears here; no email delivery is required.