- Translator
- Morse code keyboard
Morse code keyboard online
Use the Morse code keyboard below to type online: tap Dot and Dash buttons, or hold one key the way a telegraph operator does, and your text builds as you go. For typing Morse into other apps, the Android and iPhone steps follow.
In short: use the keyboard below. To type Morse into other apps on a phone, install a keyboard on the phone: Google's Gboard has a Morse layout on Android and on iPhone (Google, Android) (Google, iPhone).
Type Morse code with buttons or a key
Pick Buttons to tap each dot, dash and gap, or Straight key to press and hold one key like a telegraph operator. The marks of the letter you are keying show first, then the text builds below. Everything runs in this tab: nothing you type is sent anywhere.
This keyboard needs JavaScript. Without it, write the dots and dashes by hand and look them up in the Morse code alphabet.
- . dot
- - dash
- Space letter gap
- Enter word gap
- Backspace delete
Hold with the mouse, a finger or the Space bar. The keyboard measures your presses and pauses, then learns your speed.
Speed it reads from you: 10 WPM
- Space hold to key
- Enter word gap
- Backspace delete
Your computer keyboard works while the keys box has focus: press Tab to reach it, or click any button.
Your text
It cannot hear a real key: for sound, use the audio decoder. Touchscreens can add a few milliseconds of delay to the straight key. If you pause to think between letters, set Word gaps to “With the Word gap button”. The straight key needs a pointer or the held space bar, so a screen reader works better with Buttons.
How do you type Morse code online?
Choose the mode that suits your hands. Buttons is the easy one and the better start if you are learning. Straight key is closer to real sending and takes a little practice.
- In Buttons mode, tap Dot or Dash for each mark. The marks of the letter you are keying show above the buttons, with the letter they would give. Press Letter gap to lock the letter in, and Word gap between words. Backspace takes back the last mark, and then the last letter or space.
- In Straight key mode, press and hold the big key with the mouse, a finger or the space bar. A short press is a dot and a long one is a dash. Leave a short pause between letters and a longer one between words.
- Check the result. Copy the text, or open it in the Morse code translator to hear it played back.
Your computer keyboard works too: the keys are listed in each mode. This keyboard works inside the page only, so it cannot type Morse into other apps. For that, see the Gboard steps below. If you are practicing for a game, see how to enter Morse in Nancy Drew: Secret of the Scarlet Hand for its input steps.
How does the keyboard tell a dot from a dash?
In Straight key mode it measures time. Standard Morse timing counts in units: a dot is one unit, a dash is three, the pause between the marks of one letter is one, between letters three, and between words seven (ARRL, QEX, April 1990). The length of the unit sets the speed: for the standard 50-unit word PARIS, a unit lasts 1.2 divided by the speed in words per minute, in seconds (ARRL, QEX, April 1990).
The keyboard cuts at the midpoints. A press shorter than two units is a dot, and a longer one is a dash. A pause of two units closes the letter, and a pause of five closes the word. You choose a starting speed, and the keyboard learns from there: after each press it moves its estimate of the unit a quarter of the way toward the unit that press implies, so it follows you when you speed up or slow down.
| Starting speed | One dot lasts | A press counts as a dash from | A pause closes the letter after | A pause closes the word after |
|---|---|---|---|---|
| 5 WPM | 240 ms | 480 ms | 480 ms | 1200 ms |
| 8 WPM | 150 ms | 300 ms | 300 ms | 750 ms |
| 10 WPM | 120 ms | 240 ms | 240 ms | 600 ms |
| 12 WPM | 100 ms | 200 ms | 200 ms | 500 ms |
| 15 WPM | 80 ms | 160 ms | 160 ms | 400 ms |
| 20 WPM | 60 ms | 120 ms | 120 ms | 300 ms |
| 25 WPM | 48 ms | 96 ms | 96 ms | 240 ms |
We tested it with simulated operators from 5 to 30 words per minute, each starting from the nearest speed in the list. With exact timing, and with every press and pause randomly off by up to 20 percent, every character came out right. At up to 30 percent off, about 92 characters in 100 did. A starting speed about half your real speed costs mistakes in the first letters, so pick the nearest one.
| If you see | It usually means | Try this |
|---|---|---|
| Every mark reads as a dot | The starting speed is slower than your hand | Pick a faster starting speed |
| Every mark reads as a dash | The starting speed is faster than your hand | Pick a slower starting speed |
| Spaces between letters | Your pauses count as word gaps | Set Word gaps to “With the Word gap button” |
| A ? appears | The marks are not a character | Press Backspace and key the letter again |
How do you turn on Morse typing on Android?
Google's Gboard keyboard has a Morse layout. Google says it is available for English (United States) on devices running Android 5.0 and higher (Google, Android). Its steps:
- Install Gboard on your Android phone or tablet.
- Open Settings, tap System, then Languages & input, then Virtual keyboard, then Gboard.
- Tap Languages, then English (U.S.). Swipe right through the options, tap Morse code, then tap Done.
- Open any app you can type in and tap a text field. Tap the Globe key, and tap it again until you reach Morse code.
- Enter text with the dot and the dash keys.
Under Languages, then Morse code, you can turn on Sound on keypress, Character timeout and Enable key repeat. Character timeout sets how long Gboard waits before it turns your marks into a letter; set it to Never and you send each letter by tapping the space bar (Google, Android). The full walk-through is in Morse code keyboard on Android.
What can an iPhone do?
For typing, Google documents the same Morse layout in Gboard for iPhone and iPad. Install Gboard, open its app, tap Languages, then Add Language, and scroll to Morse Code (US). Google notes that with more than three languages you must remove one first. Then, in any app, touch and hold the Globe key and tap Morse code (US) (Google, iPhone). Type letters with the dot and dash keys.
Apple's own Morse feature runs the other way. On Apple Watch, Taptic Time can tap the time on your wrist, and one of its three patterns, Morse Code, taps out each digit (Apple, Apple Watch). To send a light signal from an iPhone, Apple's flashlight page says to open Control Center and tap the Flashlight button, and tap it again to turn it off (Apple, 2025). That page does not mention Morse code, so the timing is up to you. More in Morse code on iPhone.
How do you keep your timing steady?
- Start slow. Pick 5 or 8 words per minute. A steady slow rhythm reads better than a fast, uneven one.
- Say it as you key it. Think "dit" for a dot and "dah" for a dash, and hold the dah about three times as long.
- Turn on the sidetone. Hearing each press helps you keep a rhythm. Nothing plays until you switch it on.
- Pause on purpose. Count a silent beat between letters and a longer one between words.
- Key one short word at a time. Try SOS, then HELLO, and compare each with the translator.
The tapping guide goes further into pressing a single key, and learning Morse code by ear trains the rhythm before you send it. Keep the Morse code alphabet open while you practice.
Sources
- A Standard for Morse Timing Using the Farnsworth Technique, Jon Bloom, KE3Z. ARRL, QEX, April 1990.
- Write in Morse code (Gboard Help, Android). Google, checked 6 November 2026.
- Write in Morse code (Gboard Help, iPhone & iPad). Google, checked 6 November 2026.
- Tell time with haptic feedback on Apple Watch (Apple Watch User Guide). Apple Support, checked 6 November 2026.
- Turn the flashlight on or off on your iPhone or iPad Pro. Apple Support, 11 December 2025.