Skip to content
All projects

Lighthouse Simulator

A lamp that blinks like a real lighthouse, decoded from the short code that describes its pattern. Search about 59,000 real lights from official lists.

Not for navigation. Check official publications before making decisions.

Open the simulator

Free to use. No sign-up.

What it does

Lighthouse Simulator turns a lighthouse’s light code into a lamp you can watch. Every lighthouse has a light characteristic: the shorthand code for its pattern, such as Fl(2) W 15s.

Fl
Flashing: short flashes with longer dark gaps.
(2)
A group of two flashes before each pause.
W
The color of the light. W is white.
15s
The period: the time one full cycle takes, 15 seconds.

So Fl(2) W 15s means two white flashes, then a dark pause, repeating every 15 seconds.

Type a code

Enter a pattern and the lamp blinks it right away. Each pattern and each light has its own link you can share.

Search real lights

Look up any of about 59,000 lights from the U.S. Coast Guard Light List and the NGA List of Lights. NGA is the National Geospatial-Intelligence Agency. Both lists were retrieved on October 28, 2026.

Who it’s for

  • Hobby model builderswho want a model lighthouse to flash the way the real one does.
  • Sailing-course and exam-practice appsthat need to show what a light code looks like when it runs.
  • Educatorsexplaining how light codes work, with the pattern in front of the class.

The problem behind the lamp.

Light codes are public, but they are not tidy. Public sources spell them three different ways, and the real data contains typos. The U.S. Coast Guard and NGA lists also use different formats.

Before a single light could show correctly, I had to write a parser and merge the two lists. A parser is code that reads text and works out what it means.

59,000 lights across two official lists that use different formats.

What I decided, and why.

A free tool with no server

It has no runtime dependencies, which means no outside code has to load while it runs. With no server of its own, there is nothing to maintain or break.

Timings are flagged “typical” unless the source gives them

The period is exact. Flash lengths are typical unless the record gives explicit timing. I chose a clearly labeled default over leaving the lamp dark, and the label keeps the lamp from presenting a standard length as if the record had stated it.

Fast flashing is slowed by default

Lights that flash faster than three times a second are slowed down. A checkbox shows them at real speed, and it resets each time you pick another light. Rapid flashing can be a problem for people who are sensitive to it, so it never starts at full speed unasked.

No analytics and no cookies

The simulator does not need to know anything about its visitors to do its job, so it does not collect anything.

Every answer says “Not for navigation”

The data comes from official lists, but the simulator is not an official publication. The notice keeps that clear on every result.

What I gave up, and why.

No live data. The simulator works from two lists saved at one point in time, so every record shows its retrieval date. A change made to a light after that date will not appear. In return, the simulator has no server of its own to run.

Try it

The simulator lives on its own page. Start with Fl(2) W 15s, then search for a light by name or place.

Developers can also build the same light data into their own apps. It is free, with no sign-up, and it can look up a light's pattern, search by name or find lights near a place.

Feedback

Found a wrong pattern, or have an idea? Tell me. The link fills in the project for you.

Say hello. If you share an interest or have a question about a project, I’d enjoy hearing from you.