Text to Binary & Base64

Convert text into binary, ASCII codes, hex or Base64.

About this tool

Students and developers often need to see how text is represented under the hood. Type a phrase and switch between binary, decimal ASCII codes, hexadecimal and Base64 output.

How to use it

  1. 1Type or paste your text.
  2. 2Choose the output format.
  3. 3Copy the converted code.

Frequently asked questions

Why are there eight digits per letter in binary?

Standard ASCII characters are stored in one byte, which is eight bits, so each letter is padded to eight digits.

Is Base64 encryption?

No. Base64 is encoding, not encryption — anyone can decode it, so never use it to protect secrets.