Skip to content
KeysLingoSearch languages and tools

Search languages and tools

South Asia

Middle East and North Africa

Central Asia

Europe

Africa

East Asia

Southeast Asia

The Americas

Oceania

Special keyboards

IAST Keyboard for Sanskrit

संस्कृतटङ्कनम्

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.

More about Sanskrit typing ↓

Sanskrit typing · press Esc to switch · How it works

0 words · 0 charactersAutosaves on this device

How would you like to type?

Suggestions appear as you type.

IAST layout (IAST)

IAST is the scholarly Roman alphabet for Sanskrit, and this layout types it from a normal English keyboard. Double a vowel for its long form (aa ā), type a dot before a letter for the dot below (.t ṭ, .r ṛ, .m ṃ, .h ḥ), an apostrophe before s for ś, ~n for ñ and .nn for ṅ. The text stays in Roman letters; it does not become Devanagari.

Best for: Students, authors and editors writing Sanskrit words in English text, in papers and translations.

Each key shows its normal character (large) and its Shift character (small, top right). The letter at top left is the English key.
`~`
1!1
2@2
3#3
4$4
5%5
6^6
7&7
8*8
9(9
0)0
-_-
=+=
qQq
wWw
eEe
rRr
tTt
yYy
uUu
iIi
oOo
pPp
[{[
]}]
\|\
aAa
sSs
dDd
fFf
gGg
hHh
jJj
kKk
lLl
;:;
'"'
zZz
xXx
cCc
vVv
bBb
nNn
mMm
,<,
.>.
/?/

Printable IAST chart (PDF)

Other layouts: Roman, InScript, ITRANS

Layout source: Keyman Indic Romanization from ITRANS 1.2.1 by Shree Devi Kumar (MIT), keeping only the rules that give IAST letters. Dot-m types ṃ and dot-M Ṃ (upstream asks for .mm), the apostrophe stays an apostrophe (upstream types U+02BC), and @ stays @. Letters follow Caps Lock.

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

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.