Text to Binary Converter
Turn text into binary (01001000…) or hexadecimal bytes, or read binary code back as text.
Runs in your browser · No uploads
Your browser is too old to run this tool. Please update it, or use a current version of Chrome, Edge, Firefox or Safari.
- Nothing leaves your device
- No server-imposed size limits
- No sign-up, no watermark
- Free
How to convert text to binary
- Choose Text to binary or Binary to text.
- Type your text, or paste the binary (spaces between bytes are optional).
- Copy or download the result.
How it works
Each character is stored as one or more bytes in UTF-8, the encoding used by web pages and most files. A byte is 8 binary digits, so "H" is 01001000 (72). Letters with accents take 2 bytes and emoji 4, so they become longer runs of bits.
Good to know
- Binary without spaces is read 8 digits at a time.
- Hex, octal and decimal bytes are understood too, with or without 0x and 0b prefixes.
- Bytes that don't form a valid character are shown as �.
Frequently asked questions
Is my text uploaded?
No. Everything happens in your browser; your text is never sent anywhere.
Related tools
-
See or decode Unicode escapes
Text to U+ code points, \u escapes, HTML entities or UTF-8 bytes, and back. -
Convert binary, hex and decimal
Binary, octal, decimal, hexadecimal and any base from 2 to 36, with two's complement. -
Encode Base64
Encode text or any file to Base64, URL-safe Base64 or a data: URL. -
Translate Morse code
Text to Morse code and back, with sound you can play and download.