Number Utilities
Text / Binary Converter
See the UTF-8 bytes behind ordinary text as groups of eight binary digits, or decode valid byte groups back into text.
✓ Private · no uploads
View options
Keyboard shortcuts
Ctrl/⌘ + Enter: process
Ctrl/⌘ + Shift + F: full screen
Esc: exit full screen
Ctrl/⌘ + F in editor: search
When it is ready, copy or download the result.
How to use
- Choose Text to binary and enter a word or sentence.
- Run the conversion and inspect each eight-bit byte group.
- Switch to Binary to text to decode space-separated byte groups.
- Copy or download the result for a protocol example or debugging note.
Examples
Inspect a Unicode greeting
The waving hand occupies more than one byte, so it creates several groups.
Hi 👋
01001000 01101001 00100000 11110000 10011111 10010001 10001011
Read bytes instead of glyphs
A string can look short while taking more bytes than expected. ASCII letters usually occupy one UTF-8 byte each, while many symbols and emoji use several bytes. This converter makes that distinction visible. Each output group has eight digits, with spaces between groups. When decoding, the tool validates the group length and asks the browser’s strict UTF-8 decoder to reject malformed sequences.
Use it while explaining wire formats, inspecting a sample payload, or checking whether text was encoded before a binary protocol step. It is not a general bit-field editor: the binary input is treated as text bytes, not as one large unsigned integer. For numerical base conversion use the Number Base Converter. Processing runs locally, and the editor keeps the full result available for copying even if the preview is shortened for a large input.
A round trip is a useful sanity check: encode a phrase, copy the output, switch direction, and decode it. If the returned phrase differs, inspect spacing and whether the original included a newline. Binary groups represent bytes, so character boundaries may span groups.
The editor normalizes CRLF and CR line endings to LF, so this page is not a way to preserve the original file bytes. Decoding removes a leading UTF-8 BOM. Encoding an unpaired UTF-16 surrogate produces the replacement character; ordinary Unicode text and valid emoji use their UTF-8 bytes. The tool does not execute decoded HTML or support arbitrary binary files and other character encodings.
Frequently asked questions
Is each character one byte?
No. UTF-8 uses one to four bytes for a Unicode code point.
Can I enter 101 instead of 00000101?
No. Decoding expects complete eight-bit groups separated by whitespace.
Are these machine integers?
They are the bytes of UTF-8 encoded text, displayed in base two.
Why did decoding fail?
The groups may not form valid UTF-8 text or may include characters other than zero and one.