Morse Code Light and Flashlight

Written and maintained by Mubashir Alam, software engineer and web developer who builds MorsePad. Last updated November 2026.

Use this Morse code light translator to flash SOS or your own message with your screen or your phone's flashlight. Pick a speed, turn on Repeat if you want the signal to keep going, and press start. It works as a Morse code flashlight on phones that allow it and as a screen flasher everywhere else, and it runs in your browser with nothing to install.

The tool flashes bright light. If you or anyone watching has photosensitive epilepsy, read the section on photosensitivity below before you start.

... --- ...

Light source
Illustration of a handheld flashlight and an illuminated phone screen used for Morse light signalling
Short flashes represent dots and longer flashes represent dashes. Illustration.

How to use the Morse code light and flashlight

  1. Type the words you want to send in the Message box. It starts with SOS, and MorsePad shows the dots and dashes below the box. To send SOS as one continuous distress signal rather than three separate letters, use Send SOS.
  2. Set the speed. It starts at 8 WPM (words per minute). Go slower if the person watching isn't used to reading Morse by eye.
  3. Choose a light source: Screen flash or Phone flashlight. The next section explains which one your device can use.
  4. Turn on Repeat to loop the message until you stop it.
  5. Press Start flashing. For a distress signal, press Send SOS instead. Tap the screen or press Esc to stop.

Screen flash or phone flashlight

Screen flash turns your whole display white and black in time with the code. It works on any phone, tablet or computer. Turn the brightness all the way up and hold the screen towards the person reading it.

Phone flashlight (the torch, in British English) uses the LED next to your camera, which is much brighter than a screen. Browsers control that LED through the camera, so your browser will ask for camera permission the first time. MorsePad uses the camera only to switch the light, and no video is uploaded. If your browser won't let the page control the light, MorsePad tells you and flashes the screen instead.

Which devices can use the flashlight

Device and browserCan a web page switch the flashlight?What to pick
Android phone, ChromeUsually yes, once you allow camera access. A few phones still refuse.Phone flashlight
Android phone, FirefoxNo. Firefox doesn't support flashlight control.Screen flash
Android phone, other browsersIt depends on the browser and the phone.Try Phone flashlight. MorsePad switches to the screen if it can't.
iPhone or iPadApple has added it in recent iOS versions (from around iOS 17.4), but support is newer and less consistent than on Android.Screen flash
Laptop or desktopNo. Webcams don't have a flash LED.Screen flash

Morse code light timing

Light Morse follows the same timing rules as sound. Everything is measured in units, and a dot is one unit long.

Part of the signalLength
Dot (short flash)1 unit
Dash (long flash)3 units
Dark gap inside a letter1 unit
Dark gap between letters3 units
Dark gap between words7 units

One unit lasts 1200 ÷ WPM milliseconds. That figure comes from the standard word PARIS, which takes exactly 50 units including the gap after it. At one word a minute you send 50 units in 60,000 ms, so each unit is 1,200 ms. At common speeds that gives the lengths below. The last column is one SOS sent as a single group, which is 23 units long.

SpeedDotDash, and gap between lettersGap between wordsOne SOS
5 WPM240 ms720 ms1.68 s5.5 s
8 WPM (default)150 ms450 ms1.05 s3.5 s
10 WPM120 ms360 ms0.84 s2.8 s
15 WPM80 ms240 ms0.56 s1.8 s
20 WPM60 ms180 ms0.42 s1.4 s

Eyes pick out flashes more slowly than ears pick out beeps. US Navy signalling drills say a 12-inch signal searchlight can send up to 15 words a minute, depending on the operator's skill, and those are trained signalmen. For a friend who doesn't read Morse every day, 5 to 8 WPM is a better place to start. If they keep losing letters, lower the speed before you change anything else.

How to signal SOS with a light

SOS is three short flashes, three long flashes and three short flashes: ...---.... Send it as one unbroken group, with one-unit gaps between every flash and no letter gaps between S, O and S. After each SOS, stay dark for at least a word gap, then send it again. Keep repeating until someone answers.

On MorsePad, press Send SOS and switch on Repeat so the signal loops by itself. At the default 8 WPM, each SOS takes about three and a half seconds.

SOS became the international distress signal under the 1906 Berlin radiotelegraph convention, which came into force in 1908. Ships stopped using Morse for distress calls in 1999, when the Global Maritime Distress and Safety System (GMDSS) replaced it, but three short, three long, three short is still used as a visual distress signal with lights. There's more on the code itself on the SOS in Morse code page.

If you ever need to use it for real:

  • Call your local emergency number first if you have signal. The light is a backup.
  • Point the light towards where help could come from, such as a road, the shore or an aircraft overhead.
  • Move into the open where it's safe to do so. A light stands out most after dark.
  • Prop the phone on something steady so the flashes keep pointing the same way.
  • Watch the battery. The flashlight and a full-brightness screen both drain it, so take breaks and keep enough charge to make a call.

A flashing phone is a last resort. If you're heading out to sea or into the hills, carry proper distress gear, such as a whistle, a head torch and, where it makes sense, a personal locator beacon or flares.

The alpine distress signal

In mountain areas, rescuers also know the alpine distress signal: six signals spread evenly over one minute (one about every ten seconds), then a minute of silence, then the same again. The reply is three signals a minute. It was introduced in 1894 on the suggestion of Clinton Thomas Dent, and you can give it with a whistle or a flashlight. MorsePad's light tool sends Morse code, so give this one by hand with your phone's torch.

Tips for a light signal people can read

Agree how you'll start and finish. Ships signalling by lamp use a simple routine you can borrow. The sender flashes AA AA AA to call, and the receiver answers with TTTT. During the message the receiver flashes T after each word to show it arrived, and the sender finishes with AR. The receiver replies R for "received". In Morse, AA is .- .-, T is -, AR is .-.-. and R is .-..

A few more things help:

  • Send a few seconds of dark before the message so the reader is ready when it starts.
  • Wait for darkness if you can. Contrast drops sharply in daylight, and a screen is hard to read outdoors in bright sun.
  • Keep the light pointed at the reader. If the beam wanders off them, they'll see dark gaps that aren't in the code.
  • Rest the phone on something solid instead of holding it.
  • Give the reader binoculars if you have them. Navy signalmen often read signal lamps through binoculars.
  • Test the range with a friend before you rely on it. Phone flashlights give roughly 30 to 60 lumens, going by figures Apple and Samsung gave the headlamp maker Petzl, while Petzl's own headlamps start at 300 lumens. How far that carries depends on how dark it is, the weather and the reader's eyes.

Reading Morse code from a flashing light

Write each flash down as it happens: a dot for a short flash, a dash for a long one, a space when the light stays off a little longer, and a slash for a long dark gap between words. Judge each flash against the others. Whatever the speed, a dash lasts about three times as long as a dot. When you're done, paste what you wrote into the Morse code translator to turn it into text.

Real Morse has two flash lengths, roughly one to three, and dark gaps in three sizes. If every flash and every gap is the same length, it's very unlikely to be Morse.

For a video, pause and step through it frame by frame, or slow the playback down, and note when the light goes on and off. If the Morse is in the sound instead, the Morse code decoder can read audio and microphone input.

Reading by eye gets much easier once you know each letter by its rhythm. The Koch method trainer teaches letters by sound, and the rhythm is the same when it's light. The Morse code alphabet and numbers chart are handy to keep open while you practise.

Signal lamps: where light Morse comes from

Flashing dots and dashes with a lamp started at sea. Captain (later Vice Admiral) Philip Colomb of the Royal Navy first put the idea into practice in 1867. His original code wasn't the same as Morse, and Morse code was adopted later.

A signal lamp is also called an Aldis lamp or a Morse lamp. In 1944 the British inventor Arthur Cyril Webb Aldis patented a small hand-held design with an improved shutter. Large ship lamps flash by opening and closing shutters in front of the light, while hand-held lamps tilt a mirror with a trigger. The signaller aims the lamp at the other ship, and the receiver often reads it through binoculars. Range depended on the lamp: in the First World War, German Blinkgerät signal lamps reached up to 4 km in daylight and 8 km at night.

Lamps were most useful when radio had to stay silent, as with convoys during the Battle of the Atlantic. Navies still use them for the same reason, for example when ships are close together during replenishment at sea, and night signalling is now usually done in infrared. In 2017 the US Navy tested a system where a sailor typed a message on a tablet, the lamp flashed it as Morse automatically, and a camera on the other ship turned the flashes back into text.

Some navigation lights flash Morse too. The lighthouse authorities' body IALA defines a "Morse code light" as one whose flashes are grouped to reproduce a Morse character, and safe water marks (buoys with navigable water all around them) may flash Morse A, .-.

Photosensitivity

Flashing light can trigger seizures in people with photosensitive epilepsy. According to the Epilepsy Society, about 3% of people with epilepsy are photosensitive, and most first develop it between the ages of 7 and 19. Lights flashing between 3 and 30 times a second are the common triggers, and 16 to 25 times a second is the most likely range.

Morse flashes fastest during runs of dots, such as S, H or the number 5. At 8 WPM a run of dots flashes about 3.3 times a second, and at 20 WPM about 8 times. Web accessibility guidelines (WCAG) set three flashes in any one second as the limit for web content. At 7 WPM or slower, even a run of dots has an average flash rate under three flashes a second. This is not a guarantee of safety or WCAG compliance: flash brightness, area and timing also matter. If anyone watching might be photosensitive, do not use flashing light.

MorsePad shows a warning before any flashing starts. Tap the screen or press Esc to stop straight away. If someone feels unwell, the Epilepsy Society suggests covering one eye completely with a hand and turning away from the light. It advises against simply closing your eyes, which can cause a flicker effect of its own.

More Morse tools

Blinking Morse code with light

You can blink Morse code with any light. A short blink is a dot and a long blink is a dash, and a longer dark gap separates letters and words. Light signals work where sound does not, for example when you need to signal quietly or when the person watching cannot hear. To check what a blinking light says, write the short and long blinks down and decode them with the Morse code decoder.

Frequently asked questions

Can my phone's flashlight send Morse code?

Yes, on many Android phones. Open this page in Chrome, choose Phone flashlight and allow camera access when asked, because browsers control the flashlight through the camera. Some phones and browsers still won't let a web page switch the light, and Firefox doesn't support it at all. When that happens, MorsePad tells you and flashes the screen instead, so you can still send your message.

Does the Morse code flashlight work on iPhone?

On an iPhone or iPad, use Screen flash. Apple has started letting web pages control the flashlight in recent iOS versions, from around iOS 17.4, but support is newer and less consistent than on Android. Screen flash works on every iPhone. Turn the brightness up, hold the screen towards the reader and pick a slow speed, because a screen is dimmer than a flashlight.

Why does the page ask for camera access?

Browsers treat the flashlight as part of the camera, so a web page can only switch it on through camera permission. MorsePad uses that permission only to turn the light on and off, and no video is uploaded. If you'd rather not allow it, choose Screen flash, which doesn't need any permission.

How do I signal SOS with a flashlight?

Flash three short, three long and three short (...---...) as one unbroken group, stay dark for a moment, then repeat. On MorsePad, press Send SOS and switch on Repeat. Aim the light towards where help might come from and keep going until someone responds. If you have phone signal, call your local emergency number first, and treat the light as a backup.

Should there be gaps between the letters in SOS?

No. SOS is a procedural signal, or prosign, sent as one continuous pattern with the same one-unit gap between every flash. The letters don't stand for anything. The sequence was chosen because it's distinctive, and "save our souls" was attached to it later. On MorsePad, the Send SOS button flashes it as a single group.

What speed should I use for a Morse code light?

Start at 5 to 8 WPM for anyone reading by eye who doesn't use Morse every day. Eyes pick out flashes more slowly than ears pick out beeps, and US Navy drills put a 12-inch signal searchlight at up to 15 words a minute even with a skilled operator. If letters run together, slow down. At 7 WPM or below, runs of dots have a lower flash rate, but that does not make flashing safe for photosensitive viewers. If anyone watching could be photosensitive, do not use flashing light.

How far away can a phone light be seen?

It depends on how dark it is, the weather and the reader's eyesight, so test it with a friend before you rely on it. A phone flashlight gives roughly 30 to 60 lumens, according to figures Apple and Samsung gave the headlamp maker Petzl, and Petzl's own headlamps start at 300. A screen flash is dimmer than the flashlight and works best at short range.

Can I send my own message instead of SOS?

Yes. Replace SOS in the Message box with your own words. MorsePad turns the letters into Morse automatically and shows the dots and dashes below the box. Keep light messages short and the speed low, because a long message is hard to follow by eye and the reader has to stay focused on the light the whole time.

Can I flash Morse code from a laptop or desktop?

Yes, with Screen flash. Webcams don't have a flash LED, so the Phone flashlight option can't work on a computer, but screen flashing works in any browser. Turn the brightness up, point the screen at the person reading, and choose a slow speed if they're new to Morse. Press Esc on your keyboard to stop the flashing at any time.

Is flashing Morse code safe for people with epilepsy?

Flashing light can trigger seizures in people with photosensitive epilepsy, most often at 3 to 30 flashes a second. Runs of dots at the default 8 WPM flash a little over three times a second, and even slower flashing is not guaranteed safe. If anyone nearby might be photosensitive, do not use flashing light. MorsePad warns you before flashing starts, and you can stop at any time by tapping the screen or pressing Esc.

What is an Aldis lamp?

Aldis lamp is another name for a signal lamp, the shuttered lamp ships use to flash Morse code to each other. The British inventor Arthur Cyril Webb Aldis patented a small hand-held design with an improved shutter in 1944. The signaller opens and closes the shutter, or tilts a mirror with a trigger, to make each flash, and the receiver often reads it through binoculars.

How do I read Morse code from a flashing light?

Write down each flash as it happens: a dot for a short flash and a dash for a long one. Leave a space when the light stays off longer between letters, and write a slash for the long gap between words. Compare the flashes with each other, since a dash lasts about three times as long as a dot. For a video, step through it frame by frame. Then paste the dots and dashes into MorsePad's translator to get the text.

Do ships still use Morse code lights?

Yes, in some situations. Navies still use signal lamps when radio has to stay silent, such as when ships are close together during replenishment at sea, and night signalling is now usually done in infrared. Ships stopped using Morse for distress calls in 1999, when GMDSS took over. Some buoys and navigation lights also flash a Morse letter as their light pattern.

Updated: