Text to binary
Convert text to binary, hexadecimal or decimal codes using UTF-8.
🔒 Everything runs in your browser. Nothing you choose or type is uploaded. How to verify
Drop files here or tap to choose
How to use it
- Paste your text.
- Choose Text to binary, hex or decimal.
- Select Run and copy the codes.
Handy for
Learning how computers store text and checking byte values.
Good to know
Each byte is shown as eight binary digits separated by spaces.
Privacy: where the work happens
Everything you enter or choose is processed by JavaScript in your browser and never sent anywhere. Only the page code, and any library this tool needs, is downloaded from cdnjs or jsDelivr.
Questions
Does it handle accents and emoji?
Yes. Text is converted as UTF-8, so one character can become several bytes.
Can I convert back?
Yes. Use the Binary to text conversion on the same tool.