History of the Arabic alphabet


The history of the Arabic alphabet concerns the origins and the evolution of the Arabic script. It is thought that the Arabic alphabet is a derivative of the Nabataean variation of the Aramaic alphabet, which descended from the Phoenician alphabet, which, among others, gave rise to the Hebrew alphabet and the Greek alphabet.

Origins

The Arabic alphabet evolved either from the Nabataean,
or directly from the Syriac.
The table below shows changes undergone by the shapes of the letters from the Aramaic original to the Nabataean and Syriac forms. The Arabic script shown is that of post-Classical and Modern Arabic -- notably different from 6th century Arabic script.
It seems that the Nabataean alphabet became the Arabic alphabet thus:
The first recorded text in the Arabic alphabet was written in 512. It is a trilingual dedication in Greek, Syriac and Arabic found at Zabad in Syria. The version of the Arabic alphabet used includes only 22 letters, of which only 15 are different, being used to note 28 phonemes:
Many thousands of pre-Classical Arabic inscriptions are attested, in alphabets borrowed from Epigraphic South Arabian alphabets :
Below are descriptions of inscriptions found in the Arabic alphabet, and the inscriptions found in the Nabataean alphabet that show the beginnings of Arabic-like features.
Cursive Nabataean writing changed into Arabic writing, likeliest between the dates of the an-Namāra inscription and the Jabal Ramm inscription. Most writing would have been on perishable materials, such as papyrus. As it was cursive, it was liable to change. The epigraphic record is extremely sparse, with only five certainly pre-Islamic Arabic inscriptions surviving, though some others may be pre-Islamic.

Phonemes / letters inventory

The Nabataean alphabet was designed to write 22 phonemes, but Arabic has 28 phonemes; thus, when used to write the Arabic language, 6 of its letters must each represent two phonemes:
In the cases marked %, the choice was influenced by etymology, as common Semitic kh and gh became Hebrew ħ and ayin respectively.
As cursive Nabataean writing evolved into Arabic writing, the writing became largely joined-up. Some of the letters became the same shape as other letters, producing more ambiguities, as in the table:
Here the Arabic letters are listed in the traditional Levantine order but are written in their current forms, for simplicity. The letters which are the same shape have coloured backgrounds. The second value of the letters that represent more than one phoneme is after a comma. In these tables, ğ is j as in English "June".
In the Arabic language, the g sound seems to have changed into j in fairly late pre-Islamic times, but this seems not to have happened in those tribes who invaded Egypt and settled there.
When a letter was at the end of a word, it often developed an end loop, and as a result most Arabic letters have two or more shapes.
After all this, there were only 17 letters that were different in shape. One letter-shape represented 5 phonemes, one represented 3 phonemes, and 5 each represented 2 phonemes. Compare the Hebrew alphabet, as in the table:
.

Early Islamic changes

The Arabic alphabet is first attested in its classical form in the 7th century. See PERF 558 for the first surviving Islamic Arabic writing.
In the 7th century, probably in the early years of Islam while writing down the Qur'an, scribes realized that working out which of the ambiguous letters a particular letter was from context was laborious and not always possible, so a proper remedy was required. Writings in the Nabataean and Syriac alphabets already had sporadic examples of dots being used to distinguish letters which had become identical, for example as in the table on the right. By analogy with this, a system of dots was added to the Arabic alphabet to make enough different letters for Classical Arabic's 28 phonemes. Sometimes the resulting new letters were put in alphabetical order after their un-dotted originals, and sometimes at the end.
The first surviving document that definitely uses these dots is also the first surviving Arabic papyrus, dated April, 643. The dots did not become obligatory until much later. Important texts like the Qur'an were frequently memorized; this practice, which survives even today, probably arose partly to avoid the great ambiguity of the script, and partly due to the scarcity of books in times when printing was unheard-of in the area and every copy of every book had to be written by hand.
The alphabet then had 28 letters, and so could be used to write the numbers 1 to 10, then 20 to 100, then 200 to 900, then 1000. In this numerical order, the new letters were put at the end of the alphabet. This produced this order: alif, b, j, d, h, w, z, H, T, y, k, l, m, n, s, ayn, f, S, q, r, sh, t, th, dh, kh, D, Z, gh.
The lack of vowel signs in Arabic writing created more ambiguities: for example, in Classical Arabic ktb could be kataba = "he wrote", kutiba = "it was written" or kutub="books".
Later, vowel signs and hamzas were added, beginning some time in the last half of the 6th century, at about the same time as the first invention of Syriac and Hebrew vocalization. Initially, this was done using a system of red dots, said to have been commissioned by Hajjaj ibn Yusuf, the Umayyad governor of Iraq, according to traditional accounts: a dot above = a, a dot below = i, a dot on the line = u, and doubled dots giving tanwin. However, this was cumbersome and easily confusable with the letter-distinguishing dots, so about 100 years later, the modern system was adopted. The system was finalized around 786 by al-Farahidi.
All administrative texts were previously recorded by Persian scribes in Middle Persian using Pahlavi script, but many of the initial orthographic alterations to the Arabic alphabet might have been proposed and implemented by the same scribes.
When new signs were added to the Arabic alphabet, they took the alphabetical order value of the letter which they were an alternative for: tā' marbūta took the value of ordinary t, and not of h. In the same way, the many diacritics do not have any value: for example, a doubled consonant indicated by shadda does not count as a letter separate from the single one.
Some features of the Arabic alphabet arose because of differences between Qur'anic spelling and the form of Classical Arabic that was phonemically and orthographically standardized later. These include:
Less than a century later, Arab grammarians reorganized the alphabet, for reasons of teaching, putting letters next to other letters which were nearly the same shape. This produced a new order which was not the same as the numeric order, which became less important over time because it was being competed with by the Indian numerals and sometimes by the Greek numerals.
The Arabic grammarians of North Africa changed the new letters, which explains the differences between the alphabets of the East and the Maghreb.

The old alphabetical order, as in the other alphabets shown here, is known as the Levantine or Abjadi order. If the letters are arranged by their numeric order, the Levantine order is restored:-

This order is much the oldest. The first written records of the Arabic alphabet show why the order was changed.

Adapting the Arabic alphabet for other languages

When the Arabic alphabet spread to countries which used other languages, extra letters had to be invented to spell non-Arabic sounds. Usually the alteration was three dots above or below:-
Since the early 20th century, as the Ottoman Empire collapsed and European influence increased, many non-Arab Islamic areas began using the Cyrillic or Latin alphabet, and local adaptations of the Arabic alphabet were abandoned. In many cases, the writing of a language in Arabic script has become restricted to classical texts and traditional purposes, while in others, the Arabic alphabet is used alongside the Latin one.