Skip to content

Choose your path

Built around the job you need to finish

Encode exact text into deliberate UTF-8 or strict ASCII bytes, inspect byte values and export all notation without corrupting multilingual source.

Encoding student

Understand why one emoji is not one byte.

Encode A中😀, compare byte/scalar counts and inspect binary, hex and decimal columns.

Eight bytes represent three Unicode scalars; values are explicit.

Protocol fixture author

Create byte groups with an exact layout and retained line endings.

Import a BOM/CRLF fixture, choose fixed bytes per line, try ASCII then recover to UTF-8.

Unsupported ASCII is refused and UTF-8 retains source data.

Mobile QA reviewer

Export a long fixture without preview truncation.

Encode 220 ASCII characters, page the review, copy/download and undo a source replacement.

All 220 bytes stay in the complete result while only 200 review rows are shown.

Was this tool helpful?

Reference & details

How it works

Validate text

Unpaired UTF-16 surrogates are refused. UTF-8 retains valid scalar sequences; strict ASCII accepts only values 0–127. No normalization or trimming is applied.

Encode bytes

TextEncoder supplies UTF-8 bytes. Each byte becomes eight bits; choose spaces, newlines, continuous bits or 1–64 bytes per line.

Review and transfer

Byte offsets, binary, hex and decimal values are shown for up to 200 bytes. Complete output includes every byte; source and result limits are explicit.

Updated: August 2026

Example Scenarios

Understand why one emoji is not one byte. Encode A中😀, compare byte/scalar counts and inspect binary, hex and decimal columns.

Create byte groups with an exact layout and retained line endings. Import a BOM/CRLF fixture, choose fixed bytes per line, try ASCII then recover to UTF-8.

Export a long fixture without preview truncation. Encode 220 ASCII characters, page the review, copy/download and undo a source replacement.

Common Mistakes to Avoid

Treating binary notation as encryption

Anyone can decode the notation; do not use it to protect secrets.

Choosing ASCII for emoji

Choose UTF-8 and inspect all bytes rather than expecting a one-byte character.

FAQ

No. Each byte is eight bits. A Chinese character or emoji can require several UTF-8 bytes; combining sequences can contain several scalar values.

It refuses any character above U+007F instead of replacing it. Use UTF-8 for multilingual text.

The engine preserves them. UTF-8 file import retains BOM and decoded CRLF; editing a textarea or using the clipboard can normalize line endings.

No. At most 200 byte rows are reviewed, 20 per page. Copy and UTF-8 .txt download use the complete current notation.

Text input is capped at 100,000 UTF-16 units, binary data at 200,000 bytes and output at 2,000,000 units. Work runs in a local worker with a 10-second timeout. No automatic Project save; a download request does not confirm a saved file.

About Text to Binary

Turn text into explicit byte notation for learning and test fixtures. Review the selected encoding and byte values before using the output; binary notation is not encryption.