Great Ciphers of Napoleon's Grande Armée

French codes having an extensive vocabulary are called grands chiffres (great ciphers), as opposed to petits chiffres (small ciphers) having only a couple of hundred entries. Great ciphers date back to the age of Louis XIV (see another article). The present author partially reconstructed some great ciphers based on published materials. The present article describes various codes and ciphers during the Napoleonic age including these.

Table of Contents:

A Great Cipher in the Archives

Great Ciphers for Diplomatic Correspondence

"Great Paris Cipher" (1812-1813)

Napoleon-Maret Code during the Russian Campaign (1812)

Napoleon-Berthier Code (December 1812)

Empress Marie-Louise (1813)

Replacement of Codes in 1813

Great Ciphers of Marshal Davout (1813)

Last Days (1814)

The Hundred Days (1815)

References and Links

A Great Cipher in the Archives

Vilcoq (1969) reproduces part of an original great cipher under the First Empire preserved in the archives. It is an encoding table (arranged alphabetically) of a two-part code of 1200 entries.

Homonymous Entries

It has a feature typical in French ciphers: a code number may represent variant forms. For example, an entry "ecrit,s,e,s,re ... 37" means that the figure "37" may be used to represent various forms of the verb ecrire (write) including "ecrit", "ecrits", "ecrite", "ecrites", "ecris", "ecrire". An entry "differ,e,nt,s,es,ce,s ... 14" encompasses "differ", "differe", "different", "differents", "differentes", "difference", "differences." Such alternatives are not always grammatically or etymologically related. An entry "ave,c,z ... 558, 469, 295" encompasses a syllable ave as well as words avec (with) and avez ("have", second-person plural). Similarly for "dan,s,t ... 371, 583" and "don,t,c ... 54, 909". An entry "fa,brique,cant 513" means the figure may represent not only words "fabrique", "fabricant" but also a syllable "fa" (see an example for a small cipher in another article).

While le and les as well as de and des have separate entries, "il,s" covers both il and ils. There is no entry for "mes". Unexpectedly, "et" has no entry, while "" is given three figures. Possibly, an entry "ete ou t" covers "et".

As for the irregular verb avoir, the entry "avoi,r,s,t" encompasses the infinitive as well as avois [avais], avoit [avait] (not avoient, at least in the table), which may also be used as endings. There are separate entries for "ave,c,z" encompassing avez and "ayant", not to speak of syllable-like "a","ai,t", "as", "on", "eu,x", but not future aurai, auras, etc. and other complex forms. As for faire, there is a separate entry "fait, s, e, s" encompassing fait, faits, faite, faites as well as one for the infinitive. Such particular knowledge would be helpful in reconstructing other French ciphers.

Word Groups

Groups "il y a" and "de la" have their own entries.


As was still typical then, "i" and "j" as well as "u" and "v" were written differently but were not treated as different letters of the alphabet. So, entries "au,x", "avan, t, ce", "aucun, s, e, s", "ave,c,z", "augment,e,ation,s", "avoi,r,s,t", "aussi" come in this order. The entry "J" is followed by "ja", j'aye", "ici", "idee,s", "je", .... Of these, "je" would have also been used for "ie" (see below).


Although it is not known specifically when and where this code was used, its vocabulary seems to include many words related to Mediterranean trade: "Adriatique", "Cap Finistere", "Constant,inople", "Levant", "car,gaison,s", "Chambre du comce", "barque,s", "Batiment,s", "Chebeck,s", "galere,s". Such particularity is not seen among military terms such as "Amiral,aux,te", "artillerie", "bataille,s,on,s", "bombarde,r,ment", "canon,s." Entries "Barbar,ie,esque,s", "Corsaire,s", "kam des Tartares" may be inherited from much older codes but "Etas unies de l'Am [illegible but apparently not erique]" indicates this code does not date earlier than the 1780s. The entry "Aix La Chapelle, Tte de" may give a further clue to the field of usage of this code.

Three Great Ciphers with 1200 Entries

Tant provides pdf of three great ciphers with 1200 entries from unknown periods (code inconnu 1, code inconnu 2, code inconnu 3) (The first and the second have an extensive gap, which may be an omission of some pages in the transcription. For example, the first lacks an entry for the letters P and S.). Of these, internal evidence indicates at least the second and the third belong to the First Empire. (Bessières and Bernadote became marshals of France (Wikipedia) in 1804. The title "Le Prince de PONTE CORVO" was created in 1806 (Wikipedia).)

As with the above, these three codes also include entries reminiscent of older ages. Some entries are similar to the code of the same size (1200) which formed the basis of the Great Paris Cipher below.

The first has many figures (10, 19, 48, 96, 112, 123, 716, 778, 796, 806, 831, 872, 882, 903, 910, 967, 985, 1022, 1031, 1033, 1053, 1128, 1163, 1166) for "nulle". It also has 755 for "annullant le precedent" and 1189 for "annullant chiffre compris entre".

The second has 29, 69, 83, 87 as "nulle" and 1002 for "annulle le precedent."

The third has 235 for "annullent le precedent." (Although there is no significant gap, there seem to be no nulls.)

Great Ciphers for Diplomatic Correspondence

Diplomatic correspondence is the foremost in requiring protection of secure codes/ciphers. It is known that a great cipher of 3500 entries was used with Vienna in 1807 and one of 3000 was used with Rome in 1808 (Vilcoq). Laforest, French ambassador in Madrid, also appears to have had a great cipher in 1809 (see below).

While great ciphers appear to have been in common use among diplomats, the army was slow to adopt great ciphers.

A Simple Cipher of Eugène de Beauharnais and General Grammont (1809)

A simple substitution cipher of Eugène de Beauharnais and General Grammont (1809) is given by Tant (pdf). It assigns each letter one or two figures, letters, or other symbols.

An Unidentified Code

A code of about 600 entries (code numbers up to 576 for alphabetically arranged syllables and words (multiple readings) and numbers 592-611 for single letters) is given by Tant (pdf). Another pdf provides a small fragment of this cipher but has additional entries: 616 (albanie), 617 (albanais), 618 (adriatique), 619 (brindisi), 620 (barlette), 621 (bari), 622 (butrinto).

Entries 1-17 are for names (or titles) such as:

5: S?M. le Roi de Naples [Napoleon's brother Josseph was made King of Naples in 1806; Marshal Murat was made King of Naples in 1808]

6: Le Vice Roi [Eugène de Beauharnais was made Voiceroy of Italy in 1805]

7: Ministre Directeur de l'adm[inistration] de la Guerre (Wikipedia)

8: Ministre des finances de Naples [post occubied by Pierre-Louis Roederer (Wikipedia) from 1808-1810]

9: Ministre du tresor public d'Italie (Wikipedia)

10: General Grenier (Wikipedia)

11: General Ottavi

12: General Decour

16: Ali Pacha (Wikipedia) [who allied with Napoleon but changed sides to ally with Britain in 1807]

17: General Marmont

"Great Paris Cipher" (1812-1813)

A great cipher of 1400 entries was used by King Joseph in 1812-1813 during the Peninsular Campaign. The code was broken by a British officer George Scovell and was called "Great Paris Cipher" by Wellington (Urban p.173). The feat is described in Urban (2001) and Oman (1914).

Low-level Codes/Ciphers

King Joseph, Napoleon's elder brother, and his generals did not employ ciphers, still less extensive great ciphers, for several years after Joseph was set up on the Spanish throne in August 1808 (Urban p.68-69).

It was in April 1811 that the first enciphered French dispatch fell in the hands of the British under Wellington. The cipher was of the simplest kind: a monoalphabetic substitution that represented letters of the alphabet by symbols ("A" by ".", "B" by "1", ..., "x" by "+", "y" by "-", z by "="). It was decoded within the day. (Urban p.97)

Marshal Marmont, who assumed command of the (French) Army of Portugal in the Peninsula in May 1811, used a code of 150 entries with the six divisional commanders. It assigned several code numbers to frequent letters (e.g., nine for "e"). Letters "u" and "v" were not distinguished, as was still common at the time. In one portion of a dispatch captured in August or September, 131 out of the 711 code numbers stood for "e" but use of nine different figures must have made it less salient than in a simple substitution cipher. Scovell, who was appointed in August to superintend all the communications of the army (Urban p.102), could decipher it owing to the careless use of the code in mixing plaintext words here and there in the encoded text (Urban p.117-119). Although the French took care to update the code, at least three different versions were broken (Urban p.323).

Colonel Jardet's report to Marmont in early 1812 was also broken, which included a passage as follows:

il 20<e>14<s>59<->29<t> la 36<c>49<->1<a>12<u>63<->14<s>17<e> de 6<l>28<a> 27<p>30<r>31<i>21<s>17<e> 41<d>40<e> 30<R>49<->10<o>41<d>39<r>31<i>43<g>10<o>
(the present author's identification from the English translation of Urban p.148-149; word breaks are not in the original).

A reconstructed key of this cipher is preserved with a deciphered letter of Marmont dated 6 March 1812 in the Spanish archives (PARES (ES.28079.AHN//DIVERSOS-COLECCIONES,133,N.29)), as I found years after first posting this article. Its deciphering table shows that the assignment was derived from a key phrase "a tous les coeurs biennes que la patrie est chere".

Even after a great cipher was introduced, a simpler code was still used lower in the hierarchy. When Colonel Lucotte wrote to Madrid on his way back from Paris on 16 March 1813, he used a cipher consisting of arbitrary symbols. Though it was not the simplest substitution cipher but "its encoding table involved lines of letters that would suggest the next few substitutions", Scovell solved it in 6 hours (Urban p.282).

When Cassan, commander of the garrison of Pampelona under siege (Wikipedia), wrote to Marshal Soult in 1813, the number of figures was not much over 60. There were six figures for "e", four for "a" and "i", three for "t", "s", "n", etc. The following is an example of its usage.

47<d>50<e>40<p>41<u>14<i>26<s> 58<l>24<e> 3<c>51<o>10<m>36<m>44<e>23<n>17<c>24<e>10<m>50<e>53<n>27<t> 47<d>46<u> 11<b>18<l>39<o>17<c>46<u>21<s>

This particular letter was decoded in a few hours owing to the lucky guess on the initial words: "10(M)45(o)23(n)21(s)16(i)2(e)41(u)25(r) 5(l)24(e) 10(M)4(a)25(r)24(e)3(c)9(h)8(a)5(l)", which was confirmed by two-letter words such as "23(n)24(e)" and "10(m)2(e)" (Oman).

Joseph's Lost Cipher

Napoleon did provide Joseph with a cipher when the latter had been made King of Spain in August 1808.

I have told Maret to send you a cipher for secret correspondence.
Napoleon to Joseph, Bordeaux, 3 August 1808 (The confidential correspondence of Napoleon Bonaparte with his brother Joseph, vol.1, No.416)

I will write to you more at length when I know that you have received your cipher.
Napoleon to Joseph, Rochefort, 6 August 1808 (vol.1, No.418)

I believe I have a cipher for corresponding with you when you have anything very important to say; at any rate, you have that of Laforest.
Napoleon to Joseph, Valladolid, 15 January 1809 (when the Emperor is returning from Spain to Paris) (vol.2, p.31, No.494)

Maret is the person who was to provide King Joseph with the Great Paris Cipher in 1811, when he was a foreign minister (April 1811 to November 1813). Laforest was French ambassador in Madrid and must have had an extensive diplomatic cipher. Even if the code was indeed provided at this time, it appears to have just gone into oblivion.

Introduction of Great Paris Cipher

King Joseph did not like marshals reporting directly to Napoleon and, in May 1811, personally urged his brother that he also receive those reports. It was arranged that he would be given information, if nothing else. This led to introduction of a great cipher for enhanced security (Urban p.111-113). In July, the code was supposed to be distributed to people concerned.

Vous devrez, monsieur le marechal, avoir un chiffre avec le roi, le duc de Dalmatie [i.e., Soult, commander of the Army of the South] et le general Dorsenne [commander of the Army of the North] pour les dépêches importantes.
Berthier to Marmont, 10 July 1811 (Memoires du Marechal Marmont, duc de Raguse (Complete), vols. 7-9 (Gutenberg)

However, when Berthier, Napoleon's Chief of Staff, used it in a dispatch of 12 July 1811 to King Joseph, the key was not at his court. Joseph asked the ambassador Laforest with no avail.

Je reçois la lettre chiffrée avec le chiffre de M. le duc de Bassano [i.e., Maret], en date du 12 juillet. Votre Altesse sera instruite, par M. le comte de Laforest, des raisons qui font que ce chiffre ne se trouve plus dans ses mains; ainsi je me vois privé de la connaissance de cette lettre, que je dois supposer importante.
J'envoie cette nouvelle par un courrier qui, je crois, rejoindra l'estafette. Je prie Votre Altesse de me faire connaitre le contenu de cette dépêche par une autre expédition dans le chiffre actuel de l'ambassadeur de France, et de m'en envoyer un qui soit particulier entre nous.
Joseph to Berthier, Madrid, 27 July 1811 (Du Casse, Joseph)

Joseph even sent copies to Marmont and Soult on 10 August to seek help (Du Casse, Joseph, vol.7-8, p.58). In the meantime, correspondence continued to be carried on without being encoded. It was only in late 1811 that King Joseph received the Great Cipher from the cabinet of Foreign Minister Maret (Urban p.112-113, 136).

Great Paris Cipher

The Great Paris Cipher was a two-part code, which assigns code numbers to words etc. out of alphabetical order and thus requires separate tables for encoding and decoding. Its size of 1200 entries was soon enlarged to 1400. (One of the first captured dispatches in this code dated 16 April 1812 already used high numbers such as "1238 [que]", "1207 [Berthier]", "1264 [the Emperor]", "1328 [Joseph]", "1327 [Army of the South]", "1333 [Army of Portugal]" (Urban p.174, 188).) However, such ad hoc addition resulted in concentration of terms peculiar to the Peninsular Campaign in the addenda: "1201 Malaga", "1202 Valladolid", "1279 Talavera", "1280 Soult", "1265/1345 cavalerie", "1282 division(s)." On the other hand, there is a term "837 Crimea", which would be of little use in Iberia. This was because the code was modelled after a diplomatic code made in the 1750s. (Urban p.176, 137)

Images of the original of the Great Paris Cipher (designated B No30) preserved in the archives of the French army (SHD) is presented on Jean-François BOUCHAUDY's Crypto page.

An example of a passage in this code reads as follows.

Le roi après m'avoir donné l'ordre 1060(de) 462(faire) 810(par)195(tir) 1034(deux) 1282(divisions) 971(et) 216(plus) 13(de) 192(la) 614(moi)20(ti)90(é) 92(de la) 1265(cavalerie) 582(dis)637(po)851(ni)809(ble), 388(et) 177(avoir) 669(ré)112(du)923(it) 2(à) 786(douze) 692(mille) 1102(hommes) le nombre de troupes que j'ai disponible m'ordonne 13(de) 1040(chercher) 1003(à) 370(pren)860(dre) 400(Ciudad Rodrigo) 817(lors) 69(que) 862(je) 718(ne) 1100(ai) 423(pas) 815(un) 591(canon) 710(de) 850(siège)!
Marmont to Berthier, 22 April 1812 (Oman)

Distribution of Great Paris Cipher

Users of the Great Paris Cipher include King Joseph, Marmont (commander of the Army of Portugal), Soult (commander of the Army of the South), Dorsenne (commander of the Army of the North), Suchet (commander of the Army of Catalonia), Jourdan (Joseph's adviser), Napoleon, Berthier (Chief of Staff), Clarke (Minister of War in Paris) (Urban p.267, 345, etc.). Clarke became Joseph's new contact and was given the Great Paris Cipher when Napoleon took Maret and Berthier to the Russian Campaign.

P.S. Noubliez pas de lui [Clarke] remettre tous les chiffres; il serait pourtant bon d'en garder une copie, en cas que quelque lettre du Roi nous arrivait a l'armée.
Napoleon to Berthier, 4 May 1812 (Correspondance (1868), vol.23)


Clarke's dispatch to General Caffarelli in Spain dated 19 October 1812 also used the Great Paris Cipher (I learned of it at Cipherbrain). Karsten Hansky acquired it at an auction and described it in "A dispatch from the French Minister of War Clarke to General Caffarelli, the commander of the Northern Army in Spain, from the year 1812" (17.06.2021) (pdf), according to which the cipher is preserved as code table #24 in the archives of the SHD (Service Historique de la Défense) in Vincenne (SHD box 1M-2352).

The marginal note (beginning with "Les parties de cette lettre qui sont chiffrées peuvent etre traduites comme il suite avec la Table C D no.29.") also includes coded message, which appears to be a transcoding of the ciphertext in the dispatch in another code (#29).

From the range of numbers, the code #29 appears to have about the same size as #24, but the number of codegroups is different (that is, there is no one-to-one correspondence between the code groups.)

280.597.914.544.1096.637.173.330.413.656 (#24)
704.703.1194.828.177.393.919.481.116 (#29)
(2) (#24)
633.936.865.1032.474.517.256 (#29)
1383.906.670.701.323.761.289.168.718.694 (#24)
481.1056.547.27.657.457.678.742.273.551.432.733 (#29)

Replacement of Great Paris Cipher

Despite the much larger vocabulary compared to the low-level codes, the careless use in mixing plaintext words in the encoded message still allowed the British officer George Scovell to gradually identify code groups of the Great Paris Cipher (Urban, Chapters 11-12). In the summer of 1812, he could read intercepted letters fairly well (Urban p.206-210 ff.). The information allowed Wellington to ascertain the French dispositions and to choose the right moment to take a strategic movement. When Wellington beat the French at the Battle of Vitoria on 21 June 1813, King Joseph's copy of the Great Paris Cipher was captured (Urban p.297).

Ironically, the capture of the original code meant a loss of the advantage for the British, who had been reading the most secret messages of the French highest command for many months without their adversary noticing it. Now, King Joseph reported the loss of the Great Paris Cipher.

My papers were mislaid on the 21st; the portefueille bearing the cipher was lost. It may be that it has fallen into the hands of the enemy. You will doubtless think it prudent, Monsieur le duc, to order the creation and dispatch of a new cipher.
Joseph to Clarke, 27 June 1813 (English translation from Urban p.297)

Early in July, an intercepted letter from Clarke to Suchet, who had the Great Paris Cipher, used a different code.

The King judged it expedient to abandon his first line of defense and to move to 730 140 377 1007 406 19 484 520 684 219 241 315 73 775
(English translation from Urban p.298)

The few materials captured did not allow Scovell to break the new great cipher. For once, Wellington was misinformed and was surprised by attacks from unexpected directions. The British were forced to retire to the north of Pampelona in late July (Strawson, The Duke and the Emperor (Japanese edition), p.240-241). But it was only a temporary setback. The last French strongholds in the Peninsula, San Sebastian and Pampelona, were taken by the end of the campaign.

Napoleon-Maret Code during the Russian Campaign (1812)

Correspondance vol.12 (2012) provides invaluable materials in its appendix "La correspondance en chiffre, Les lettres à Maret en 1812". It provides Napoleon's letters to Maret from 18 November 1812 to 1 December 1812 in both code and plaintext. The volume also includes images of original manuscripts (apparently, encoding sheets). With these materials, the present author partially reconstructed the code with entries up to 3525.

The Code

Although the encoded text has a code number as large as "3525 on/ons/ont", the code numbers greater than 1200 are extremely biased in its distribution (numbers in 1240-1350, 1370-1470, 1520-1630, etc. do not appear in these letters). So, most of the high numbers may have been blank.

The vocabulary includes letters, syllables, and words/names, of which frequently used ones are given multiple figures. For example, "et" may be represented by "181", "613", "1084", "1509", or "2375". The word "artillerie" could be encoded as: "687(ar)1782(ti)372(l)700(l)2671(er)449(ie)" or

This code lacks basic military terms such as "artillerie", "chevaux", "brigade", and "division" (it seems improbable that the encoder chose to take pains in spelling these words if they had their own code numbers defined in the code), though there are 681(infanterie) and 630(cavalerie).

Compared with the Great Paris Cipher, the code used by Napoleon's letters had, despite having much higher numbers, a striking weakness in that the arrangement of entries is not completely random. The partial (blockwise) regularity can be seen in code numbers such as 151(peu), 153(pi), 154(pla); 441(un), 442(deux), 443(trois), 444(quatre), 445(cinq); and 1162(dou), 1164(dra), 1165(dre(s)). In view of the absence of such regularity above 1200, the portion above 1200 or 1300 may have been an addenda (as was the case for the Great Paris Cipher).

(Actually, such a regularity was helpful in reconstructing the code. When "988.447" is identified as "froid", there still remain several possibilities in division such as 988(fr)447(oid), 988(fro)447(id), 988(froid)447(-), etc. The regularity in the arrangement allows a safe guess of 988(fro)447(id).)

As with other French codes, the same code number may represent variant forms. Thus, 220 may represent "donner", "donnez", "donne"; 1145 may represent "tout", "toute", "tous"; and 1232 may represent "envoyer", "envois", "envoyez." More confusing may be variants in syllables: "653" and "3525" appear to represent either "on", "ons", or "ont" and "52" appears to represent either "dans" or "dant." (The latter is consistent with an entry of the great cipher for Mediterranean commerce noted above, which, however, has separate entries for "on", "ons", and "ont.")

As was common at the time, "i" and "j" as well as "u" and "v" are not distinguished. Thus, "je" (the first person pronoun) and syllable "ie" as in "artillerie" are both encoded as "449" and "587 ur/vr" may be used in words such as "rigoureux", "autour", and "vivres." "W", which is not used in French but is used in Foreign names such as Abramowicz or Wrede, was also represented by the same code with "v".

Partial encoding is sometimes used to give a delusively bright outlook for the French: "L'armée est nombreuse, mais débandée d'une manière affreuse" (in which the underlined words are not encoded) (p.1404-1405). Such a practice has been pointed out by Urban (2001) (p.210 etc.) and others.

Clerical Details

This section notes some minor details about Napoleon's (or his aide's) encoding printed in Correspondance (2012).

The encoder is supposed to encode the text other than the underlined portions in the manuscript. But "le prince Schwarzenberg" is encoded as "738" (p.1398). (While this per se may be nothing of note, it seems strange that "738" is written under "le"; "1194" for "?" is written under "prince"; and "Schwarzenberg" is underlined as if not encoded. There are many other instances in which code numbers are not aligned with plaintext.)

What may look like "1040" in the manuscript should be "1041" (eux) in "rigoureux" (p.1398).

The word "cette", though underlined, is encoded as "540" (fourth line, p.1399).

The number "585" should be "595" (qui) in "inquieter" (p.1399).

The number "591" should be "595" (qui) in "ce qui lui ..." (p.1399).

The number "12", though the underline stops short of this word, is omitted in encoding (p.1399).

What may look like "540" in the manuscript should be "541" (en) in "enlevent" (p.1399).

What may look like "3720" and "[4491]" in the manuscript should be "372" (l) and "449" (ie) in "artillerie."

The word "et", though underlined, is encoded as "1084" (p.1399).

The word "generale", though not underlined, is omitted in encoding (p.1400).

The word "sur" in "sur Minsk", though not underlined, is omitted in encoding (p.1401).

What may look like "813" in the manuscript should be "823" (nt) in "pont" (p.1401).

The uncertain number "[1030]", which should correspond to "reçu", may be "1080", which occur three times in other instances. (p.1402)

The phrase "beaucoup de glaces", though underlined, is encoded (p.1402).

The number "1012" should be "2012" (la) in "la stabilite" (p.1402).

The number "120" should be "1200" (v) for "f" in "Brisof" (p.1402).

The phrase "à Vilna", though not underlined, is omitted in encoding (p.1403).

The phrase "construire en", though not underlined, is omitted in encoding (p.1404). (For this particular case, blank below these words may indicate that these words are not encoded, as with the words "assurer les ponts et en" in the preceding words)

The number "105" should be "1005" (ces) (fourth line, p.1405).

The number "690 armée", which is not in the plaintext, is inserted before "masse" (1405).

The phrase "en les faisant partir a jour nomme", though not underlined, is omitted in encoding (p.1406).

The word "isolés", though underlined, is encoded as "803(is) 1152(ol) 859(es)" (p.1406).

What may look like "782" in the manuscript should be "1782" (ti) in "fatigues" (p.1406).

The word "peuvent", though (faintly) underlined, is encoded as "151(peu) 3130(ve) 3370(nt)" (p.1406).

The number "219" should be "2019" (est) (first line, p.1407).

The phrase "Voilà 45 jours" seems to be encoded as "3521(v) 625(oi) 2012(la) 899(quarant) 445(cinq) 835(jours)", as partially suggested by the editor (p.1407). (The intention of the line through "3521.625.2012.899" or under "Voilà 45 jours" is not clear.)

What may look like "1191" in the manuscript should be "1190" (y) (p.1408).

The number "5560" is a transcription error for "556" (mi) in "Ochmiana" (p.1409).


Apparently, Napoleon did not have to personally rely on the code early in the campaign. Late in August 1812, he was yet to establish a cipher with Foreign Minister Maret.

Je charge Meneval de s'entendre avec vous pour être sûr que nous avons un chiffre.
Napoleon to Maret, 27 August 1812 (Correspondence (2012), 31621)

Here, Méneval was Napoleon's most trusted secretary. As of 1806, he was the only secretary who could enter the Emperor's office and had the keys to the secret drawers and the emperor's portfolios, though he had many vice-secretary under him in later years. (; Wikipédia; cf. Meneval, History of Napoleon I, vol.3 p.38-39) Many letters signed by Napoleon were actually in his hand (Correspondance générale vol.5 (2008), "Claude-François Méneval, Secrétaire de Napoléon, Une Biographie" p.956).

Foreign Minister Maret resided in Vilna during the campaign. Vilna (now Vilnius, capital of Lithuania) was the French rear base (where the headquarters of Czar Alexander had been located a few days before the French entered the city). Napoleon lingered in Vilna from 28 June to 16 July and he set up a provisional government of Lithuania under control of the French Foreign Minister. The Grande Armée kept contact with the rest of Europe through Vilna. (The Period of French Rule in Vilnius; Meneval, History of Napoleon I, vol.3, p.35-36)

Shortly after Napoleon entered Moscow on 14 September, he received a dispatch in code from Maret but he did not have the code.

vous m'écrivez en chiffre, et je n'ai point de chiffre, ce qui me met fort en peine, parce que je ne sais pas si ce que vous m'écrivez est pressant.
Napoleon to Maret, Moscow, 18 September 1812 (Correspondance (2012), p.1101)

This must have added to the Emperor's irritation after the fire of Moscow that raged to that very day (18 September). If it was Méneval rather than Maret that prepared the code (which may explain its weakness as compared with the Great Paris Cipher, which was furnished by Maret), there was nothing to blame Maret for and the Emperor could not simply locate the code in the confusion of the fire. Indeed, when the fire had been threatening to surround the Kremlin and cut him off from the corps outside the city, he had had to temporarily evacuate the palace and spend two days at Petrowskoi (Meneval, History of Napoleon I, vol.3, p.61-62). As far as can be known from Correspondance (2012), Napoleon's dispatch includes only one short note for the Empress (about the grandeur of Moscow) on the 16th and none on the 17th.)

By mid-October, the Emperor or his staff received (or just found) the code. On 15 October, regarding an envoy who had come all the way from King Joseph in Spain to Vilna, the Emperor told Maret to report the content of his mission in cipher (Correspondance (2012) no.31906; Tajan catalogue p.23, No.64).

Joseph had fallen out with Marshal Soult and demanded his recall (Urban Chapter 16, esp. p.255-256; Joseph's letter is in Du Casse, Joseph, vol.9-10, p.86). Napoleon dictated his reply to Joseph in his letter to General Clarke, Minister of War in Paris, dated 19 October 1812 (Correspondance (2012), p.1206). The present author confirmed the code used in this letter is the same as the above code used between Napoleon and Maret. One passage reads as follows:

856 <vous> 932 <sentez> 310 <que> 131 <eloigné> 1777 <comme> 449 <je> 807 <suis> 2670 <Je> 1355 <ne> 1044 <peux> 392 <rien> 1045 <faire> 15 <pour> 652 <les> 103 <affaires> 1029 <d> 177 <Espagne> 352 <.>
(Vous sentez que eloigné comme je suis, je ne peux rien faire pour les affaires d'Espagne.)

King Joseph's plea came at a most inopportune moment for the Emperor, who was just about to abandon Moscow. On the same day (19 October), Napoleon wrote to Maret that he would decide the next day to blow up the Kremlin and make a decision on the route of retreat (Correspondance vol.24 (1868) p.276). He had already arranged a code for Marshal Mortier, duc de Trévise (Wikipédia), who was to remain in Moscow to camouflage the Emperor's intention but was secretly instructed to blow up the Kremlin.

Ayez soin de donner au duc de Trévise [i.e., Mortier] un chiffre, afin que la correspondance avec lui puisse être libre et sûre.
Napoleon to Berthier, 18 October 1812 (Correspondance (2012), 31933, Correspondance (1868) no.19285)
Demandez un chiffre ce soir au major general [i.e., Berthier] pour pouvoir correspondre facilement et surement.
Ne nous ecrivez jamais qu'en chiffre pour les choses importantes.
Napoleon to Mortier, 18 October 1812 (Correspondance (2012) no.31941, Correspondance (1868), no.19286)

Napoleon's letter to Maret (then in Vilna, not in Paris), dated 20 October 1812, which notified the minister of his decisions, attracted much attention in the bicentenary year of the fatal campaign by fetching a huge sum in an auction. The letter itself had been known from catalogues of earlier auctions and substantially the whole text had been printed in Correspondance (2012), p.1210 and other sources (e.g., Tajan catalogue p.24, No.65). The present author confirmed the code used in this letter is the same as the above.

449 <je> 514 <fais> 451 <s> 1365 <a> 1200 <u> 2729 <ter> 3011 <le> 163 <K> 3446 <r> 132 <em> 1073 <li> 1514 <n>
(Je fais sauter le Kremlin. [I am going to blow up the Kremlin.])

The French army did blow up the Kremlin but the rain reduced much of its effects (Wikipedia).

Other Possible Users

During the Russian Campaign, Savary, Minister of Police since the disgrace of Fouché, had a cipher with Napoleon as well as with Maret (Correspondance (2012) no.32021, 32062), which may have been the same as the above.

Napoleon-Berthier Code (December 1812)

The retreat of the Grande Armée was calamitous because of the bitter cold and persistent attacks by the Russians. In November, the baggage of Marshal Davout, tasked to support the rear-guard of Ney after leaving Smolensk, was seized at Krasnoie (Nicolson p.238). (Urban found Berthier's instructions for use of a great cipher in the Russian State Military Historical Archive in Moscow but apparently not the code itself (Urban p.324).) At Orcha, Napoleon ordered burning of secret papers in the hands of Meneval as well as almost all his carriages and baggage (Meneval, History of Napoleon I, vol.3, p.83).

After the crossing of the Berezina, the Emperor left the remnant of the Grande Armée on 5 December to get back to Paris on the 18th. (One of the first despatches of Napoleon on his return, dated 19 December 1812, was to give direction to assure the vice-reine [spouse of Eugène de Beauharnais] by (optical) telegraph of his arrival and her husband's safety.)

A letter in code from Berthier (then in Koenigsberg, where the remnants of the Grande Armée were headquartered at the time) to Napoleon dated 22 December 1812 appears to use a great cipher of about 1200 entries different from the above.

While the message itself is wholly in code, it bears a note: "Duplicata, Chiffre du Prince de Neufchâtel, La Primata a été déchiffrée." From this, it appears to indicate that Napoleon had Berthier's code apart from the one he used with Maret, not that this was a replacement of the latter. This may be the predecessor of the "code of the Chief of Staff" noted below.

918 1045 1100 493 359 989 1105 73 710 432 118 718 544 810 1060 1135 1122 173 666 862 718 772 493 359 701 13 572 544 432 413 960 112 43 989 821 791 1030 811 999 1153 820 918 1045 1100 415 1048 623 236 559 854 946 851 168 854 1148 236 602 13 782 844 1238 656 69 823 803 741 536 280 669 1051 215 314 498 434 402 1193 238 1178 10 711 1100 1109 504 463 73 793 388 703 43 13 821 791 2 1135 1122 1087 566 476 982 853 354 289 13 741 536 1063 710 1388 889 410 443 994 ....
Berthier to Napoleon, 22 December 1812 (Vilcoq)

This may correspond to "votre note chifrée", which is acknowledged, together with Berthier's letter of the 21st, in Napoleon's letter to Berthier dated 30 December 1812.

Empress Marie-Louise (1813)

In the spring of 1813, when the Emperor was going on a German campaign, Empress Marie-Louise was appointed nominal regent and it was decreed that she might use the code of the Foreign Minister, which may have been the same as the above or its update.

Si des circonstances étaient telles qu'il y eût quelque crainte à concevoir pour la sûreté des dépêches, ou que l'Impératrice-régente voulût nous entretenir d'une affaire très-secrète, elle pourra faire usage du chiffre des Relations extérieures.
Ordre de Service, Au palais de Saint-Cloud, 14 April 1813 (Méneval (1843) p.405)

Napoleon used it at least in September in conveying a speech the Empress should give at the Senate.

Madame et chère amie, vous irez présider le Sénat, vous y tiendrez le discours suivant....
P.-S. Le discours ayant dû être chiffré, le duc de Bassano [Maret] le fera déchiffrer et l'enverra à l'archichancelier qui vous le remettra.
Napoleon to Marie-Louise, 27 September 1813 (Méneval (1894) p.162)

(By the way, the word chiffre (cipher) can also mean a symbol made of interwoven initials. As an example, here is a cipher of Marie-Antoinette. So when Napoleon wrote to his wife "Il faut avoir des bagues avec ton chiffre." (Correspondance (2012) no.30901, 12 June 1812), it had nothing to do with cryptography. So did the "snuff-box ornamented with her cipher in diamonds" that Mèneval was given by Marie-Louise when he left her in May 1815 in Vienna (Meneval, History of Napoleon I, vol.3, p.441).)

Replacement of Codes in 1813

From late February to early March 1813, Napoleon gave directions for replacement of codes. Although Bazeries deplores that it is too late to arrange for ciphers at the beginning of a campaign (Bazeries (1896), p.19), it may have been necessitated by change of the military situation.

Defection of Prussia

Once across the Niemen into the Prussian territory, the French army on a way back from Moscow was relieved of the Russian pursuit for a time (Nicolson p.290). But the Prussian detachment, isolated at the rear of the Grande Armée, made a settlement with the Russians and General Yorck declared neutrality on 30 December 1812 (Wikipedia). In defiance of the King of Prussia, East Prussia was stirred against Napoleon (Paret p.343-345). At the end of January, the Prussian court removed from Berlin under French rule to Breslau in Silesia (Paret p.345, Wikipedia). Prussia secretly entered into formal alliance with Russia on 28 February 1813 (Wikipedia).

In the meantime, the French army had been pressed by the Russians. In mid-January, after crossing the Vistula, Commander Murat, King of Naples, returned to Italy, leaving Prince Eugène (Eugène de Beauharnais, vice-roy of Italy) in command in Posen (now Poznań), which town he had to give up in mid-February. In late February, Cossack patrol appeared even near Berlin. (Correspondance, vol.24, p.587, 605) On 26 February, Napoleon's distrust of the Prussians, which had been aroused by their inaction earlier in the month, led him to order to disarm them if Spandau, an important place to defend Berlin, were to be invested by the Russians (Correspondance, vol.24 p.634, 633). In the end, Berlin had to be abandoned early in March. Defection of Prussia was finalized by their declaration of war against France on 17 March 1813, right after Czar Alexander appeared at the court of the King of Prussia in Breslau.

Replacement of Code in the Spring of 1813

It was in such a background that Napoleon gave directions to replace code. Although there is not conclusive evidence, he may have considered "all the ciphers of the army" were compromised because of the change of allegiance.

Si vous devez écrire en chiffre, vous pouvez vous servir du chiffre du secrétaire d'ambassade qui est resté à Berlin. Il est bien nécessaire que vous renouveliez tous les chiffres de l'armée.
Napoleon to Eugène de Beauharnais (in Shoenberg), Paris, 27 February 1813

While waiting for replacement code, Napoleon told General Lauriston, then at Magdeburg, which was still safe for the French, to inform vice-roy Eugène in code if he had one with the vice-roy (2 March 1813) and asked if he had a code that the Emperor might use in case the communication route with Magdeburg is threatened by the enemy (6 March 1813). The latter shows that Napoleon considered encoding necessary only when the line of communication was threatened.

Mon Fils, j'ai fait connaître général Lauriston mon intention sur les mouvements à faire en cas que l'ennemi se portât en force sur Dresde, et sur la ligne d'opération à prendre. Je vous l'écrirai demain en détail, parce que j'attends un chiffre pour cela.
Napoleon to Eugène de Beauharnais (in Shoenberg), Paris, 2 March 1813
N'ayant pas de chiffre en ce moment, je n'ose pas écrire ces dispositions au vice-roi [Eugène de Beauharnais], puisque les Cosaques pourraient intercepter ma lettre....
Si vous avez un chiffre avec le vice-roi, faites-lui connaitre ....
Napoleon to General Lauriston (commanding at Magdeburg), Paris, 2 March 1813
Faites-moi connaître si vous avez un chiffre afin que je puisse m'en servir pour correspondre avec vous si les partisans ennemis menaçaient d'intercepter les routes.
Napoleon to General Lauriston (commanding at Magdeburg), Paris, 6 March 1812

Upon this occasion, Napoleon appears to have made two kinds of (great?) ciphers: a code of the Chief of Staff with commanders and another between the Emperor and the commanders.

Rendez vous auprès du prince de Neuchâtel [Berthier] pour prendre des renseignements sur les chiffres qui existaient à la dernière campagne et savoir si le vice-roi [Eugène de Beauharnais] en a un. Comme je crains que l'ennemi n'ait ces chiffres, je désire les changer. Vous me ferez un rapport là-dessus. Je désirerais avoir deux espèces de chiffres: un chiffre de l'État-Major de l'Armée avec les différents commandants des corps; un chiffre de moi avec les commandants de l'armée pendant le temps que je suis absent.
Vous m'apporterez le chiffre qu'aura le vice-roi puisqu'on sera obligé de chiffrer beaucoup à cause des Cosaques.
Napoleon to Colonel Bernard, his aide, Paris, 2 March 1813

Spring Campaign of 1813 and Summer Truce

Despite the disaster in 1812, Napoleon was still more than a match for the allied forces of Russia and Prussia. He won the Battle of Lützen and the Battle of Bautzen in May, though the victories were not as complete as could have been. A truce was agreed, not out of a sincere desire of peace but in order to gain time on either side. By the expiry of the armistice on 10 August, the allies succeeded in persuading the Austrian Emperor, who declared war on France on 12 August (Nicolson p.309, Takagi p.218). During the armistice, Napoleon had to change the arrangement of his troops because he knew Austria had to be considered an enemy (Wikipedia).

Replacement of Code in August 1813

In late August, Napoleon gave alert that the code of the Chief of Staff [Berthier] with the commanders of the army might be in the hands of the enemy. Considering that Napoleon does not appear to have had concern on 12-13 August about the "Code of the Chief of Staff" shared by Oudinot, Davout, General Lemarois [i.e., governor of Magdeburg], General Lapoype, General Durosnel, and the governor of Torgau (Correspondance, vol.26, no.20340, 20352, 20365, 20374), the cause of the replacement would not have been the defection of Austria, which could have been foreseen before that.

Right after beginning to move on 20 August, Napoleon had to stop to immediately despatch several officers because the bearer who carried a cipher to one of his marshals had been taken prisoner (Odeleben, vol.1, p.263-264).

Vous savez que le chiffre du major général avec les commandants d'armée a été pris; ainsi il ne faut plus s'en servir. Envoyez au général Lemarois et au prince d'Eckmühl [i.e., Davout] un autre chiffre que j'aie.
Napoleon to Maret (in Dresden), Goerlitz, 20 August 1813 (Correspondance vol.26 (1868), no.20427)

Mon fils, on a lieu de craindre que le chiffre du major général avec les commandants d'armée ne soit entre les mains de l'ennemi. Évitez de vous servir de ce chiffre. Ceci n'a rien de commun avec le chiffre particulier que vous a porté dans le temps le général Flahaut, mon aide de camp, pour votre correspondance particulière avec moi.
Napoleon to Eugene, 20 August 1813 (Du Casse, Eugene, vol.9, p.242)

The code given to Davout and Lemarois at this time is probably the code prepared in the spring for use between Napoleon and commanders (as opposed to the code of the Chief of Staff with commanders made at the same time). It probably corresponds to the great cipher used by Davout and Napoleon in November-December 1813 as well as by Oudinot (see below). Prince Eugène had a particular code to be used with the Emperor (which is mentioned as early as 15 April 1813 (Du Casse, Eugene, vol.9)) and thus was simply told not to use the compromised code.

It appears "the small cipher of the army", separate from the "code of the Chief of Staff with the commanders of the army" above, was also replaced at this time.

Donnez au duc de Tarente [i.e., Macdonald] le petit chiffre, pour remplacer le chiffre qui probablement a été pris. Comme ce chiffre est facile a copier, le duc de Tarente l'enverra aux généraux commandant les corps sous ses ordres.
Napoleon to Berthier (in Loewenberg), Loewenberg, 23 August 1813 (Correspondance vol.26 (1868), no.20443)

Il [General Marchand] doit avoir le petit chiffre de l'armée; il m'écrira en chiffre, vu qu'il est important que les Cosaques ne surprennent aucun renseignement. Il doit avoir aussi le petit chiffre du maréchal Macdonald.
Napoleon to Berthier (in Bautzen), Bautzen, 6 September 1813 (Correspondance vol.26 (1868), no.20525)

The latter quotation indicates Macdonald had a small cipher separate from "the small cipher of the army."

The compromised (small?) cipher of the army had also been used between King Jerome of Westphalia and the Emperor. But Jerome appears to have had a diplomatic great cipher and Napoleon asked Foreign Minister Maret to write to him in code.

Faites passer la lettre ci-jointe au roi de Westphalie. Vous sentez combien il importe que votre dépêche ne soit point interceptée. Vous écrirez en chiffre à mon ministre, et vous ferez chiffrer la lettre au Roi, que je n'ai pu faire chiffrer parce qu'il est à craindre que le chiffre de l'armée soit entre les mains de l'ennemi.
Napoleon to Maret (in Dresden), Goerlitz, 24 August 1813 (Correspondance vol.26 (1868), no.20455)

Use of Small Ciphers in October-December 1813

After making these arrangements for security of correspondence, Napoleon had a limited victory at the Battle of Dresden on 26-27 August but after the defeat of Oudinot, who failed in taking Berlin, Napoleon had to withdraw across the Elbe between late September and early October (Wikipedia).

The following letters, with one immediately before the decisive Battle of Leipzig, indicate small ciphers (which would have been similar to the one with the commander at Danzig (see another article)) were commonly used in the field.

Il est convenable que vous écriviez sur-le-champ en chiffre au maréchal Saint-Cyr, pour lui faire connaître ces dispositions. Vous les ferez connaître egalement au commandant d'Erfurt, en vous servant du petit chiffre de l'armée; il vaut mieux ne rien écrire que d'écrire sans chiffre, vu que pour trois jours c'est le grand secret de l'armée, et, si l'ennemi parvenait à le savoir, j'en éprouverais le plus grand dommage.
... je suppose que vous avez un chiffre avec lui [Rumigny].
Vous enverrez, par des courriers et par des gens du pays, ces nouvelles à Dresde. Écrivez-les aussi en chiffre aux relations extérieures à Paris, afin qu'on ne s'étonne pas de tout ce que publiera l'ennemi, et qu'on sache que c'est un mouvement combiné de ma part pour amener l'ennemi à une bataille et à quelque chose de décisif. Écrivez aussi à Narbonne [governor of Torgau], et toujours en chiffre.
Écrivez en chiffre au roi de Naples et au général Lauriston qu'à tout événement, s'ils évacuent Leipzig, leur retraite doit être sur Torgau et Wittenberg....
Napoleon to Maret (in Wurzen), Duben, 10 October 1813 (Correspondance vol.26 (1868), no.20746)
Ayez un petit chiffre comme celui qu'on avait à l'armée pour correspondre avec le commandant de Strasbourg et avec ceux de toutes nos places. Envoyez-le aux commandants de Belfort, de Blamont et de Besançon.
Napoleon to Clarke (in Paris), Paris, 26 December 1813 (Correspondance vol.26 (1868), no.21044)

The loss in the Battle of Leipzig on 16-19 October forced the French army to retreat across the Rhine in November. On 11 November, the French army in Dresden surrendered (Takagi p.219-220). Danzig under General Rapp surrendered on 17 November (see another article; General Rapp's letter in cipher dated in 4 August 1813, found in Dresden, uses the same cipher (posted on Klaus Schmeh's facebook and solved instantly by Geoge Lasry without relying on the known cipher).). Marshal Davout in Hamburg was now isolated.

A Small Cipher at the time of the Battle of the Nations (October 1813)

A small cipher (code numbers up to 284) of marshals of Npoleon at the time of the Battle of Nations (October 1813) is given by Tant (pdf). Fragments of this cipher is also given in other pdf, pdf. This may correspond to one of the ciphers mentioned in the above.

Entries up to 177 are mainly for letters, syllables, and numerals. Entries 210-284 list place names.

Great Ciphers of Marshal Davout (1813)

Bazeries (1896) prints some cipher letters to and from Marshal Davout (Duke of Auerstaedt, Prince of Eckmühl). Since the codes which he must have reconstructed are not in print, the present author re-reconstructed these and confirmed different great ciphers were used in May and November-December 1813.

Great Cipher 34 for Berthier, Davout, and Oudinot (May 1813)

Instructions from Napoleon's Chief of Staff Berthier (Prince of Wagram, Prince of Neuchâtel) to Davout dated 7 May 1813 (Bazeries (1896), p.23 ff.) use a great cipher, with entries up to at least "1197 ver".

It is similar to the Great Paris Cipher and does not show regularity as in the Napoleon-Maret code above. The word "et" is given numbers 197, 413, 534, and 821.

Davout had to report on 11 May that he could not decipher the instructions with any of the keys he had (ibid. p.31). The cipher arrived a few hours after he dispatched the report. Considering that Napoleon had asked Berthier about a cipher with Davout on 16 March (Correspondance (2012), no.30231), the delay seems to indicate a serious problem in handling of codes in the French army.

In the report, Davout explains the ciphers he had at the time were: (i) a cipher he made before the last campaign, which he used for correspondence with l'Oden [the Oder?] and Danzig when he had been in Hamburg and (ii) a cipher he made in Thorn for correspondence with governors, of which he gave a copy to the vice-roy [of Italy, Eugène de Beauharnais].

The present author confirmed the cipher used in Berthier's instructions to Davout is the same as the "grand chiffre 34" used in a letter of Marshal Oudinot (Duke of Reggio) (Bazeries (1896), p.19 ff.).


Great Cipher for Napoleon and Davout (November-December 1813)

Three letters from Davout to Napoleon dated 14 November, 19 November, and 1 December 1813 (Bazeries (1896), p.37 ff.) use a different great cipher, with entries up to at least "1200 me". Use of this great cipher (in the archives) started on 23 August (Bazeries (1896) p.14) and this must be the one given to Davout in August (see above). These letters were written soon after Davout evacuated, on 13 November 1813, Ratzebourg to fall back to Hamburg, which he did not surrender until after the fall of Napoleon in April 1814.

This code assigns figures 10, 18, 834, and 1128 to "et".

The present author confirmed it is the same as the great cipher used in an unsigned letter printed in Bazeries (1901), p.165.

1140(l'Empereur) 1135(est) 638(encore) 261(cette) 912(nu)893(i)1117(t) 625(a) 488(Du)1013(b)597(en)

Napoleon was in Düben on 10-14 October 1813 so the timing coincides with Davout's use of this code.

Correspondence in the Clear

Davout did not use any code in his letter of 4 December because he believed the defection of the King of Bavaria (on 8 October 1813 (Wikipedia)) must have compromised the code.

Je n'écris pas en chiffre parce que celui que j'ai doit être connu de l'ennemi, puisque le roi de Bavière l'avait. Je me servirai à l'avenir d'un chiffre marqué C.N.N. qui servait à l'ambassadeur de Votre Majesté à Stockholm.
Davout to Napoleon, 4 December 1813 (Bazeries (1896), p.50)

The King of Bavaria had said to Prince Eugène, his son-in-law, that he returned the code without making a copy in a letter explaining his change of allegiance.

J'ai, comme bien vous pouvez croire, fait rendre le chiffre de l'armée au ministre de France, sans en prendre copie.
King of Bavaria to Prince Eugène, 8 October 1813 (Du Casse, Eugene).

His chivalry might have been true but Davout might have been right in acting on the assumption that the code had been compromised.

Last Days (1814)

In November 1813, Foreign Minister Maret was replaced by Caulaincourt but remained with the Emperor as a secretary (Wikipedia). Caulaincourt had been a contact with foreign courts and was considered to be more suitable to peace talks (Takagi p.229-236), which, however, did not begin until February 1814.

In January 1814, Joseph Bonaparte, ousted from the Spanish throne in 1813, was named Lieutenant General of the Emperor and was entrusted with defense of Paris. Napoleon repeatedly wrote about security of correspondence. (Again, these show that Napoleon was forced to use cipher because of the military situation threatening his lines of communication.)

As your courier may be captured, write in cipher,....
Napoleon to Joseph, Arcis-sur-Aube, 27 February 1814 (The confidential correspondence of Napoleon Bonaparte with his brother Joseph, vol.2, no.863)

Desire the Ministers of War and of Police [i.e., Clarke and Savary] to say nothing which is unnecessary, and to write the important parts in cipher, until I have re-established the communication through Nogent.
Napoleon to Joseph, Epernay, 17 March 1814 (no.895)

At one time, after a military setback in February, Napoleon allowed Maret and Berthier to write instructions authorizing Caulaincourt to make substantial concessions. However, his subsequent local victories over the allies made him change his mind (Takagi p.252-257; Meneval, History of Napoleon I, vol.3 p.169).

Despite Napoleon's precaution, the allies obtained intelligence from captured letters on some occasions. Napoleon's letter to the Empress of 23 March, notifying his intentions to march to Saint-Dizier behind the Austrians to cut the enemy's line of communication, was captured by the Cossacks. On the other hand, captured letters to the Emperor from the Empress and Savary revealed that Paris had no means of defense; anti-Napoleon sentiment was growing; and people were disturbed by the news that Bordeaux welcomed a Bourbon prince (the Duke of Angoulême), who entered the city with Wellington from the Spanish front. Based on the intelligence, the allied forces determined to march on Paris, with a detachment of cavalry dealing with the Emperor. Napoleon found it only on the 27th from captured letters and confession of a captured Russian trooper. (It is unknown to the present author whether these letters captured on either side were not encoded.) But it was an encoded letter from Minister of Posts Lavalette, who was his confidant and handled censorship to watch royalist activities, that made Napoleon decide to return to Paris. (Takagi p.277-278; Meneval, History of Napoleon I, vol.3, p.189, 190)

The Emperor's decision was too late. In the evening of the 28th, the council under Joseph decided to remove the court to Blois. The Empress, Joseph, and ministers (except for Talleyrand) left Paris on 29-30 March. On the 30th, Marshal Marmont, commanding the last army between the capital and the allied forces, agreed to ceasefire. On the 31st, the allies entered Paris. (Takagi p.279-292)

At Fontainebleau, Napoleon tried to stage a counterattack but finally agreed to abdicate on 6 April (Takagi p.308-323).

Exchanges in the meantime show that ciphers were forgotten in these last minutes.

I do not know whether the Minister of War has his cipher.
Napoleon to Joseph, Fontainebleau, 2 April 1814 (The confidential correspondence of Napoleon Bonaparte with his brother Joseph, vol.2, no.913)

The Minister of War has no cipher with your Majesty, nor have I.
Joseph to Napoleon, Blois, 3 April 1814 (no.915)

(It had been arranged to burn the most important papers but the order was only partially fulfilled (Meneval, History of Napoleon I, vol.3, p.198-199). At least, Meneval kept his cipher and received a ciphered letter dicated by the Emperor on 8 April (Meneval, History of Napoleon I, vol.3, p.231-232).)


Specific nature of the code used by Napoleon during the Russian Campaign in 1812 as well as ones used in 1813 is revealed.

Napoleon was aware of the importance of information security. However, he was inclined to think code/cipher was required only when line of communication was threatened by the enemy. Combined with his often optimistic outlook on the situation, it meant arrangement for codes and ciphers was made in the last minute. Further research is desired as to specific timing and cause of replacement of codes.

The Hundred Days (1815)

Enciphered Proclamation from Elba

Some contemporary publications say Napoleon used a Porta-like polyalphabetic cipher in a proclamation to the army in preparing for his comeback from Elba. See another article.

Codes in the Archives

A code "F 18" used by Napoleon's troops during the Hundred Days was found by Jean-François Bouchaudy in the archives of the French army (SHD - 1M 2352 - MEMOIRE DE CORRESPONDANCE REPUBLIQUE ET EMPIRE DOCUMENT GENERAUX CHIFFRES DE CORRESPONDANCE) and is described on his website. This particular copy belonged to General Thouvenot, commander in Bayonne (Wikipedia).

It is a two-part code consisting of two sheets for encoding (marked "C") and decoding (marked "D") and contains 1200 elements for letters, syllables, endings ("ition", ...), words and place names, and punctuation marks. High-frequency elements have several numbers assigned to them ("du": 241, 407, 960, 1150; "cet, te": 247, 968, 1175).

Cancellation symbols are provided (one to delete the preceding group; one to cancel the current line; one to cancel the rest of the line and the rest of the page; and a pair to cancel the groups between them). Many groups are defined to indicate the end of the message.

The code comes with instructions for using the codebook.

References and Links

Memoirs and Correspondence

Correspondance de Napoléon Ier; publiée par ordre de l'empereur Napoléon III, vol.23 (1868) [12 November 1811- ], vol.24 (1868) [1 July 1812- ], vol.25 (1868) [1 March 1813- ], vol.26 (1868) [1 August 1813- ], vol.27 (1869) [1 January 1814- ] (Internet Archive)

Correspondance generale de Napoleon Bonaparte, Tome 12: 1812 - La campagne de Russie (2012)

Du Casse (ed.), Mémoires et correspondance politique et militaire du prince Eugène, Vol.9 (1860) (Internet Archive)

Du Casse (ed.), Mémoires et correspondance politique et militaire du roi Joseph, Vols.7-8 (1854), Vols.9-10 (1854) (Internet Archive)

The confidential correspondence of Napoleon Bonaparte with his brother Joseph (vol.1, vol.2)

Memoires du Marechal Marmont, duc de Raguse (Complete), vols. 7-9 (Gutenberg) (HathiTrust)

Méneval, Napoléon et Marie-Louise: souvenirs historiques de M. le baron Méneval, vol.1 (1843) (Google)

Méneval, Mémoires pour servir à l'histoire de Napoléon Ier depuis 1802 jusqu'à 1815 vol.3 (1894) (Google)

Méneval, Memoirs to serve for the history of Napoleon I; from 1802 to 1805 (1895, London) (vol.1, vol.2, vol.3) (Internet Archive)

Baron von Odeleben (Lieutenant-Colonel of Royal Saxon Cavalry, Adjutant on the General Staff), A circumstantial narrative of the campaign in Saxony, in the year 1813 (1820) vol.1 (Google), vol.2 (Internet Archive) (HathiTrust) ... circumstantial description of Napoleon's dictating on vol.1, p.147-149, 198, etc.

The Online Books Page ... links to further sources

Great Paris Cipher

Mark Urban, The Man Who Broke Napoleon's Codes (2001)

Charles Oman, A History of the Peninsular War, Volume V (1914) (Internet Archive), Appendix XV, "The Scovell Ciphers", pp.611-618

The Great Paris Cipher; General George Scovell (1774-1861) (UK National Archives)

Cipher Inventory

Daniel Tant, "inventaire des messages codés, cryptés ou chiffrés dans les services d'archives français" (online, accessed on 8 January 2018) provides several Napoleonic codes/ciphers in pdf, references to which I included in the above. Note that "Code napoléonien III" should belong to the age of Napoleon III (see another article).


J. Vilcoq, "Le Chiffre sous le Premier Empire", Revue Historique de L'Armée No.4 (1969)

Etienne Bazeries, Les <<Chiffres>> de Napoleon Ier (1896)

Etienne Bazeries, Les Chiffres Secrets Dévoilés (1901)


Nigel Nicolson (1985), Napoleon 1812 (Japanese translation by Shirasu Hideko)

Peter Paret (1985), Clausewitz and the State (Japanese translation by Shirasu Hideko)

Takagi Yoshio (1997), Napoleon and Talleyrand (in Japanese), vol.2

Links related to the letter: "I am going to blow up the Kremlin"

Tajan (catalogue before 2012)

65 NAPOLEON Ier (the 2012 Osenat auction catalogue)

Napoleon's secret coded Kremlin letter on sale (Yahoo! News)

'I am going to blow up the Kremlin': Napoleon's secret coded letter on sale (NBC News)

'I am going to blow up the Kremlin': Encoded letter from Napoleon sold at auction (The Independent)

Secret code letter by Napoleon boasting forces would blow up Moscow's Kremlin sold at auction for £152,000 (Mail Online)


Museum buys Napoleon coded letter on blowing up the Kremlin (The History Blog)

Napoléon: 'Je fais sauter le Kremlin' (dailymotion video)

©2015 S.Tomokiyo
First posted on 4 June 2015. Last modified on 24 September 2023.
Cryptiana: Articles on Historical Cryptography
inserted by FC2 system