Skip to content
MyToolkit.pro

Code & Data

Morse Code Translator

Type text to convert it into Morse code, or paste Morse code to read it back as text. Letters are separated by a single space and words by a slash. Your data never leaves this browser.

Private by design: no text is uploaded or stored.

Private by design: no text is uploaded or stored.

Try an example

Result

Updates when you translate or change the mode.

Characters
0
Play time
—

Listen and watch

Plays the code as tones at the chosen speed. The lamp flashes in time, so it still works with the sound off.

How does the translation work?

In encode mode each letter or digit becomes its Morse sequence of dots and dashes; codes within a word are separated by a single space and words by a slash. Characters with no Morse equivalent (punctuation, symbols) are dropped. In decode mode a slash marks a word break and single spaces separate the codes, which are mapped back to letters — unknown codes are ignored. Everything runs in your browser.

How to turn text into Morse code (and back)

  1. Type or paste your message into Text to translate. Upper and lower case both work.
  2. Under Mode, choose Text → Morse to encode, or Morse → Text if you have dots and dashes to read. When encoding, line breaks count as word breaks.
  3. The result appears in the Translation box as you type, and it updates when you change the mode.
  4. Use Copy result to put the output on your clipboard, or Clear to empty the input and start over.
  5. To hear the code, pick a value from Speed (WPM) (5, 10, 15 or 20) and press Play. The tool plays a 600 Hz tone and flashes the signal lamp in time with it. While it plays, the same button reads Stop, and pressing it cuts playback short.

In encode mode, Play sounds out the translation. In decode mode it plays the Morse you pasted, so you can listen to a code before or after reading it. The Play time figure shows in advance how long playback will take at the selected speed.

Morse code examples with real output

Input Mode Output
SOS Text → Morse ... --- ...
Hello, world! Text → Morse .... . .-.. .-.. --- / .-- --- .-. .-.. -..
-- . . - / .- - / .---- ----- Morse → Text MEET AT 10
... ---- ... Morse → Text SS

In the second row, the comma and exclamation mark are gone. The tool encodes only letters and digits, so punctuation is left out of the output. Decoded text always comes back in capitals, because Morse code has no lower case. The last row has a typo: ---- (four dashes) isn't a valid code, so it is skipped and only the two S letters remain.

Playback length depends on the speed setting:

"... --- ..."   at 15 WPM → 2.2 s
"HELLO WORLD"   at 20 WPM → 6.7 s
"HELLO WORLD"   at  5 WPM → 26.6 s

Speed, timing and how the playback sounds

Playback uses standard Morse timing. A dot is one unit and a dash is three. The gap inside a letter is one unit, the gap between letters is three, and the gap between words is seven. One unit lasts 1200 ms divided by the WPM value. That gives 240 ms at 5 WPM, 120 ms at 10, 80 ms at 15 (the default) and 60 ms at 20.

Lower speeds make every element and gap longer. Many courses teach letters at around 15–20 WPM from the start, so you learn each character as a rhythm instead of counting dots. The lamp follows the same schedule as the sound, so it still works on a muted laptop or phone.

Practical uses

  • Puzzles and escape-room clues: encode a short code word, print the dots and dashes, and players can check their answer by pasting it back in decode mode. If your puzzle chains several ciphers, Caesar cipher (ROT13) works well as a second step.
  • Copy practice: paste a sentence, look away from the screen or cover the result, play it at 15 WPM and write down what you hear. Then compare your copy with the text.
  • Checking a code from a film, game or tattoo design: paste the Morse in Morse → Text mode to make sure it says what you think before you commit to it.
  • Spelling messages over a bad voice line is a different job. For that, use Text to NATO phonetic alphabet, which turns each letter into a spoken word such as Alfa or Bravo.

Limits and formatting rules to know

  • Supported characters: the 26 Latin letters A–Z and the digits 0–9. Accented letters (é, ü, ł) and punctuation are dropped when encoding. For example, Café 2026 becomes -.-. .- ..-. / ..--- ----- ..--- -...., without the é. The full international alphabet, which includes punctuation, is defined in ITU-R M.1677-1.
  • Prosigns: prosigns such as AR or SK are not supported. Typing AR gives the separate letters .- .-., not the run-together prosign.
  • Word breaks when decoding: the slash needs a space on each side. ... / --- decodes to S O, while .../--- decodes to nothing.
  • Unknown codes: if the decoded text looks shorter than expected, check the input for a typo such as an extra dot or dash.

Frequently asked questions

What does SOS look like in Morse code?

SOS is `... --- ...`: three dots, three dashes, three dots. In real distress signalling it is sent as one continuous signal, without the usual pauses between letters. This tool plays it as three separate letters with normal letter gaps.

What is the Morse code for numbers?

Every digit uses five symbols. 1 to 5 start with dots and add dashes (1 = `.----`, 5 = `.....`), 6 to 9 start with dashes and add dots (6 = `-....`, 9 = `----.`), and 0 is five dashes, `-----`.

How do you say I love you in Morse code?

I LOVE YOU is `.. / .-.. --- ...- . / -.-- --- ..-`. Type the phrase in Text → Morse mode to get it in a form you can copy.

Can I translate a Morse code audio recording?

Not with this tool. It only reads Morse written as dots and dashes. To decode a recording, write down what you hear first and then paste it in Morse → Text mode.

Is Morse code still used today?

Yes. It's used in amateur radio and as identifiers for aviation navigation beacons. It also serves as an accessibility input method for people who can operate only one or two switches.

All in Code & Data

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 to text instantly in your browser.

Code & Data In your browser

Text to Binary

Convert text to binary and binary back to text in your browser. Pick the direction, get clean space-separated bytes. Nothing is uploaded.

Code & Data In your browser

Caesar cipher (ROT13)

Encode or decode text with a Caesar cipher — each letter is rotated forward through the alphabet by a fixed amount. A shift of 13 is ROT13, its own inverse. Digits, spaces and punctuation are left as they are.

Code & Data In your browser

Binary to text

Decode binary back into readable text. Enter 8-bit groups separated by spaces and get the original characters, decoded as UTF-8 so it round-trips with the text-to-binary tool. Runs in your browser.

Code & Data In your browser

Text to NATO phonetic alphabet

Spell text with the NATO phonetic alphabet — Alfa, Bravo, Charlie — plus spoken digits. Perfect for reading codes, names or passwords aloud over the phone. Runs in your browser.

Text & Lists In your browser

What do you need?

Swipe up for the next one