Text, Binary and Hex Converter

Text to binary converter — turn any text into 8-bit binary code, plus hex and decimal, free.

About

About the Text, Binary and Hex Converter

Converts plain text to binary, hexadecimal or decimal bytes, and decodes bytes back into text using UTF-8.

Students learning how computers store text use it to see exactly what bytes a word turns into, while developers use it to decode a byte dump from a protocol trace or file format back into readable text. It's one of many free converters on Toolapt, and like every tool here, it's free to use with no sign-up and no limit on how many times you run it.

Choose what to view about this tool

Guide

Using the Text, Binary and Hex Converter

  1. 1

    Step 1

    Choose a byte format — Binary, Hexadecimal or Decimal.

  2. 2

    Step 2

    To encode: type text into the Text box and click "Text to bytes".

  3. 3

    Step 3

    To decode: paste bytes into the Bytes box — separated by spaces, commas or new lines, or unseparated binary/hex — and click "Bytes to text".

  4. 4

    Step 4

    Copy either box with its own button, or click Clear to start over.

  • Converts text to bytes in three formats — binary, hexadecimal and decimal — not just one
  • Decodes bytes back into text using UTF-8, so accented characters and emoji round-trip correctly
  • Decodes bytes separated by spaces, commas, semicolons or new lines, and splits unseparated binary or hex runs into bytes automatically
  • Works in both directions in the same tool, without needing a second page to reverse the conversion
  • Works entirely in your browser — no installs and no sign-up
  • Free to use, with no limit on how many times you run it
  • Fully responsive, so it works just as well on a phone as on a desktop

Students

Students use the Text, Binary and Hex Converter for seeing exactly which bytes a word or sentence turns into while learning how computers represent text.

Developers

Developers use the Text, Binary and Hex Converter for decoding a raw byte dump from a protocol trace, file format or memory buffer back into readable text.

Puzzle and CTF solvers

Puzzle and CTF solvers use the Text, Binary and Hex Converter for quickly turning a string of binary or hex digits found in a challenge into plain text.

Anyone debugging encodings

Anyone debugging encodings uses the Text, Binary and Hex Converter for confirming that a string of bytes really does decode into the text it's supposed to represent.

More text and byte conversions

Examples

Text, Binary and Hex Converter examples

3 worked examples

01

Text to hex

"Hi" encodes to the two hex bytes 48 69 — H is 0x48 and i is 0x69.

02

Text to binary

"Hi" encodes to the binary bytes 01001000 01101001 — the same two bytes as the hex example, in base 2.

03

Decimal bytes back to text

Decoding the decimal bytes 72, 101, 121 gives back the text "Hey".

FAQ

Frequently asked questions

Quick answers to common questions about the Text, Binary and Hex Converter.

What does the Text, Binary and Hex Converter do?

It converts plain text into its underlying bytes — shown as binary, hexadecimal or decimal — and decodes bytes back into text.

Is the Text, Binary and Hex Converter free to use?

Yes. It's free, with no sign-up, no watermark and no limit on how many times you use it.

Is my input safe when I use this tool?

Yes. The text or bytes you enter are processed entirely on your own device — nothing is sent to a server.

Does it support characters beyond plain ASCII?

Yes. Text is encoded and decoded as UTF-8, so accented letters, symbols and emoji convert to their correct multi-byte sequences and decode back correctly too.

What separators can I use between bytes?

Encoded output always puts a single space between bytes. When decoding, spaces, commas, semicolons and new lines all work, and unseparated binary (multiples of 8 digits) or hex (an even number of digits, with or without 0x prefixes) is split into bytes automatically. Decimal bytes always need a separator.

What's the difference between binary, hex and decimal here?

They're the same underlying bytes shown in different number bases — binary uses 0s and 1s, hexadecimal uses base 16 (00–FF), and decimal uses base 10 (0–255) — pick the one your use case needs.

Can I use the Text, Binary and Hex Converter on my phone?

Yes. The page is fully responsive and works on mobile, tablet and desktop browsers alike.

Does the tool have any limitations?

Decoding expects bytes in the selected format that form valid UTF-8; a stray character, a value above 255 or a lone legacy byte like hex e9 is reported as an error instead of being guessed at.

Still have a question? Contact us

Report a problem

Text, Binary and Hex Converter

What went wrong?
    or paste a screenshot