01

Text to Binary

Turn text into binary, octal, decimal or hexadecimal UTF-8 bytes, or decode bytes back to text.

UTF-16:

Method

Encode and decode exact UTF-8 bytes, not UTF-16 code units or grapheme clusters. A is 41 in hexadecimal; é is C3 A9; 😀 is F0 9F 98 80. Whitespace, NUL, BOM and combining sequences are preserved without normalization. Without spaces, widths are binary 8, octal 3, decimal 3 and hex 2: AB becomes decimal 065066. Decimal 65 alone is accepted; 6566 is invalid. Invalid bytes, unpaired surrogates and malformed UTF-8 reject the whole result. Limits: encode 65536 UTF-16 units and bytes; decode 589824 input units, 524288 digits and 65536 bytes/output units.

Copied

Copy failed. Select the result and copy it manually.

Embed this tool on your website

Use whole pixel dimensions from 1 to 4096.

× px (1–4096)

                        

💡 Integration Tip

Copy the embed code and paste it into your website HTML. The responsive version adapts to all screen sizes automatically.

1 rating
✓

About Text to Binary

Turn text into binary, octal, decimal or hexadecimal UTF-8 bytes, or decode bytes back to text.

é → C3 A9; 😀 → F0 9F 98 80; AB → 065066

Model · UTF-8

Use Cases

Learning computer encoding
Creating binary art
Educational demonstrations
Encoding secret messages
Understanding ASCII/Unicode

How to use

1

Enter text to convert

2

View binary representation

3

Or paste binary to decode

4

Copy the result

Pro Tips

  • Limits: encode 65536 UTF-16 units and bytes; decode 589824 input units, 524288 digits and 65536 bytes/output units.

Frequently Asked Questions

Encode and decode exact UTF-8 bytes, not UTF-16 code units or grapheme clusters. A is 41 in hexadecimal; é is C3 A9; 😀 is F0 9F 98 80. Whitespace, NUL, BOM and combining sequences are preserved without normalization.

Without spaces, widths are binary 8, octal 3, decimal 3 and hex 2: AB becomes decimal 065066. Decimal 65 alone is accepted; 6566 is invalid. Invalid bytes, unpaired surrogates and malformed UTF-8 reject the whole result. Limits: encode 65536 UTF-16 units and bytes; decode 589824 input units, 524288 digits and 65536 bytes/output units.

Popular Tools

No more tools to show
Explore All Tools
FreeWebTools AI
Powered by free AI models · Full chat →