Enter the original text
Paste or type the text exactly as you want it encoded. Spaces, tabs and line breaks are part of the data.
Encode text as eight-bit binary bytes with UTF-8 or strict ASCII and your choice of separator.
UTF-8 supports accents and emoji. ASCII accepts only characters 0–127. Spaces and line breaks in your text are preserved.
Up to 64 KiB of encoded data. Every byte is written as eight binary digits.
Conversion stays in your browser. Nothing is uploaded or stored by this tool.
Your result will appear here
Binary conversion is an encoding, not encryption. Some decoded control characters are not visible.
Need to read binary? Use Binary to Text.How it works
Paste or type the text exactly as you want it encoded. Spaces, tabs and line breaks are part of the data.
Use UTF-8 for accents, emoji and other Unicode text, or ASCII for characters 0–127. Separate output bytes with spaces, new lines or no separator.
Run the encoder to get eight binary digits per byte. Copy the output or download it, and keep the encoding setting with the data so it can be decoded correctly.
FAQ
1. Enter the original text: Paste or type the text exactly as you want it encoded. Spaces, tabs and line breaks are part of the data. 2. Choose encoding and byte layout: Use UTF-8 for accents, emoji and other Unicode text, or ASCII for characters 0–127. Separate output bytes with spaces, new lines or no separator. 3. Encode and save the bytes: Run the encoder to get eight binary digits per byte. Copy the output or download it, and keep the encoding setting with the data so it can be decoded correctly.
A has the byte value 65 in ASCII and UTF-8. Written in base two and padded to eight bits, 65 becomes 01000001.
Every output byte has eight bits, but a UTF-8 character can use several bytes. For example, é uses two bytes and many emoji use four. This tool encodes bytes rather than padding Unicode code points.
No. Anyone with the binary bytes and the encoding can convert them back to text. Binary encoding provides no password protection or encryption.
Keep going
Validate, pretty-print, or minify JSON.
Encode text to Base64 or decode it back.
Create MD5, SHA-1, SHA-256 and SHA-512 digests.
Generate random RFC 4122 version 4 UUIDs.
Decode a JSON Web Token header and payload.
Test a regular expression against sample text.