Search for a tool
Flag Semaphore

Tool for encrypting, decrypting and visualizing the semaphore alphabet with interactive table of positions, management of letter/number modes and preview of arm signals.

Results

Flag Semaphore -

Tag(s) : Communication System, Symbol Substitution

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Flag Semaphore' tool for free! Thank you!

Flag Semaphore

Semaphore Decoder



Semaphore Encoder

 



Answers to Questions (FAQ)

What is the semaphore alphabet? (Definition)

The semaphore alphabet is a standardized visual communication code using two flags held at arm's length, whose angular positions represent characters.

It was developed and standardized by navies in the 19th century to transmit messages over long distances between ships or between a ship and the mainland, and it remains recognized as an international convention.

How to encrypt using Semaphore cipher?

Semaphore encoding uses two flags (often the red and yellow Oscar flag, though this is not mandatory) manipulated by a person standing with outstretched arms to maximize the readability of the angles.

Each letter A–Z corresponds to a combination of arm positions.

Achar(65)Bchar(66)Cchar(67)Dchar(68)
Echar(69)Fchar(70)Gchar(71)Hchar(72)
Ichar(73)Jchar(74)Kchar(75)Lchar(76)
Mchar(77)Nchar(78)Ochar(79)Pchar(80)
Qchar(81)Rchar(82)Schar(83)Tchar(84)
Uchar(85)Vchar(86)Wchar(87)Xchar(88)
Ychar(89)Zchar(90)
dCode.fr

Example: 'FLAG' translates to char(70)char(76)char(65)char(71) (front view)

The numbers 1234567890 are encoded using first the Numbers signal (toggle signal), then the letters A through K, which serve as values from 1 to 0; to return to the letters, the user emits the Letters signal.

There are 5 special flags:

char(99) which signals a pause, a space, a rest, sometimes the end of the message

char(97) which indicates a switch from letters to digits

char(74) (=J) that indicates a switch from digits to letters

char(98) which indicates an error or danger (âš )

char(100) which indicates an annulation (ignore/disregard previous signal) (đź—™)

Reference figures are always presented in receive mode: the user sending must imagine the character seen from behind.

How to decrypt Semaphore cipher?

The deciphering process involves comparing the pair of observed angles with the standardized semaphore correspondence table to identify the associated letter.

Example: char(83)char(69)char(77)char(65)char(80)char(72)char(79)char(82)char(69) translates to SEMAPHORE

Be sure to take into account the special signals (Numbers, Letters, Error, Cancel, Space) which modify the interpretation of the following characters.

How to recognize a Semaphore ciphertext?

A semaphore message is identified by a person holding two elongated objects (flags, sticks, lamps) with outstretched arms, oriented at multiples of 45° from the vertical: (0, 45, 90, 135, 180, 225, 270, 315, 360).

Any visual reference to a maritime or nautical context (boats, ships), an aerial context (airplanes, aircraft), scouting, or to places where flags are used constitutes a further clue.

Sometimes the figure and the flags are simplified or removed to focus on the angles; in this case, the symbols resemble clock hands.

What are the variants of the Semaphore flag cipher?

A visual variation involves representing arm positions with clock hands (sometimes called a clock semaphore), where each hand acts as a flag set to hours, half-hours, or quarter-hours.

Some games or puzzles use flags with only two positions to encode Morse code; this is no longer semaphore but a principle similar to wig-wag (binary dot/dash signaling).

The International Code of Signals (CISM) uses colored flags different from semaphore: they encode standardized words or messages, not letters by arm positions.

What are the limits to using the semaphore alphabet?

The semaphore alphabet is limited by visibility (fog, rain, backlighting, night), the distance between transmitter and receiver, and the physical fatigue of the user, who must maintain precise positions.

The data rate remains moderate (a few characters per second at most), making the transmission of very long messages less efficient than radio communication.

A trained operator can transmit approximately 6 to 12 characters per minute depending on the distance, visibility, and complexity of the message.

Before radio, chains of human semaphores were sometimes used during naval exercises to relay a message over several kilometers, with each operator visually reproducing the received signal.

How to learn the semaphore alphabet?

Learning requires memorizing the table of positions and then practicing regularly. The user can practice in front of a mirror, work with a partner alternating sending and receiving, or use a specialized guide presenting combinations and progressive exercises here (affiliate link)

Is the semaphore alphabet still used today?

Despite the widespread use of wireless communications, the semaphore remains employed in specific contexts: naval training, ceremonies, cadet and scout exercises, emergency situations where radio is unavailable, or discreet short-range communications.

When was Semaphore flags alphabet invented?

The two-flag semaphore system spread to navies in the mid-19th century (around the 1860s), mainly from British work, inspired by earlier Chappe-type optical telegraphs.

Source code

dCode retains ownership of the "Flag Semaphore" source code. Any algorithm for the "Flag Semaphore" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Flag Semaphore" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Flag Semaphore" or any other element are not public (except explicit open source licence). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.

Cite dCode

The content of the page "Flag Semaphore" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source (Creative Commons CC-BY free distribution license).

Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).

To cite dCode.fr on another website, use the link: https://www.dcode.fr/semaphore-flag

In a scientific article or book, the recommended bibliographic citation is: Flag Semaphore on dCode.fr [online website], retrieved on 2026-03-25, https://www.dcode.fr/semaphore-flag

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Flag Semaphore' tool for free! Thank you!


https://www.dcode.fr/semaphore-flag
© 2026 dCode — The ultimate collection of tools for games, math, and puzzles.
â–˛  
Feedback