Text to Binary Converter

Turn text into binary, octal, decimal or hexadecimal bytes and back again. Characters outside ASCII are written as their UTF-8 bytes.

Processed on your device. Files are not uploaded

How to convert text to binary

  1. Paste your text or numbers

    Paste or type it into the box, or press Try an example.

  2. Choose the number system

    Binary, octal, decimal or hexadecimal.

  3. Copy or download

    Copy the converted values.

Worked example

This is what Text to Binary Converter gives for its own sample values. Open the tool above and change anything to try your own.

Text or numbers

Hello, World!
Direction
Text to numbers
Number system
Binary
Separator
Space

Binary

01001000 01100101 01101100 01101100 01101111 00101100 00100000 01010111 01101111 01110010 01101100 01100100 00100001

About Text to Binary Converter

Turn text into the bytes that represent it, written in binary, octal, decimal or hex, and turn those numbers back into text. Letters outside ASCII use several bytes, because text is stored as UTF-8.

FAQs

Why does é give two bytes?

UTF-8 stores characters outside ASCII in two to four bytes.

Do I need spaces between bytes?

No. Binary and hex can be pasted as one run and are split into bytes for you.

Related tools