RSRobince Studio

Text to Binary & Morse Code Translator

One translator for three encodings. Convert text to and from binary, hexadecimal and Morse code, using tabs to choose the format and direction.

Runs in your browser. Your files are never uploaded.

Loading Text to Binary & Morse Code Translator…

How to use Text to Binary & Morse Code Translator

  1. Choose Binary, Hex or Morse.
  2. Choose a direction: text to code or code to text.
  3. Type or paste your input; the translation appears immediately.
  4. Use Swap to feed the output back through the opposite direction, or press Copy.

Binary, hex and Morse in brief

Computers store text as numbers. Binary writes those numbers in base 2 using only 0 and 1, while hexadecimal writes them in base 16 using the digits 0 to 9 and the letters A to F. Two hex digits describe exactly one byte, so hex is a compact way for people to read binary data. This tool shows the same text in either form.

Morse code is different: it was designed for telegraph and radio, and represents each letter or number as a pattern of short and long signals, called dots and dashes. It has no standard way to represent lower case, accents or most symbols.

Where these conversions help

  • Learning how computers represent characters in a computer science class.
  • Making puzzles, escape-room clues and geocaching ciphers.
  • Debugging data by looking at the raw bytes behind a string.
  • Practising Morse code for amateur radio or scouting activities.
  • Creating decorative messages for gifts and social posts.

Things to know

Binary and hex here describe encoding, not secrecy. Anyone can decode them in seconds, so do not use them to protect private information. Morse code is the same: it is a way of writing, not a cipher.

When decoding binary, each group must be exactly eight bits and the bytes must form valid UTF-8, otherwise you will see an explanation of what is wrong. Everything runs locally on your device, and nothing is uploaded.

A short example helps. The word “Hi” is the bytes 72 and 105, which in binary is 01001000 01101001 and in hex is 48 69. In Morse the same word is .... .. because H is four dots and I is two. When you decode, the Swap button is a handy way to check a round trip: it moves the output into the input and flips the direction, so you can confirm that your text comes back unchanged.

Why use this text to binary & morse code translator tool

  • Three formats. Text and binary, text and hex, text and Morse code, all on one page.
  • UTF-8 aware. Accents, symbols and emoji are encoded as proper UTF-8 bytes, not guessed.
  • Morse for letters, numbers and punctuation. A-Z, 0-9 and common marks such as . , ? ! / ( ) & : ; = + - are supported.
  • Friendly decoding. Binary can be spaced or unspaced, hex accepts 0x prefixes and separators, and Morse accepts / between words.

Frequently asked questions

How is text converted to binary?

Each character is converted to its UTF-8 bytes, and each byte is written as eight binary digits. The letter A is byte 65, which is 01000001. Characters outside basic English, such as é or an emoji, use two to four bytes.

How should I write Morse code to decode it?

Use dots and dashes, put a single space between letters and a slash with spaces around it between words, for example .... .. / - .... . .-. . for “HI THERE”. The characters • and – are also accepted.

Why do I see question marks in my Morse output?

A question mark means the code was not recognised. Check for typing errors or for letters run together without spaces. When encoding, characters with no Morse equivalent are skipped and listed in a message.

More free tools