Tap the button to switch on your phone's camera LED straight from the browser. Choose a steady beam, a strobe, the SOS distress signal or any message in Morse code. If your device does not allow it, the page lights up the screen instead.
Last updated:
Uses your phone's camera LED (torch). Tap the button and allow camera access.
Output: camera torch
Mode
A constant beam from the rear LED. Works in Chrome and other Chromium browsers on most Android phones. On iPhone, iPad and computers the page lights up the whole screen instead.
Flashing light can trigger seizures in people with photosensitive epilepsy. Many phones cannot switch the LED faster than about 8 to 10 times per second.
Signals · · · − − − · · · (SOS), the international distress signal, on repeat with a pause between rounds.
Tap to turn off
Advertisement
Advertisement
How to use the Phone Flashlight
Open the page on your phone in Chrome on Android for LED control.
Tap Turn on flashlight and allow camera access when asked. The rear LED lights up.
Pick a mode: Steady, Strobe (set the speed), SOS, or Morse with your own message.
Set Auto-off if you want the light to switch off by itself.
Tap the button again to turn the light off and release the camera.
How the camera torch works in a browser
The phone's flashlight is part of the camera module, so a web page can only reach it through the camera API. When you tap Turn on, the page asks for the rear camera with getUserMedia, checks the video track's capabilities for torch, and then calls applyConstraints({advanced: [{torch: true}]}). Strobe, SOS and Morse modes simply switch that constraint on and off on a timer. When you turn the light off, the camera track is stopped, which also turns the LED off and removes the camera-in-use indicator.
Support by device
Device and browser
Camera LED
What the page does
Android with Chrome, Edge, Samsung Internet, Opera
Usually yes
Turns on the rear LED
Android with Firefox
Usually no
Uses the screen as the light
iPhone and iPad (any browser)
No
Uses the screen as the light
Laptops and desktops
No (webcams have no torch)
Uses the screen as the light
Morse code timing reference
Morse code by light uses the same timing as by sound. Speed in words per minute (WPM) is based on the word PARIS, which is 50 dot units long, so one dot lasts 1,200 ÷ WPM milliseconds.
Element
Length
At 8 WPM
Dot (light on)
1 unit
150 ms
Dash (light on)
3 units
450 ms
Gap between dots and dashes in a letter
1 unit
150 ms
Gap between letters
3 units
450 ms
Gap between words, or before repeating
7 units
1,050 ms
For signaling by eye over a distance, slower is better: 5 to 8 WPM is easy to read. To look up or decode letters, use the Morse code translator.
Safety tips
Do not shine the LED directly into anyone's eyes, and never point a strobe at drivers.
Strobe and fast flashing can trigger seizures in people with photosensitive epilepsy.
In a real emergency, call your local emergency number first; a light signal is a backup for being seen.
Frequently asked questions
How can a website turn on my phone's flashlight?
Browsers that support the Media Capture torch constraint let a page that has camera permission switch the camera's LED on and off. The page opens the rear camera at low resolution, never shows or records the picture, and only sends the torch on or off command. Turning off releases the camera.
Does it work on iPhone?
Not with the LED. Safari and every other browser on iPhone and iPad do not let web pages control the torch, so the page automatically uses a full-screen white light instead. For the LED on iPhone, use the flashlight button in Control Center.
Which phones support the camera torch in the browser?
Most Android phones in Chrome, Edge, Samsung Internet and other Chromium-based browsers support it. Some phones only expose the torch on one of several rear cameras; the page tries each camera until it finds one with a torch, and you can also pick one from the Camera list.
Why does the strobe look slower than the setting?
Switching the LED takes a short command to the camera each time, and many phones cannot do that more than about 8 to 10 times per second. At high settings, flashes may merge or skip. The screen light can blink faster but is much dimmer.
How is SOS signaled?
SOS is three short, three long, three short: · · · − − − · · ·. Using standard Morse timing, a dash lasts three dots, the gap inside a letter is one dot, the gap between letters is three dots and the pause before repeating is seven dots. At 8 WPM one dot is 150 ms.
Does leaving the flashlight on drain the battery?
The LED uses noticeably more power than the screen alone, and the camera stays active while the light is on. Use the auto-off timer for long sessions. The LED can also get warm; some phones switch it off automatically when hot or when the battery is low.
Is anything recorded?
No. The camera image is never displayed, saved or uploaded; the page only needs camera access because the LED belongs to the camera.
Are all the tools on FreeToolCabin tested for quality and accuracy?
Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.