Morse Code Converter
Text ↔ Morse · Dots & Dashes
morse = text_to_morse( text ) · text = morse_to_text( morse )
Convert text to Morse code and Morse code back to text. Supports letters, numbers, and punctuation. Great for learning, puzzles, or signalling.
Presets:
0 chars
0 words
0 symbols
idle
Conversion Steps
0 characters| # | Character | Morse Code | Notes |
|---|---|---|---|
| Enter text or Morse to see conversion steps | |||
Morse Code Reference
Letters, Numbers & Punctuation
| Char | Morse | Char | Morse | Char | Morse | Char | Morse |
|---|
Text ↔ Morse · Uses International Morse Code · Spaces between words are shown as "/"
Variables
| Symbol | Quantity | Unit |
|---|---|---|
| text | Input Text | characters |
| morse | Morse Code | symbols |
What it means
Morse code represents each letter, digit, and punctuation with a unique pattern of dots (short) and dashes (long). This converter translates between plain text and these patterns, making it accessible for learning and fun.
Worked example
Example 1 – Convert "HELLO" to Morse Code
Basic ExampleScenario: A student wants to learn how the word HELLO is represented in Morse code.
| Parameter | Value |
|---|---|
| Input Text | HELLO |
| Encoding Method | International Morse Code |
| Characters | 5 |
1H = ....
2E = ., L = .-.., L = .-..
3O = ---
Result.... . .-.. .-.. ---✓ Morse code generated successfully.
Example 2 – Decode SOS Signal
Emergency SignalScenario: A rescue trainee receives the Morse code distress signal and needs to identify its meaning.
| Parameter | Value |
|---|---|
| Morse Input | ... --- ... |
| Signal Type | Distress Signal |
| Characters | 3 |
1... = S
2--- = O
3... = S
ResultSOS✓ Emergency signal decoded successfully.
Example 3 – Convert "ChatGPT 2026" to Morse Code
Real-WorldScenario: An amateur radio enthusiast wants to transmit a text message containing letters and numbers using Morse code.
| Parameter | Value |
|---|---|
| Input Text | ChatGPT 2026 |
| Supports | Letters and Numbers |
| Encoding Standard | International Morse Code |
1CHATGPT → -.-. .... .- - --. .--. -
22026 → ..--- ----- ..--- -....
3Separate words using '/' or spaces.
Result-.-. .... .- - --. .--. - / ..--- ----- ..--- -....✓ Text converted to Morse code successfully.
Common mistakes
- Using incorrect letter spacings (between letters and words).
- Confusing dot/dash for different characters.
- Not handling punctuation or numbers correctly.
- Case sensitivity – Morse is case‑insensitive.
Applications
- Learn and practice Morse code.
- Send secret messages.
- Translate historical telegraph messages.
- Add a creative element to projects.
Related calculators · Data Encoding & Conversion
Recently updated formulas
Suggest an improvement
Found a mistake? Have a better example? Let us know.
You may send up to 3 suggestions per 24 hours.