How to Convert Text to Morse Code
By Tools Star Hub Editorial Team · Published
Morse on this page is dots and dashes for A to Z and 0 to 9. Letters in a word are separated by spaces. Words are separated by a slash.
Lowercase is converted to uppercase first, so hello and HELLO are the same code. Punctuation is rejected. The page does not play sound.
How to convert text to Morse code
- Type letters or digits. An empty box is rejected.
- Read the code. A slash separates words.
- Paste code to go back to text. Extra spaces and a trailing slash are tolerated when the letters are still valid. A run that is not a letter, such as six dots, is rejected.
Example
HELLO, SOS, and two words
HELLO is .... . .-.. .-.. ---. SOS is ... --- .... HELLO WORLD is .... . .-.. .-.. --- / .-- --- .-. .-.. -.. The alphabet and the digits 0 through 9 round-trip. HELLO! is rejected.
FAQ
- Does lowercase matter?
- No. hello becomes HELLO before it is encoded.
- Are words separated?
- Yes. A slash separates words.
- What characters are allowed?
- A to Z and 0 to 9. Punctuation is rejected.
- Can I hear the code?
- No. The result is text.
To turn letters and digits into dots and dashes, use Morse Code.