Morse Code Converter

Convert text to morse code and morse code back to text. Hear the signal at real operator speeds, watch it flash, and check any character against the full alphabet chart.

Direction
Morse code

Morse code for common phrases

Tap any phrase to load it into the converter and hear it.

Full morse code alphabet chart

Every character this converter supports, taken from the ITU international standard.

Letters A to Z

  • A.-
  • B-...
  • C-.-.
  • D-..
  • E.
  • F..-.
  • G--.
  • H....
  • I..
  • J.---
  • K-.-
  • L.-..
  • M--
  • N-.
  • O---
  • P.--.
  • Q--.-
  • R.-.
  • S...
  • T-
  • U..-
  • V...-
  • W.--
  • X-..-
  • Y-.--
  • Z--..

Numbers 0 to 9

  • 0-----
  • 1.----
  • 2..---
  • 3...--
  • 4....-
  • 5.....
  • 6-....
  • 7--...
  • 8---..
  • 9----.

Punctuation and symbols

  • ..-.-.-
  • ,--..--
  • ?..--..
  • '.----.
  • !-.-.--
  • /-..-.
  • (-.--.
  • )-.--.-
  • &.-...
  • :---...
  • ;-.-.-.
  • =-...-
  • +.-.-.
  • --....-
  • _..--.-
  • ".-..-.
  • $...-..-
  • @.--.-.

A morse converter that works in both directions

Turning text into dots and dashes is the easy half. The harder half is reading a string somebody sent you, because one wrong space breaks the whole line. This page handles both, tells you when a character has no morse equivalent, and plays the result at the timing operators actually use.

Encode · Decode · Listen

Why use this morse code converter?

Encoding and decoding in one place

Switch direction with one tap and send a result straight back into the input box to check your work in reverse.

Correct ITU timing

Dash three times a dot, three dots between letters, seven between words. Speed is set in words per minute against the PARIS standard, from 5 to 25.

Sound and light together

Hear a clean 600 Hz tone and watch a signal light flash in step with it. Learning by ear is what actually builds speed.

The full chart on the page

Every letter, digit, and supported symbol is listed below, so you can check a single character without typing anything.

How this Morse Code Converter works

Morse code swaps every letter for a pattern of short and long signals. This converter holds the full International Telecommunication Union table, so each letter, digit, and common punctuation mark maps to one fixed sequence. Type a message and the tool looks up each character, then joins the results with a single space. A forward slash marks the break between words, which is the convention radio operators and other morse tools expect.

Decoding runs the same table backwards. Paste dots and dashes, keep one space between letters and a slash between words, and the original text comes back. Anything the table cannot match is reported under the output rather than dropped in silence, so a missing space is easy to find instead of leaving you guessing why a word looks wrong.

Audio follows the timing used on the air. A dash lasts three times as long as a dot, the gap inside a letter is one dot long, the gap between letters is three, and the gap between words is seven. Speed is set in words per minute against the word PARIS, which is exactly fifty dot units long. Pick 5 WPM to follow along by ear or 25 WPM to practise at contest pace. Your browser schedules every tone in advance, so the rhythm stays even, and a signal light flashes with each tone if you would rather watch than listen.

Everything runs on your device and no message is uploaded.

How to use this Morse Code Converter

1

Pick a direction

Text to morse turns a message into dots and dashes. Morse to text does the reverse, so paste the code you were sent and read it back in plain words.

2

Type or paste

The output updates on every keystroke. When decoding, keep one space between letters and a forward slash between words, or the letters run together.

3

Listen, copy, or download

Set the speed in words per minute and press play to hear the signal and watch the light flash. Copy the result in one tap or save it as a text file.

Example Usage

Converting a two-word message to morse code:

Input
HELLO WORLD
Output
.... . .-.. .-.. --- / .-- --- .-. .-.. -.. One space between letters One slash between words

Frequently Asked Questions

What is morse code?
Morse code replaces each letter, digit, and punctuation mark with a pattern of short signals and long signals, written as dots and dashes. Samuel Morse and Alfred Vail built the first version for telegraph lines in the 1830s. The set used today is the International Morse Code defined by the ITU, and that is the table this converter follows.
How do I write the spacing correctly?
One space separates the letters inside a word. A forward slash separates whole words. So HELLO WORLD is written .... . .-.. .-.. --- / .-- --- .-. .-.. -.. Getting this wrong is the single most common reason a decode comes back as nonsense.
What is SOS in morse code?
SOS is three dots, three dashes, three dots, sent as one unbroken run: ... --- ... It was adopted in 1906 because that rhythm is easy to send under pressure and impossible to confuse with anything else. It was never an abbreviation for save our ship, which is a story invented later.
How do you say I love you in morse code?
It is .. / .-.. --- ...- . / -.-- --- ..- Each slash marks a word break. Play it at 5 words per minute if you want somebody to be able to follow it by ear, or tap the phrase in the list above to load it straight into the converter.
Can this tool decode morse code back into text?
Yes. Switch the direction to morse to text and paste the dots and dashes. The converter reads the same ITU table in reverse. If a group of dots and dashes matches nothing in the table, it is reported instead of quietly dropped, so you can find the typo.
What does WPM mean and which speed should I choose?
WPM is words per minute, measured against the word PARIS, which is exactly fifty dot units long. That gives every operator the same reference regardless of the message. Start at 5 WPM while you are still counting dots. Amateur radio traffic sits around 13 WPM, and contest operators run 25 WPM and above.
Why did my decoded message come out as gibberish?
Almost always the spacing. If the letters are separated by two spaces, or the words by a space instead of a slash, the groups no longer line up with the table. Paste the code, replace any double spaces with single ones, and put a slash where each word ends.
Does morse code have lowercase letters or accented characters?
No. Morse has one signal per letter and draws no distinction between capitals and lowercase, so this converter treats everything as uppercase. Accented characters such as é and ñ have regional codes that are not part of the international set, so they are skipped and counted in the notice under the output.
Are numbers and punctuation included?
Yes. All ten digits use five signals each, and the converter covers the punctuation in common use, including the full stop, comma, question mark, slash, brackets, colon, and the at sign, which was added in 2004 so email addresses could be sent by radio.
How long does it take to learn morse code?
Most people reach a usable 5 words per minute in a few weeks of short daily practice. The method that works is learning the sounds rather than the printed dots, which is why the audio here matters more than the visual display. Play a short message, write down what you hear, then check it against the text.
Can I download the audio as a sound file?
Not at the moment. The tones are generated live by your browser, so there is no file to save. The download button gives you a text file containing both the original message and the morse translation, which is what most people need for reference or for sharing.
Is my message sent anywhere?
No. The lookup table, the decoder, and the audio all run in your browser. Nothing is uploaded, nothing is logged, and no account is required, so a private message stays on your device.

Related Tools

The Morse Code Converter is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.

Comments

Questions, corrections, and useful tips are welcome. Comments are reviewed before publication.

Loading comments...

Comments are stored and moderated using Cusdis Cloud. Email is optional. Privacy Policy

As featured on

CodeItBro - Free dev tools + practical guides to help you ship faster | Product HuntCodeItBro - Free Online Developer Tools badgeCodeItBro badge