DevTools Logo

Flashlight & Signal Beacon

Flashlight & Signal Beacon

Use a supported phone LED or a bright full-screen fallback with dimming, blink patterns and Morse signals

Light control

Off

Ready

Off

Light source

Phone LED

The browser may ask for camera access because the standard web torch API uses the rear camera track. The camera preview is never shown or uploaded.

Screen fallback

Works without camera permission and can be dimmed. Use it as a screen lamp, not as a replacement for a safety-rated torch.

Brightness & signal

Steady light stays on.

Morse alphabet signals

Timing

A dot is one unit, a dash is three units. Gaps follow standard Morse timing. The signal repeats while the flashlight is on.

About this tool

Flashlight & Signal Beacon turns a supported phone camera LED into a steady or patterned light, with a bright full-screen fallback when the browser cannot access a torch. It can dim the screen fallback, blink slowly or quickly, repeat SOS, and transmit a short Morse message.

The phone LED path may request camera permission because the standard web torch technique controls the rear camera track. No camera preview is shown and no camera frames are uploaded; the screen mode works without camera permission.

This is a convenience light, not a safety-rated torch. Keep the device charged, avoid staring into the LED, and use the screen fallback only where its lower brightness is sufficient.

How to use this tool

  1. Choose a light source

    Leave Auto selected to try the phone LED first, choose Phone camera LED explicitly, or choose Full-screen light to avoid camera permission.

  2. Set brightness and pattern

    For screen light, set brightness from 5% to 100%. Choose steady, slow blink, fast blink, SOS or Morse; LED brightness control is unavailable while the torch is active.

  3. Turn the light on

    Press Turn on flashlight and grant camera access only if you selected the phone LED path. The panel reports whether LED or screen light is active.

  4. Send a Morse message

    Enter A–Z, numbers and basic punctuation, choose Send Morse message, then turn the light on. Dots, dashes and gaps repeat until you turn the light off.

Use cases

Finding items in low light

Use the phone LED for a quick close-range light, or dim the full-screen fallback when camera permission is unavailable.

Visual device signaling

Repeat a blink pattern or SOS while testing a visual signal workflow between nearby devices.

Short-range Morse signaling

Transmit a concise pre-agreed message with standard dot, dash and gap timing.

Permission fallback testing

Exercise a light-control experience that gracefully switches from camera LED to a screen-based source.

Common mistakes

Mistake:Expecting the browser to expose a universal torch API.

Fix:Use Auto or Screen mode when the device/browser does not support torch constraints; the fallback needs no camera permission.

Mistake:Assuming screen brightness equals LED brightness.

Fix:Treat screen mode as a lower-power convenience light and use a proper torch for safety-critical illumination.

Mistake:Leaving the light or repeating signal running.

Fix:Press Turn off when finished; blinking, SOS and Morse continue until stopped.

Mistake:Entering unsupported Morse characters.

Fix:Keep the message to A–Z, numbers and the basic punctuation listed by the control; unsupported characters are ignored or omitted.

Frequently asked questions

Does the phone LED require camera permission?

Usually. The browser controls the rear camera track to access the torch, so the LED path may request camera permission. No preview is shown and camera frames are not uploaded.

What can I do if the LED is unavailable?

Choose Auto to fall back automatically or select Full-screen light directly. Screen mode works without camera permission and supports dimming and repeating patterns.

How does Morse signaling work?

Enter supported A–Z, numbers and basic punctuation, then send the message. Dots, dashes and standard gaps repeat while the flashlight is on; press Turn off to stop.