Search for a tool
Flag Semaphore

Tool to decrypt/encrypt with semaphore flags. The semaphore alphabet is a visual communication system using hand-held flags by a standing man.

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 visual communication system using 2 flags (or 2 sticks) to transmit messages over a distance. It is/was used by marine sailors to communicate between ships or with the mainland.

How to encrypt using Semaphore cipher?

Semaphore encryption uses 2 flags/flags (or other visual element, generally it is the red and yellow Oscar flag from the Maritime Signals code) handled by a person raising his arms, if possible standing (so as not to hinder the movements of the arms).

Each letter A-Z is represented by a flag, the numbers (1234567890) are represented by the letters from A to K.

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)

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) (🗙)

The flags are presented in the reception mode, the transmitter looks towards the receiver (a person emitting a message will have to imagine the character mirrored).

How to decrypt Semaphore cipher?

Semaphores signals decryption is done by matching the positions of the flags with the letters of the alphabet.

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

How to recognize a Semaphore ciphertext?

The message consists of humanoids with flags (or any other object) presented at the end of a stretched arm with multiple angles of 45 degrees (0, 45, 90, 135, 180, 225, 270, 315, 360).

Any reference to the navy/marine/boats, the aviation/planes, or any places where these flags are used is a clue.

What are the variants of the Semaphore flag cipher?

Clock hands (set to hours, half hours or quarter hours) are a way of hiding semaphores.

Sometimes the flags are used to code Morse, with 2 defined positions corresponding to point and dash.

Maritime signal code uses another principle of flags to encode words.

What are the limits to using the semaphore alphabet?

The semaphore alphabet has several limitations in terms of the speed and accuracy of message transmission. For example, it may be difficult to distinguish the different positions of flags or sticks when visibility is poor, or when the signal is weak. Also, it can be difficult to transmit long or complex messages quickly using the semaphore alphabet.

How to learn the semaphore alphabet?

Learning requires knowing the letters by heart and practicing. If necessary, buy a book or guide that explains the different combinations of positions here (affiliate link)

Is the semaphore alphabet still used today?

Thanks to the advent of wireless technology, the semaphore alphabet is much less used than before, it remains used in certain exceptional situations where it is necessary to communicate remotely without access (or desire to access) to modern communication equipment.

When was Semaphore flags alphabet invented?

The system of flags and the alphabet spread throughout the world in the 19th century.

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 like Creative Commons). 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. 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 2025-04-20, 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
© 2025 dCode — The ultimate collection of tools for games, math, and puzzles.
 
Feedback