Tool to decipher the windows cipher of Johann Balthasar Friderici, a technique presented as steganographic, using squares of 4 cells, painted black or white boxes, or filled with a point.
Friderici Cipher (Windows) - dCode
Tag(s) : Symbol Substitution, Steganography
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!
Friderici windows, also known as Fensterchiffre, refers to a graphic encryption system presented by Johann B. Friderici in his work Cryptographia (1685). He includes an illustration of a ruined building with 22 windows, each with 4 panes. 
Each window corresponds to a letter of the alphabet, defined by a precise configuration of filled or empty tiles.
The Friderici cipher is a substitution of the letters of the alphabet by a window according to the lookup table:
| A | ![]() | B | ![]() | C | ![]() | D | ![]() | E | ![]() | F | ![]() |
|---|---|---|---|---|---|---|---|---|---|---|---|
| G | ![]() | H | ![]() | I | ![]() | K | ![]() | L | ![]() | M | ![]() |
| N | ![]() | O | ![]() | P | ![]() | Q | ![]() | R | ![]() | S | ![]() |
| T | ![]() | U | ![]() | W | ![]() | X | ![]() | Y | ![]() | Z | ![]() |
| dCode.fr | |||||||||||
Note the absence of the letters J and V which did not exist in the (german) alphabet at the time. The X is absent from the drawing but was proposed by Klaus Schmeh.
To encode a message, associate each letter of the text with the corresponding window according to the graphic alphabet provided by Friderici.
Friderici's deciphering consists of analyzing each window, identifying the configuration of its four panes, and then finding the corresponding letter in the visual alphabet.
Example: The image of the building can be deciphered WIRHABENKEINPULVERMEHR (so wir haben kein pulver mehr that can be translated we have run out of powder)
The message appears as a drawing or a set of square or rectangular symbols composed of four sub-squares (cells). In the original version, each square can take on three visual states: blank/white, hatched/striped/black, or marked with a black dot in the center.
These patterns allow the letters to be encoded. Friderici presents this method as a means of concealment, which leads to its integration into facades, building plans, or architectural illustrations, in order to mask an encrypted message within an innocuous setting.
Johann Balthasar Friderici published the book Cryptographia, oder Geheime Schrifft- und würckliche Correspondentz in 1685.
dCode retains ownership of the "Friderici Cipher (Windows)" source code. Any algorithm for the "Friderici Cipher (Windows)" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Friderici Cipher (Windows)" 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 "Friderici Cipher (Windows)" 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 "Friderici Cipher (Windows)" 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: Friderici Cipher (Windows) on dCode.fr [online website], retrieved on 2026-02-19,