Search for a tool
Navy Signals Code

Tool to decrypt/encrypt with the international maritime/navy signal flags/code automatically to communicate with ships.

Results

Navy Signals Code -

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 'Navy Signals Code' tool for free! Thank you!

Navy Signals Code

Navy Signal Flags Decoder

See also: Flag Semaphore — Morse Code

Navy Flags Encoder

 


See also: Flag Semaphore — Morse Code

Answers to Questions (FAQ)

What is the Nautical Signals Flags alphabet? (Definition)

The International Code of Signals is a standardized system of visual communication used in maritime navigation to transmit messages between ships or between a ship and the shore. It relies primarily on nautical flags, also known as signal flags.

The system allows communication even in the event of radio failure, language barriers, or poor electronic reception.

How to encrypt using Navy Signals cipher?

The International Code of Signals can be used as a substitution cipher: each flag represents a letter of the alphabet or a number from 0 to 9.

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' is coded char(70)char(76)char(65)char(71)

The digits have a different shaped flag:

0char(97)1char(98)2char(99)3char(100)4char(101)
5char(102)6char(103)7char(104)8char(105)9char(106)

Each ship/boat only carries one set of flags, so if a letter is repeated, it cannot be coded. To deal with this eventuality, there are 4 substitution/repetition flags.

char(107) repeat the first flag

char(108) repeat the second flag

char(109) repeat the third flag

char(110) repeats the fourth flag (not used in the official version of the International code)

Example: SOS is translated char(83)char(79)char(107)

How to decrypt Maritime Signals cipher?

Decoding Maritime Signals involves associating each flag with its corresponding letter or number.

Example: char(78)char(65)char(86)char(89) is translated NAVY.

Repeater flags are an exception: they replace a repetition of a previous flag in the same group.

Some groups of flags also have a predefined, complete meaning (an instruction, an emergency, or weather information)

How to recognize Maritime Flag ciphertext?

The ciphered message is made of flags (squared) in basic colors: blue, white, yellow, red, black (no green and no compound colors) offering a large contrast.

Flags used in the navy, do not necessarily mean a distress signal, they can handle a radio problem and help ship navigation.

All references to the navy, naval forces (Royal Navy, US Navy etc.) and boats, lighthouses or distress situation (use of flare, buoy, whistle) in general are clues.

What are the variants of the Maritime alphabet?

The main system used today is the International Code of Signals, adopted worldwide for civil and military navigation.

NATO uses 10 other flags (square format) to encode digits.

0char(48)1char(49)2char(50)3char(51)4char(52)
5char(53)6char(54)7char(55)8char(56)9char(57)
dCode.fr

Why using Maritime Signals Flags?

The Maritime Signal Code allows ships to communicate quickly and in a standardized way, even when radio communications are impossible or disrupted.

Because the flags are visual and internationally standardized, the system remains understandable regardless of the crew's language.

What is the reference book for Maritime Signals?

The French reference codebook is available here

This code contains the rules and detailed descriptions of maritime communication signals, flags and procedures used throughout the world.

Source code

dCode retains ownership of the "Navy Signals Code" source code. Any algorithm for the "Navy Signals Code" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Navy Signals Code" 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 "Navy Signals Code" 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 "Navy Signals Code" 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/maritime-signals-code

In a scientific article or book, the recommended bibliographic citation is: Navy Signals Code on dCode.fr [online website], retrieved on 2026-06-02, https://www.dcode.fr/maritime-signals-code

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 'Navy Signals Code' tool for free! Thank you!


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