ETEvoraTools
Encoding & Decoding

Text to Binary

Text to Binary encodes text as UTF-8 and prints every byte as exactly eight 0/1 digits separated by a single space. The groups represent bytes, not abstract Unicode characters, so accented letters and emoji produce several groups. This is a readable radix conversion, not machine code, encryption, compression, or a stream of Unicode code points.

Runs locally — files stay on your device
Quick answer

Why does one letter sometimes produce multiple groups?

Characters outside ASCII can require multiple UTF-8 bytes.

Eight bits describe one encoded byte

Each group ranges from 00000000 to 11111111. The text-to-byte encoding must be known before the groups have character meaning.

How it works

TextEncoder produces UTF-8 bytes; each is rendered in base two, left-padded to eight digits, and joined with spaces.

Key concepts

Space-separated bytes

The separator is formatting, not part of the encoded data.

UTF-8 variable width

ASCII uses one group per character; other text can use more.

When to use it

  • Teach or inspect byte-level UTF-8 representation.
  • Prepare eight-bit groups for a compatible parser.
  • Round-trip with Binary to Text.

When not to use it

  • Do not interpret groups as Unicode code points.
  • Do not use it to hide information.
  • Do not expect compact output.

Worked examples

A

Input
A
Expected output
01000001

UTF-8 and ASCII share this byte.

ă

Input
ă
Expected output
11000100 10000011

Two UTF-8 bytes.

AB

Input
AB
Expected output
01000001 01000010

One space separates bytes.

Common mistakes

Dropping leading zeros

The decoder requires eight digits. Correction: Keep every padded group.

Counting characters

Group count equals bytes, not characters. Correction: Account for UTF-8.

Calling it encryption

The mapping is public. Correction: Use cryptography for secrecy.

Best practices

  • State UTF-8 with the value.
  • Preserve spaces and eight-bit width.
  • Use a byte-oriented format for large data.

Related operations and differences

Base64 Encoder

Choose Base64 Encoder when you need to encode text as Base64 in your browser.; use Text to Binary specifically for binary encode.

Binary to Text

Choose Binary to Text when you need to decode 8-bit binary groups into text.; use Text to Binary specifically for binary encode.

Text to Hex

Choose Text to Hex when you need to encode UTF-8 text as hexadecimal.; use Text to Binary specifically for binary encode.

Base64 Decoder

Choose Base64 Decoder when you need to decode Base64 into readable text.; use Text to Binary specifically for binary encode.

Hex to Text

Choose Hex to Text when you need to decode hexadecimal bytes into text.; use Text to Binary specifically for binary encode.

ROT13 Encoder

Choose ROT13 Encoder when you need to apply the reversible ROT13 substitution.; use Text to Binary specifically for binary encode.

Limitations and privacy

  • UTF-8 only; fixed spaces, no alternate widths, byte offsets, file input, compact mode, encryption, or error-detection code.

The entered value is transformed locally in this browser and is not sent to the Toolbox server.

Copying or pasting sensitive output into another service is a separate disclosure decision.

Frequently asked questions

Are groups always eight bits?

Yes.

Is output machine code?

No.

Can it encode emoji?

Yes, as multiple UTF-8 byte groups.

Is it reversible?

Yes, when parsed as UTF-8 bytes.

References