Text ↔ binary / hex. Encoded in your browser.
Convert text to binary, hex, octal, decimal codes or HTML entities — and back — with UTF-8-correct bytes, custom delimiters and auto-detect on decode. Nothing is uploaded; every conversion runs on your device.
A free online tool by Digital HeroesYour text never leaves your browser. Nothing is uploaded.
Binary, hex & entities without a round-trip to a server
Type text on the left to encode, or paste codes on the right to decode — the two panes stay in sync. Encoding is UTF-8 byte-accurate, so an emoji becomes its real four-byte sequence, not a broken single value; switch Unit to Unicode code points when you want one number per character instead. Choose your radix (binary, hex, octal, decimal) or HTML entities, control the delimiter and prefixes, and group output into readable lines. On decode, auto-detect reads the format for you. Everything runs in your browser — no account, nothing uploaded, free forever.
Everything a code converter should do.
- Encode text to five formats — binary, hex, octal, decimal codes or HTML entities — from a single toggle.
- Decode any of them back to text, with auto-detect that reads the format from what you paste.
- Stay UTF-8 correct: work on real UTF-8 bytes, or switch to Unicode code points for one value per character.
- Control delimiters & prefixes — space, none or a custom separator, plus optional
0b/0x/0onotation and uppercase hex. - Group output into lines every 4, 8 or 16 units, and pad leading zeros for fixed-width tokens.
- Copy or download the result as a
.txtfile, or swap the two panes with one click — all in your browser.
Four steps, no manual.
- Pick a format — Binary, Hex, Octal, Decimal or HTML entities.
- Type or paste your text into the left pane to encode, or paste codes into the right pane to decode.
- Adjust unit, delimiter, prefixes, grouping and padding — the panes update as you type.
- Copy or download your result. Your data stays on your device the whole time.
Frequently asked questions.
Is the Text to Binary / Hex converter free?
Is it private? Is my text uploaded anywhere?
Does it handle emoji and other Unicode correctly?
What's the difference between UTF-8 bytes and code points?
Can it auto-detect binary vs hex when I decode?
Published · Last updated .