Text to Binary Converter

Convert text to binary, hex or decimal bytes and back.

Runs in your browser Developer Tools Free · No account

Input

Processed locally

This tool runs entirely in your browser. The data you paste or load is never uploaded.

Result

Enter your input, then run the tool.

About this tool

Encodes text as UTF-8 bytes written in binary, hexadecimal or decimal, and decodes such byte lists back into text. Accented letters and emoji are handled correctly because the conversion works on real UTF-8 bytes, not character codes.

How to use it

  1. Choose text to bytes or bytes to text.
  2. Pick the number format and paste your input.
  3. Press Convert and copy the result.

Frequently asked questions

Why does “é” produce two bytes?
UTF-8 stores characters outside basic ASCII in two to four bytes. “é” is 11000011 10101001 in binary.
What separators are accepted when decoding?
Spaces, commas and line breaks. Hex may also use a 0x prefix on each byte.

Keep going

More in this category