Sanskrit was a spoken and recited language for many centuries before it was written. The Vedas were preserved through an oral tradition of astonishing accuracy, transmitted by trained reciters who learned each syllable, accent, and pause by heart. Writing, when it eventually came, served as an aid to memory rather than a replacement for it.
The Foundation
The earliest deciphered script of the Indian subcontinent is Brāhmī, attested in the rock and pillar edicts of Emperor Ashoka (third century BCE). These edicts are written in Prakrit, not Sanskrit, but the alphabet itself was easily adapted to write Sanskrit when scribes wished to do so. Brāhmī was written left to right and already showed the alphasyllabic principle — each consonant carrying an inherent vowel — that all Indian scripts have preserved ever since.
Brāhmī itself was probably influenced in form by older Semitic alphabets reaching India through trade, but its phonetic organisation was thoroughly Indian and reflected the grammatical analysis of the Pāṇinian tradition.
Kharoshthi: A Northern Sister
Alongside Brāhmī, a related script called Kharoṣṭhī flourished in the northwest from the fourth century BCE to about the fourth century CE. Kharoṣṭhī ran right to left, like Aramaic, and was used in Gandhāra for both Prakrit and some Sanskrit Buddhist texts. It eventually fell out of use, but its existence reminds us that early India experimented with more than one writing system.
The Gupta Script
During the Gupta dynasty (fourth to sixth century CE), a refined form of Brāhmī known as the Gupta script became standard across northern India. The Gupta script was the first widely used script in which large bodies of classical Sanskrit literature were written down, including the works of Kālidāsa. Its letters are recognisable ancestors of Devanagari: rounded shapes, balanced proportions, and a clear top line beginning to emerge.
and the Spread of Indic Scripts
From the Gupta script developed Siddhamātṛkā (also called Siddham), which spread along Buddhist trade routes across Central Asia, Tibet, and into China and Japan, where Sanskrit mantras are still written in derivatives of Siddham today. In India, Siddhamātṛkā continued to evolve toward two great families: the northern Nāgarī and the southern Grantha–Tamil group.
The Rise of and Devanagari
By the seventh or eighth century CE, the northern descendant of Siddhamātṛkā had acquired the distinctive horizontal headline (śirorekhā) above each letter. This script came to be called Nāgarī (नागरी, "of the city"). The prefix deva- ("divine") was added later, probably in the medieval period, to honour its use for sacred texts. Hence Devanāgarī — "the divine Nāgarī."
Different parts of the Indian world developed their own regional descendants of the same parent: Bengali, Odia, Gujarati, Gurmukhi, Sharada (Kashmir), and others. All of them follow the same alphasyllabic logic but differ in the shapes of their letters.
A Living Inheritance
The journey from Ashoka's rock-cut Brāhmī to modern Devanagari spans more than two thousand years. Despite countless calligraphic changes, the underlying phonetic order — vowels first, consonants arranged by place of articulation — has remained intact. To learn Devanagari today is to inherit one of the longest continuous literate traditions on earth.