Flashlight Tester

Test your device's flashlight with multiple modes and patterns

Permission Required

Camera access needed for flashlight control

Health Warning

Flashing lights may trigger seizures or discomfort in people with photosensitive epilepsy or other light-sensitive conditions.

If you feel unwell, experience dizziness, or discomfort while using flashing modes, please stop immediately.

If you are unsure whether it's safe for you, please do not use the flashing features.

Hardware Torch Mode

Using device flashlight

How to Use

Custom Morse Text

Enter text to flash in morse code

Only letters (a-z, A-Z) and spaces allowed

Go to Morse Code Translator

Flash Modes

  • Turn ON: Keeps flashlight on continuously
  • Turn OFF: Turns off the flashlight
  • Single Flash: One flash for 1.0 seconds
  • Flash Mode: Continuous flashing every 0.5 seconds
  • SOS in morse codeMode: SOS pattern (···---···)
  • Custom Morse: Flash text in Morse code (URL parameter)
  • Stop All: Stops any flashing mode

Controls & Features

  • Screen Flash Area: Visual feedback for all modes
  • Fullscreen Mode: Immersive flash experience
  • URL Parameters: ?text-to-morse=HELLO%20WORLD&repeat=false
  • Escape Key: Exit fullscreen or go to Sunrise/Sunset
  • Android: Uses camera torch API when available
  • iOS/Others: Screen flash fallback mode

Technical Details

SOS Pattern

The SOS pattern follows international Morse code standards:

  • • S: Three short flashes (0.5s each)
  • • O: Three long flashes (1.0s each)
  • • S: Three short flashes (0.5s each)
  • • Pattern repeats with 1.0s pause

Custom Morse Mode

Use URL parameters to auto-start custom text flashing:

  • text-to-morse: HELLO%20WORLD (URL encoded text)
  • repeat: true/false (default: true)
  • • Example: ?text-to-morse=SOS&repeat=false
  • • Supports: a-z, A-Z, and spaces only
  • • Dot: 0.5s flash, Dash: 1.0s flash

Browser Compatibility

Hardware flashlight control requires modern browsers with MediaDevices API and torch support. Fallback screen flash works on all devices.

Performance Notes

Flash intervals of 0.5s and 1.0s are optimized for most Android hardware. Very rapid toggling may trigger hardware protection.

Flashlight Tester Information

What is the flashlight tester tool?

The flashlight tester is a tool to test your device's hardware flashlight (torch) or screen flash with multiple modes including continuous, single flash, SOS patterns, and custom Morse code messaging.

Why does my device use screen flash instead of hardware flashlight?

Screen flash mode activates when your device doesn't support the camera torch API, which is common on iOS devices and some browsers. Android devices with modern browsers typically support hardware torch control.

How do I use the custom Morse code feature?

Enter text (letters and spaces only) in the custom Morse input field. The tool will automatically convert your text to Morse code and flash it. You can also use URL parameters like ?text-to-morse=HELLO to auto-start flashing.

What is the SOS mode pattern?

SOS mode flashes the international Morse code distress signal: three short flashes (S: ···), three long flashes (O: ---), and three short flashes (S: ···). The pattern repeats continuously until stopped.

Is it safe to use flashing modes?

Flashing lights can trigger seizures or discomfort in people with photosensitive epilepsy or light-sensitive conditions. If you experience dizziness, discomfort, or feel unwell, stop using the flashing features immediately.

Why do I need to grant camera permission?

Camera permission is required to access the device's hardware flashlight (torch) through the camera API. Without this permission, the tool falls back to screen flash mode. No photos or videos are captured.