Search for a tool
Cardan Grille

Tool to decrypt/encrypt with a cardan grille. The Cardan grille is a mask superimposed to the text that bring up some letters to make a message.

Results

Cardan Grille -

Tag(s) : Substitution Cipher

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 'Cardan Grille' tool for free! Thank you!

Cardan Grille

Cardan Grille Decoder

 




Loading...
(if this message do not disappear, try to refresh this page)

Cardan Grille Encoder

 



Loading...
(if this message do not disappear, try to refresh this page)
See also: Binary Code

Answers to Questions (FAQ)

How to encrypt using Cardan Grille cipher?

Cardan encryption uses another text (understandable or not) of which only a few letters are from the original text.

In practice, Cardan uses a mask, a grille in which some cells are opaque, others empty.

Example: Code DCODE with the mask XXXXXX_XXXXXX_XXX_X_XXXXX_XXXX where X is an opaque cell and _ an empty one.

Superimpose the mask cover, write the text in the empty boxes, remove this cover and fill the rest with random letters.

Example: DCODE is written in empty cells XXXXXXDXXXXXXCXXXOXDXXXXXEXXXX and it is possible to fill with letters like OZPCESDVIDGABCNTEOHDERXJXEMLUE

How to decrypt Cardan Grille cipher?

Cardan decryption requires knowledge of the grille. The decrypted text appears by placing the cover on the text.

Example:

OESDVBCNEOHDEEML
XXX_XX_XX_X_X_XX
XXXDXXCXXOXDXEXX
___D__C__O_D_E__

How to recognize Cardan Grille ciphertext?

The encrypted message is very long compared to original plain text.

Cardinal Richelieu encrypted his messages in the same way, but the ciphertext took the classical form of a common text. The secret message consisted of only a few of the letters of the message that were revealed with the cache. Any reference to Cardinal Richelieu can be a clue.

How to decipher Cardan Grille without the grille?

The decryption without grille is very difficult, one should try all the grids.

Using a probable word, it is possible to estimate the coverage mask and know the amount of letters to ignore.

Why the Cardan name?

Cardan is the name of Jérome Cardan (Gerolamo Cardano) its italian creator.

Source code

dCode retains ownership of the "Cardan Grille" source code. Any algorithm for the "Cardan Grille" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Cardan Grille" 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 "Cardan Grille" 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 "Cardan Grille" 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/cardan-grille
In a scientific article or book, the recommended bibliographic citation is: Cardan Grille on dCode.fr [online website], retrieved on 2025-04-16, https://www.dcode.fr/cardan-grille

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 'Cardan Grille' tool for free! Thank you!


https://www.dcode.fr/cardan-grille
© 2025 dCode — The ultimate collection of tools for games, math, and puzzles.
 
Feedback