Binary Translator
Text & Code Tools100% Private · In-BrowserSee any text as binary, hex, octal and decimal bytes at once — or decode byte strings back into readable text.
Loading tool…
Key features
- Encode mode shows all four bases simultaneously — 8-bit padded binary, 3-digit octal, 2-digit uppercase hex, decimal — each with its own copy button.
- Decode mode takes a source base selector (2, 8, 10 or 16) and rebuilds the original text.
- Flexible parsing: bytes separated by spaces, commas or semicolons — or a continuous binary/hex/octal string, chunked automatically by fixed width.
- Strict UTF-8 decoding flags invalid byte sequences with a specific error instead of printing mojibake.
- Unicode-safe: emoji and non-Latin scripts encode into their true multi-byte UTF-8 sequences.
- Stat tiles track input characters, input UTF-8 bytes and output length.
How it works
Choose encode or decode
The Encode tab converts text into byte notations; the Decode tab turns byte strings back into text.
Encoding: type any text
Enter plain text — try the example button for 'Hello 👋' — and all four base representations fill in live, byte per byte.
Decoding: pick the source base
Select which base your input uses, then paste the bytes. Separators are optional for fixed-width bases; decimal needs spaces between values.
Copy the result
Each encoded base has a copy button, and the decoded text panel gets its own — errors, when they occur, explain exactly what's wrong.
Tips for better results
- Emoji become 4 UTF-8 bytes, which is why 'Hello 👋' makes 9 bytes — that's correct, not a bug.
- A continuous run like 0100100001101001 is accepted: it's chunked into 8-digit bytes automatically (2 digits for hex, 3 for octal).
- Decimal decode needs spaces between numbers — the tool says so explicitly if you paste a run of digits.
- Hex input is case-insensitive, but the tool outputs uppercase two-digit pairs for easy comparison.
Frequently asked questions
More Text & Code Tools
View all →Explore all 86 tools
Image, PDF, text, calculator and media utilities — all free, all private, all running right in your browser.
Browse the complete toolkit