1. Home
    2. Text & String Utilities
    3. Text to Binary

    Text to Binary Converter

    Convert text to binary, hex, octal or decimal bytes, and decode them back to text. Full UTF-8 support.

    Mode
    Format
    Separator
    Input
    Output

    Everything runs in your browser. Your data never leaves your device.

    Quick answer

    How do I convert text to binary?

    Type your text and choose Text to code with the Binary format. The Toolzzz Text to Binary converter turns each UTF-8 byte into 8 binary digits, such as H = 01001000. Switch to Code to text to decode binary back into readable text. Hex, octal and decimal work the same way.

    • Text to binary and binary to text
    • Also hex, octal and decimal
    • UTF-8 bytes, so emoji and accents work
    • 8-bit padded binary bytes
    • Space, comma or no separator
    • Decodes unspaced binary too
    • Swap to reverse instantly
    Text to Binary Converter: encode and decode binary in your browser
    Text to Binary on Toolzzz: encode and decode binary, free and private.
    How it works

    How to convert text to binary in 3 steps

    The result appears as you type.

    1. Choose the direction

      Pick Text to code or Code to text.

    2. Pick the format

      Choose Binary, Hex, Octal or Decimal, and a separator.

    3. Copy the result

      Press Copy or Download. Use Swap to reverse it.

    How to convert text to binary in 3 steps in three steps: choose the direction, pick the format, copy the result
    How to convert text to binary in 3 steps in three steps.
    Use cases

    Why convert text to binary

    Learning computer science

    See how computers store letters as bytes.

    Debugging encodings

    Inspect the exact bytes of a string.

    Puzzles and games

    Hide messages in binary for escape rooms and quizzes.

    Fun messages

    Send a message in 0s and 1s.

    Hex for developers

    Get hex bytes for code, URLs and protocols.

    Checking data

    Decode byte dumps from logs.

    Any device

    How to use the Text to Binary on Windows, Mac, iPhone and Android

    No app to install. The tool works in any modern browser, so the steps are almost the same everywhere.

    On Windows

    1. Open toolzzz.com/text-to-binary/ in Chrome, Edge or Firefox.
    2. Paste (Ctrl+V) your text into the left box, or press Upload to open a file.
    3. Choose the direction and format.
    4. Press Copy to put the result on your clipboard, or Download to save it. Files go to your Downloads folder.

    On Mac

    1. Open toolzzz.com/text-to-binary/ in Safari or Chrome.
    2. Paste (Cmd+V) your text into the left box, or press Upload to open a file.
    3. Choose the direction and format.
    4. Press Copy to put the result on your clipboard, or Download to save it.

    On iPhone and iPad

    1. Open toolzzz.com/text-to-binary/ in Safari.
    2. Touch and hold the box, tap Paste to add your text into the left box, or tap Upload to open a file.
    3. Choose the direction and format.
    4. Tap Copy to put the result on your clipboard, or Download to save it. Downloads appear in the Files app.

    On Android

    1. Open toolzzz.com/text-to-binary/ in Chrome.
    2. Long-tap the box and tap Paste to add your text into the left box, or press Upload to open a file.
    3. Choose the direction and format.
    4. Tap Copy to put the result on your clipboard, or Download to save it. Downloads go to the Downloads folder.
    Comparison

    Toolzzz vs. other online text tools

    FeatureToolzzz Text to BinaryTypical online text tools
    PriceFree, no limitsFree with ads or word limits
    Where your text goesStays in your browserOften sent to a server
    Sign-upNot neededSometimes needed for long texts
    SpeedUpdates as you typeOften needs a button press
    Text lengthOnly your device memoryOften capped on free plans
    Unicode and emojiFully supportedSometimes broken or miscounted

    "Typical" describes common limits of free online services. Plans and limits differ between sites.

    Why Toolzzz

    Why use Toolzzz for text

    Your text stays private

    Everything runs in this browser tab. Your words are never uploaded, stored or logged.

    Live results

    The result updates as you type, paste or change an option.

    Every language

    Built on Unicode, so accented letters, Arabic, Urdu, Chinese and emoji all work.

    Copy or download

    Copy the result to the clipboard or save it as a .txt file.

    Any device

    Works the same on desktop, tablet and phone browsers.

    Free forever

    No account, no word limits and no paywall.

    Pro tips

    Tips for the best result

    • Each English letter is one byte (8 bits). Accented letters use 2 bytes and emoji use 4.
    • Binary decoding needs groups of 8 digits. Unspaced input is split into 8-digit groups automatically.
    • Hex is shorter: every byte is 2 characters, such as 48 for H.
    • Binary is not encryption. For privacy, use Encrypt Image.
    • For Base64, use the Base64 Encoder.
    Glossary

    Key terms explained

    Bit
    A single binary digit: 0 or 1.
    Byte
    A group of 8 bits, able to hold a value from 0 to 255.
    UTF-8
    The standard way to store text as bytes, using 1 to 4 bytes per character.
    FAQ

    Frequently asked questions

    Is the converter free?

    Yes, free and unlimited.

    Is my text uploaded?

    No. It is converted in your browser.

    What is "Hello" in binary?

    01001000 01100101 01101100 01101100 01101111.

    How do I convert binary back to text?

    Choose Code to text, keep Binary, and paste your 0s and 1s.

    Does it support emoji?

    Yes. Each emoji becomes 4 UTF-8 bytes.

    Can I convert to hex?

    Yes. Choose Hex as the format.

    Why do I get an error when decoding?

    A group contains invalid digits or is larger than 255. Check the separators.

    Is ASCII the same as UTF-8?

    For English letters, numbers and basic symbols, yes. UTF-8 adds every other character.