Search for a tool
Deranged Alphabet Generator

Tool to generate a scrambled/mixed/deranged alphabet: alphabet which letter order is not classical. Generator with several methods to create such an alphabet (randomizer), usually used for substitution cipher.

Results

Deranged Alphabet Generator -

Tag(s) : Cryptography

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 'Deranged Alphabet Generator' tool for free! Thank you!

Deranged Alphabet Generator

Deranged/mixed Alphabet Generator

Size and Content







Using a Keyword





Special Alphabet


Inverse Alphabet


Find word from keyed alphabet


 

Answers to Questions (FAQ)

What is a deranged alphabet? (Definition)

A disordered alphabet is a mixture of the 26 letters of the Latin alphabet in a different order than the standard alphabetical order, thus creating a new arrangement.

Each letter appears exactly once, and the sequence is therefore a permutation of the letters (A,B,C,…,Z)

ZYXWVUTSRQPONMLKJIHGFEDCBA is a disordered alphabet: it contains all 26 letters but in a different order than ABCDEFGHIJKLMNOPQRSTUVWXYZ.

What is a random alphabet?

A random alphabet is a disordered alphabet generated by a random process.

Every possible permutation of the 26 letters can be chosen with the same probability.

The resulting alphabet follows no particular pattern and is generally difficult to memorize.

What is a reciprocal alphabet?

A reversible (or reciprocal) alphabet is a substitution alphabet with the following property: if a letter A is replaced by X, then the letter X is replaced by A. The transformation is therefore its own inverse.

This type of substitution is called involution.

Example: DCOEABFGHIJKLMNPQRSTUVWXYZ is a reversible alphabet, DCODE is encoded as MNPMQ and MNPMQ is encoded as DCODE.

Some letters may remain unchanged (invariant).

What is an inverse/reciprocal alphabet?

During a mono-alphabetic substitution, a disturbed alphabet makes it possible to carry out a ciphering by substitution.

The reverse alphabet is the disturbed alphabet that it allows to find the original message.

Example: For the alphabet QWERTYUIOPASDFGHJKLZXCVBNM, the reverse alphabet is KXVMCNOPHQRSZYIJADLEGWBUFT.

To generate the reverse alphabet:

— for each letter i of the normal alphabet, note its position j in the disturbed alphabet, and write in the reverse alphabet the letter in position j in the normal alphabet.

Example: A is the 1st letter of the alphabet, A is in position 11 in the deranged alphabet QWERTYUIOPASDFGHJKLZXCVBNM, so the 1st letter of the reverse alphabet is the 11th letter of the normal alphabet: K

What is an alphanumeric alphabet?

An alphanumeric alphabet has 36 characters: 26 letters and 10 digits.

Example: ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789

Why use a key to generate an alphabet?

Using a keyword allows you to generate a messy alphabet that's easy to remember.

The method usually involves writing the keyword, removing repeated letters, and adding the remaining letters of the alphabet in the usual order.

Example: DCOEABFGHIJKLMNPQRSTUVWXYZ is an alphabet generated with the keyword DCODE.

What are the most frequent deranged alphabets?

QWERTYUIOPASDFGHJKLZXCVBNM : QWERTY keyboard

MNBVCXZLKJHGFDSAPOIUYTREWQ : reverse QWERTY keyboard

AZERTYUIOPQSDFGHJKLMWXCVBN : AZERTY keyboard

NBVCXWMLKJHGFDSQPOIUYTREZA : reverse AZERTY keyboard

ZYXWVUTSRQPONMLKJIHGFEDCBA : reverse alphabet

AEIOUYBCDFGHJKLMNPQRSTVWXZ : vowels then consonants

How to use a deranged alphabet to cipher a message?

Choose a method for encryption that accepts a deranged alphabet. dCode has many choices for that, select the right of yours, by default, use mono-alphabetic substitution.

What is the algorithm to generate a disordered alphabet?

A random disordered alphabet can be created by reversing the positions of the letters (Fisher-Yates shuffle):function randomAlphabet() {
alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
derangedAlphabet = alphabet
for (i = 25 ; i > 0 ; i--) {
index = rand(0, i)
swap( derangedAlphabet[i], derangedAlphabet[randomIndex] )
}
return derangedAlphabet
}

The rand(a,b) function picks a random number between a and b

The swap(a,b) function swaps the values of a and b

How many disordered alphabets are there?

The number of disordered alphabets corresponds to the number of permutations of the 26 letters.

It is calculated using the factorial of 26 (written as 26!), which equals 403291461126605635584000000 (a number with 27 digits).

Source code

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

In a scientific article or book, the recommended bibliographic citation is: Deranged Alphabet Generator on dCode.fr [online website], retrieved on 2026-04-05, https://www.dcode.fr/deranged-alphabet-generator

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 'Deranged Alphabet Generator' tool for free! Thank you!


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