Tool to encode/decode with clocks (Clock cipher) by associating to times, letters of the alphabet or numbers.
Clock Cipher - dCode
Tag(s) : Symbol Substitution
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!
A clock cipher is the name given to any type of encryption/code that associates the positions of the hands of an analog clock with letters of the alphabet.
A standard clock divided into 15-minute increments has 48 distinct positions (12 hours and 4 possible positions for the minutes: 00, 15, 30, 45). Since the Latin alphabet contains 26 letters, there are more positions than symbols to encode, and there is no standard correspondence between time and letters.
Clock code encoding involves associating a letter of the alphabet with a specific clock hand configuration.
To encode a message, the user must define a table that maps letters to times. Several methods are possible, for example:
Example: 00:00 = A, 01:00 = B, …, 11:00 = 'L, 00:30 = M, … 11:30 = X
Example: 01:00 = A, 02:00 = B, …, 11:00 = 'L, 00:30 = L, … 11:30 = W
Example: 00:00 = A, 00:15 = B, 00:30 = C, …
Example: 00:15 = A, 00:30 = B, 00:45 = C, …
The coded message is then represented in the form of needle clocks.
Often, it is not the absolute time that is important, but the position of the hands because 00:00 and 12:00 correspond to the same display.
Decoding the clock code involves finding the letters associated with the hand configurations.
This operation requires knowledge of the lookup table used during encoding.
dCode automatically tests different correspondences (brute force). This approach consists of trying several plausible mappings between times and letters, then selecting the results that form a coherent text.
A message using the clock code is generally recognizable by the presence of representations of analog clocks or schedules or any notion of time.
The characteristic clues are:
— drawings of clocks with two hands or times written in the format hh:mm
— values often limited to multiples of 15 minutes (ending in 00, 15, 30, or 45)
dCode retains ownership of the "Clock Cipher" source code. Any algorithm for the "Clock Cipher" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Clock Cipher" 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 "Clock Cipher" 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.
The content of the page "Clock Cipher" 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:
In a scientific article or book, the recommended bibliographic citation is: Clock Cipher on dCode.fr [online website], retrieved on 2026-04-20,