Skip to content

Install ALink Tools

Free browser tools for images, PDFs, media, text and web checks. Most tools process files locally on your device.

  1. Tap the Share button in the Safari toolbar.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. ALink Tools then opens from your Home Screen like an app.

Text to Binary

Paste text and get its UTF-8 bytes as binary, hexadecimal, or decimal values, or paste those bytes and read the text. Everything runs in this tab. This is not a number-base converter and not Morse code. Nothing is uploaded.

Runs in your browserUTF-8 bytesNothing is uploaded
1

Text or bytes

2

Result

How to use Text to Binary

  1. Choose a direction and formatConvert text to bytes, or bytes back to text. Pick binary (8-bit groups), hexadecimal, or decimal bytes (0–255).
  2. Paste or open textType, paste, or open a .txt file. The limit is 1 MB of UTF-8 text, including encoded input.
  3. Copy or downloadCopy the result or download it as a text file. If the input is not valid for the chosen format, or the bytes are not valid UTF-8, an error is shown instead.

Limits and how it works

  • The input is limited to 1 MB of UTF-8 text, including files you open and encoded byte strings.
  • Decoding requires well-formed UTF-8. Incomplete or illegal byte sequences are rejected rather than replaced with a placeholder.
  • Binary input must be 0 and 1 only, in groups of 8 bits. Hex input must be a whole number of bytes. Decimal values must be integers from 0 to 255.
  • A leading 0x on hex bytes is accepted and ignored. Spaces, commas, colons, and hyphens may separate bytes. This tool does not add or remove a UTF-8 BOM.

How text becomes bits

This page encodes and decodes Unicode text as UTF-8 bytes, following RFC 3629. Each byte can be shown as eight bits (most-significant bit first), two hexadecimal digits, or a decimal value from 0 to 255. ASCII letters such as A are a single byte (01000001, 41, 65). Letters outside ASCII use two, three, or four UTF-8 bytes. No library is used; TextEncoder and TextDecoder run in your browser.

It is not the Number Base Converter, which turns one integer into another radix (for example 42 to 101010). It is not the Morse Code Translator, which uses dit-dah sequences. It is not Base64 Encoder & Decoder, which writes a different 64-character encoding of bytes.

The Binary to text direction also has a page anchor, #binary-to-text, so a link can open this tool already set to decode. Hex and decimal work the same way (#hex-to-text, #decimal-to-text).

Frequently asked questions

Is my text or file uploaded?

No. Everything runs in your browser tab with JavaScript. Nothing you type, paste or drop is sent to a server, logged or stored by ALink Tools.

Is this the same as the Number Base Converter?

No. The Number Base Converter changes an integer between bases 2 and 36. This page encodes the UTF-8 bytes of a text string.

Is this Morse code?

No. Morse uses dots and dashes for letters. This page uses 0 and 1 (or hex or decimal) for UTF-8 bytes. Use Morse Code Translator for dit-dah sequences.

Does this use ASCII or UTF-8?

UTF-8. For characters in the ASCII range (U+0000 to U+007F) the UTF-8 byte is the same as the ASCII code, so A is 01000001 in both.

How do I convert binary to text?

Choose Binary to text, paste 8-bit groups, and convert. You can also open this page at #binary-to-text.

Related tools

All tools