Skip to content
FizzKit

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.

Runs locally in your browser
Large inputs? Open fullscreen for room
Text
0 chars · 1 line
Binary bytes (UTF-8)
Output will appear here…
Output base
Encoding
Separator
Prefix
Group

UTF-8: ASCII is one byte; accented letters two; CJK three; emoji four. The default for the web, JSON and files.

How to use Text to Binary

  1. 1Pick Text → Bytes or Bytes → Text and paste your input, or drop a file to convert its raw bytes.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

Frequently asked questions

By default, yes. You can also choose UTF-16 LE or BE, Latin-1 or strict ASCII; the encoding applies when decoding too.