Binary converter: text to binary translator

Convert text to binary code and binary to text.

Was this helpful?
Share Tool

This page is a binary converter and text-to-binary translator. Text ↔ Binary is the default tab: type in the Text box and UTF-8 binary appears as 8-bit groups, or paste bits on the right and the text rebuilds. “Hi” is 01001000 01101001. Conversion is local. FlashKit does not upload the string, does not decode files, and does not need an account. The default sample is “Hi”.

Each Latin letter becomes one UTF-8 byte printed as eight bits. “H” is 01001000. “i” is 01101001. A space is 00100000. The right-hand box joins those groups with spaces (or none, comma, or newline). Decoding accepts spaces, commas, newlines, or a continuous paste whose length is a multiple of 8, then rebuilds the string from those bytes. Invalid digits (a 2, a letter) or a length that is not a multiple of 8 show an error and leave the last good text in place.

Worked example. Keep “Hi”. You should see 01001000 01101001. Change the first group to 01001001 and the text becomes “Ii” because 01001001 is “I”. That is UTF-8 bytes, not an unpadded code-point dump. Unicode code points (advanced) still prints H as 1001000 (U+0048) with no 8-bit pad — the same notation this page used before the UTF-8 default. “é” in UTF-8 is two bytes 11000011 10101001; the advanced tab instead prints the single code point 11101001 for U+00E9.

Use this in a classroom, a protocol note, or a quick “what is the binary for this letter?” check. Sibling pages print the same letters as hex, ASCII, or decimal. The dedicated binary translator is the same UTF-8 job with swap. For a remainder table only, open decimal to binary with steps. To add two bit strings with carries, open the binary calculator with steps. Invert+1 at a chosen width, including 4-bit, is the two’s complement calculator. A classroom walkthrough of how to read binary code and convert text to binary is on the blog.

The UI matches this copy. Text ↔ Binary is the default tab: Text is the left textarea, Binary (UTF-8 bytes) is the right, and separator radios pick spaces, none, or comma. Errors appear in a red banner above the grid. Number converter is a second tab (decimal, hex, octal, two’s complement, fractions). Unicode code points stay under Advanced. There is no file picker. Related tools include the hex, ASCII, and decimal converters plus the cluster spokes. Close the tab when you are done — FlashKit does not store the string.

How to convert text and binary

  1. Type or paste text in the left box on Text ↔ Binary (the default tab). UTF-8 8-bit groups appear on the right, separated by spaces.
  2. Or paste 0s and 1s on the right — spaces, commas, newlines, or a continuous multiple of 8 bits — to rebuild text.
  3. Fix any red error: a digit that is not 0 or 1, or a compact paste whose length is not a multiple of 8, will not decode.
  4. Copy the side you need. Open Number converter for decimal/hex/octal, or Unicode code points (advanced) for unpadded code points. Use the hex, ASCII, or decimal siblings if that is the notation you actually have.
  5. Close the tab when you are done. Nothing is stored.

Key Features

  • Default Text ↔ Binary tab: UTF-8 bytes in 8-bit groups
  • Space, none, or comma separators; live update either side
  • Unicode code points (advanced) without 8-bit padding
  • Number converter for decimal, hex, octal, two’s complement, and fractions
  • Local only — no file upload and no firmware mode

UTF-8 bytes versus Unicode code points

  • The default tab prints each character’s UTF-8 bytes in 8-bit groups. A is 01000001. “Hi” is 01001000 01101001. The same UTF-8 job is on the binary translator.
  • Unicode code points (advanced) prints the code point in base 2 without padding. H is 1001000. “€” is one code point but three UTF-8 bytes.
  • Emoji that are one code point become one advanced token, or several UTF-8 groups on the default tab. ZWJ sequences are several characters either way.
  • Paste 01001000 01101001 or 0100100001101001 to decode “Hi” on Text ↔ Binary. Length of an unspaced paste must be a multiple of 8.
  • A compact common-conversion table sits below these sections; Show all 0–255 builds the full byte list in this tab.

Common ways people use this binary converter

  • Teaching how letters map to numbers before you introduce UTF-8 multi-byte forms.
  • Checking a homework token: paste the binary list and see the word.
  • Documenting a tiny protocol that speaks bytes or code points, not a file bitstream.
  • Turning a short banner idea into numbers, then visiting ASCII art if you wanted a FIGlet headline instead.
  • Debugging a “binary” paste that is actually hex — switch to the hex converter when you see A–F.

Number converter and sibling tools

  • The Number converter tab turns 255, 0b11111111, 0xFF or 0o377 into all four bases. Auto reads unprefixed digits as decimal. Negatives use two’s complement; fractions such as 10.625 ↔ 1010.101.
  • Remainder tables live on decimal to binary with steps. Adding two bit strings is the binary calculator with steps. Invert+1 at a fixed width is the two’s complement calculator.
  • Octal, Gray code, and BCD have their own spokes: binary to octal, Gray code converter, BCD converter.
  • Do not drop a firmware .bin here. Use a hex editor. This page is for short strings and numbers.
  • Privacy: the string never leaves this tab. Still avoid pasting secrets on a shared screen.

Common binary conversions

  • Milestones from 0–16 plus 32, 64, 100, 127, 128, 255, 256, 512, 1000, 1024 and 65535. The number converter prints the same values. Use Show all 0–255 for every byte.
DecimalBinaryHexOctal
0000
1111
21022
31133
410044
510155
611066
711177
81000810
91001911
101010A12
111011B13
121100C14
131101D15
141110E16
151111F17
16100001020
321000002040
64100000040100
100110010064144
12711111117F177
1281000000080200
25511111111FF377
256100000000100400
51210000000002001000
100011111010003E81750
1024100000000004002000
655351111111111111111FFFF177777

Frequently Asked Questions

Is this UTF-8 byte binary or Unicode code points?

The default Text ↔ Binary tab prints UTF-8 bytes in 8-bit groups (Hi → 01001000 01101001). Unicode code points (advanced) prints each character’s code point in base 2 without padding (H → 1001000). ASCII letters happen to match one UTF-8 byte; emoji and non-Latin letters often do not.

What separators are allowed?

On Text ↔ Binary: spaces, commas, newlines, or a mix. A compact paste with no separators must be a multiple of 8 bits. Empty fragments are skipped. Any other character inside a token is an error.

Why does the advanced tab omit leading zeros?

Unicode code points use JavaScript’s toString(2), which drops leading zeros. 1000001 and 01000001 are the same number when decoded. The default UTF-8 tab always prints eight bits per byte.

Is my text uploaded?

No. Both boxes live in this tab. Refreshing restores “Hi”. Nothing is written to FlashKit.

When should I use hex, ASCII, or the number converter instead?

Use hex or decimal siblings for the same letters in another base. Use Number converter for 255 ↔ 11111111, hex, octal, two’s complement, and fractions. Use ASCII art for banners, not numbers.

Can I decode a .bin firmware or image file?

No. Use a hex editor. This binary translator / text-to-binary converter is for short strings and numbers, not firmware dumps.

Expert Guide for Binary Translator

View Blog
Convert Text to Binary (Unicode)

Convert Text to Binary (Unicode)

How FlashKit’s binary converter turns letters into space-separated Unicode binary tokens — and why that is not UTF-8, hex, or a firmware dump.

Read Guide

Categories

Browse all FlashKit tools