Type Sanskrit in English letters, the way you chat, and each word turns into Devanagari when you press Space. Prefer the Sanskrit keyboard? Switch to InScript. Your text is saved on this device as you write.
Type samskritam and press Space → संस्कृतम्
More about Sanskrit typing ↓Roman typing: Space converts each word · press Esc to keep a word in English · How it works
How would you like to type?
Type Urdu in English letters, e.g. “mera naam”, then press Space.
Roman layout (रोमन)
Write Sanskrit in English letters and each word turns into Devanagari when you press Space. Every a is read, so a word ending in a consonant gets a virama (अहम्); a final h is the visarga (नमः), and ri after a consonant is ृ.
Best for: Students, teachers and anyone writing verses or quotations in Sanskrit who knows its sounds but not the InScript keyboard.
| You type | Sanskrit letters | Examples |
|---|---|---|
| h (at the end) | ः | namah → नमः, devah → देवः |
| m (at the end) | म् ं | aham → अहम्, satyam → सत्यं |
| ri | ृ | amritam → अमृतं |
| jn, ksh | ज्ञ क्ष | jnanam → ज्ञानं, kshama → क्षमा |
| sh, cch | श च्छ | shantih → शान्तिः, gacchami → गच्छामि |
How accurate is it? (Beta)
On 1000 test words, the word written when you press Space was right 50% of the time, and the right word was among the first five suggestions 60.4% of the time. Typing 61 words of held-out chat messages needed 0.3 corrections per 10 words. Test set: Aksharantar test split (frequent words).
Beta: these numbers are below our bar (85% right on Space, 97% in the first five, under one correction per 10 words). Check words before you send.
Report a wrong word opens your email app with a short form. Nothing is sent unless you send it, and only what you type in it.
Printable Roman Sanskrit chart (PDF)
Other layouts: InScript, ITRANS, IAST
Layout source: US QWERTY keys. Each word typed in English letters is converted to Sanskrit by the sa-roman transliteration scheme (KeysLingo).
Tips
- Press Esc to switch between Sanskrit and English without leaving the page.
- On the Roman layout, type words in English letters (namah) and press Space. Press 1 to 6 to pick another spelling, or Esc to keep a word in English.
- Type a consonant, then a vowel sign: क (K) then ा (E) makes का.
- The halant ् on D joins consonants: स (M), ् (D), त (L) makes स्त.
- Shift+5 to Shift+8 type ज्ञ, त्र, क्ष and श्र. X types the anusvara ं and Shift+X the chandrabindu ँ; Shift+- types the visarga ः.
- Shift+AltGr+. types the avagraha ऽ (सोऽहम्), Shift+. the danda । and AltGr+. the double danda ॥. Shift+AltGr+X types ॐ.
- = types ृ and Shift+= types ऋ; AltGr+= and Shift+AltGr+= type ॄ and ॠ. AltGr with the number keys types Devanagari digits १२३.
- On ITRANS: k a types क, kaa or kA types का, and a consonant with no vowel keeps its virama (क्). sh types श, Sh ष, RR ृ, x क्ष, jY ज्ञ, V the avagraha ऽ and OM ॐ. Two dots type the danda ।.
- On IAST: aa ii uu type ā ī ū; .r .rr .l .ll type ṛ ṝ ḷ ḹ; .t .d .n .s type ṭ ḍ ṇ ṣ; .m .h type ṃ ḥ; 's ś, ~n ñ, .nn ṅ. Capitals work the same way: .S types Ṣ.
Practise: Sanskrit typing tutor · Sanskrit typing test · Sanskrit typing games
Convert: Sanskrit script to English letters · Word counter
Use it offline
Keep every Sanskrit keyboard, the typing practice, the guides and the printable charts on this device, to use them without the internet.
संस्कृतं भारतस्य प्राचीना भाषा।Frequently asked questions
What is the difference between Roman, ITRANS and IAST here?
Roman takes chat-style spelling and converts each word by its word list, when you press Space. ITRANS takes exact scholarly spelling and writes Devanagari letter by letter, with no guessing. IAST also takes exact spelling, but the text stays in Roman letters with diacritics, such as saṃskṛtam.
Can I type Sanskrit in English letters?
Yes. The page opens on Roman typing: write as you would in a chat, for example “namah”, and each word becomes Sanskrit (नमः) when you press Space. If a word comes out wrong, pick another spelling from the bar under the editor.
Can I write a final consonant, as in अहम्?
Yes. On the Roman layout a word that ends in a consonant gets a virama (aham → अहम्) and a final h becomes the visarga (namah → नमः). On InScript, type the consonant and then the halant ् on D.
Do I need to install anything?
No. The keyboard runs in your browser on Windows, Mac, Linux, Android and iPhone. There is nothing to download.
Is my text private?
Yes. Your text is saved only in this browser on this device. It is never sent to our servers.