Text to Binary
Encode text as bytes in binary, hex, octal or decimal — using UTF-8, UTF-16 LE/BE, Latin-1 or strict ASCII — or paste bytes in any base and get the text back. The reverse direction detects the base automatically (with a confidence score and manual override) and accepts 0x/0b/0o prefixes, separators or continuous digit strings. Choose the separator, add language prefixes, split bytes into nibbles or group 8 or 16 per line. The Hex dump view shows offsets and an ASCII column, and the Byte table shows every character with its code point and bytes. Bit operations (invert, reverse bit order, swap byte pairs) apply in either direction, and files up to 5 MB can be dropped in directly.
Output will appear here…
UTF-8: ASCII is one byte; accented letters two; CJK three; emoji four. The default for the web, JSON and files.
Related tools
Number Base Converter
Convert between binary, octal, decimal, hex and any base 2–36, with a bit grid, bitwise ops and IEEE-754.
Unicode Escape / Unescape
Convert text to \uXXXX, \u{…}, \x, U+, &#x…;, Python, Go or CSS escapes and back, and inspect every code point for invisible or look-alike characters.
Base64 Encode / Decode
Encode text, hex or any file to Base64 (and Base32, Base58) and decode back — with data URIs and image preview.
Byte / Data Size Converter
Convert data sizes between SI and binary units side by side, and calculate transfer times.
How to use Text to Binary
- 1Pick Text → Bytes or Bytes → Text and paste your input, or drop a file to convert its raw bytes.
- 2Choose the encoding (UTF-8, UTF-16 LE, UTF-16 BE, Latin-1 or strict ASCII) — characters the encoding cannot represent are reported with their position.
- 3In Text → Bytes, choose binary, hex, octal or decimal output, the separator, an optional 0x / 0b prefix, nibble splitting and 8- or 16-per-line grouping.
- 4In Bytes → Text, leave the input base on Auto — the detected base and confidence appear in the stats — or select it explicitly if the guess is wrong.
- 5Switch to Hex dump for offsets plus an ASCII column, or Byte table to see each character with its code point and bytes; use Swap (⌘⇧S) to go back the other way.
About Text to Binary
Encode text as bytes in binary, hex, octal or decimal — using UTF-8, UTF-16 LE/BE, Latin-1 or strict ASCII — or paste bytes in any base and get the text back. The reverse direction detects the base automatically (with a confidence score and manual override) and accepts 0x/0b/0o prefixes, separators or continuous digit strings. Choose the separator, add language prefixes, split bytes into nibbles or group 8 or 16 per line. The Hex dump view shows offsets and an ASCII column, and the Byte table shows every character with its code point and bytes. Bit operations (invert, reverse bit order, swap byte pairs) apply in either direction, and files up to 5 MB can be dropped in directly.
Text to Binary is part of FizzKit — a collection of focused developer and ad-tech tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.