Search for a tool
K6 Code

Tool to encode/decode using the Cassis code (K6). K6 is a substitution cipher whose principle is indicated by its name: associating the letter K with the digit 6. K6 is also a phonetic abbreviation of the French word 'cassis'.

Results

K6 Code -

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

K6 Code

K6 Decoder

 

K6 Encoder

 







Answers to Questions (FAQ)

What is the K6 cipher? (Definition)

The K6 cipher is a variant of the A1Z26 alphabetical rank cipher. Instead of associating A=1, the code uses K=6, then assigns increasing values to the following letters: L=7, M=8, etc. The numbering continues cyclically, with Z=21, A=22, etc., up to J=5.

How to encode using the K6 cipher?

The K6 cipher assigns a numerical value to each letter, with 'K=6, L=7, M=8', etc. Numbers can be separated by slashes, spaces, or another separator.

Example: DCODE is encoded as 25/24/10/25/26

How to decrypt the K6 cipher?

K6 decryption consists of assigning a letter to each number using the inverse of the encoding mapping. The mapping must be known, including the values assigned to letters other than K=6: 'L=7, M=8', etc.

Example: 25/24/10/25/26 decodes to DCODE

How to recognize K6 ciphertext?

A message encoded with K6 generally consists of numbers between 1 and 26. Under the convention described here, the number 26 represents the letter E. The presence of numbers in this range can be a clue, but is not sufficient on its own to identify the cipher.

References to the French town of Cassis, blackcurrants, or the K6 mountain peak may also provide clues, depending on the context.

What are the variants of the K6 cipher?

If K=6 remains fixed, the way numerical values are assigned to the other 25 letters can vary. Numbering can be increasing (J=5, K=6, L=7) or decreasing (J=7, K=6, L=5). Other variants may use negative values or perform calculations modulo 26, depending on the chosen convention.

Can the K6 cipher encode spaces and punctuation?

The K6 mapping described here applies to letters of the alphabet. Spaces, digits, and punctuation require an additional convention: they can be preserved in the message, removed, or represented by separators or specific values.

Source code

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

In a scientific article or book, the recommended bibliographic citation is: K6 Code on dCode.fr [online website], retrieved on 2026-11-16, https://www.dcode.fr/k6-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 'K6 Code' tool for free! Thank you!


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