MADE TO BE USEFUL. A growing collection of free tools for everyday work.
TEXT TOOL / BINARY & HEX

Free Online Text to Binary Converter

Convert text to binary, hexadecimal, decimal or octal codes, and convert codes back into readable text. UTF-8 aware, so accents, symbols and emoji work too.

See exactly which bytes make up your text. Everything is converted in your browser.

✓ Free to use · No signup required · Processed in your browser
Text to Binary Converter workspace
ENTER TEXT OR CODES · CHOOSE A FORMAT · COPY
● READY TO USE
Type some text — it is converted as you type.
BINARY AND HEX WORKSPACEMOSANKIT / TEXT TOOLS
THE BASICS

How Does Text Become Binary?

Computers store every character as numbers. Text is first turned into bytes using an encoding — today almost always UTF-8 — and each byte can be written in binary (base 2), hexadecimal (base 16), decimal or octal.

The letter A, for example, is the byte 65: 01000001 in binary, 41 in hexadecimal. This converter shows the byte values for any text, and turns byte values back into text.

BUILT FOR THE JOB

Key Features of MoSanKit Text to Binary Converter

01

Binary (8-bit)

Each byte is shown as eight binary digits.

0x

Hexadecimal

Hex output with an optional 0x prefix.

10

Decimal and Octal

Show byte values in base 10 or base 8.

é

UTF-8 Aware

Accents, symbols and emoji are converted using their real UTF-8 bytes.

⇄

Both Directions

Convert codes back into text, with clear errors for invalid values.

◎

Private by Design

Conversion happens in your browser.

QUICK AND SIMPLE

How to Convert Text to Binary

01 / DIRECTION

Choose a direction

Text to code, or code to text.

02 / FORMAT

Pick a format

Binary, hex, decimal or octal, and a separator.

03 / TYPE

Enter your input

The result appears as you type.

04 / COPY

Copy the result

Copy it or swap input and output.

MADE FOR EVERYDAY WORK

Who Can Use This Tool?

StudentsLearn how text is stored in computers.
DevelopersInspect bytes and encodings while debugging.
Security LearnersLook at encoded data in different bases.
TeachersDemonstrate binary and hexadecimal.
Puzzle MakersCreate and decode binary messages.
Curious MindsSee your name as ones and zeros.
GOOD TO KNOW

A few things, answered.

Quick answers about using the MoSanKit Text to Binary Converter.

Characters outside basic ASCII use more than one byte in UTF-8. An emoji usually takes four bytes, which is why it shows as four groups.

UTF-8. For plain English letters and digits the two are identical.

Switch to Code to Text, pick Binary and paste your bits. Groups can be separated by spaces or run together in 8-bit blocks.

Yes. Prefixes like 0x48 and separators such as spaces or commas are understood.

Each value must be a valid number in the chosen base and no larger than 255, and together they must form valid UTF-8 text.

No. Conversion happens in your browser.

See your text
as the computer sees it.

Explore more free text tools from MoSanKit.

Explore All Tools ↗