Skip to content
WM KeyboardWM Keyboard
Accessibility

Hindi

Type Hindi the way you text it: Latin letters in, Devanagari out. Plus InScript and Remington for typing the script directly.

Hindi ships five layouts. हिन्दी is the standard InScript keymap and it’s what you get when you add Hindi. Hindi phonetic is a QWERTY grid that turns romanized Hindi into Devanagari as you type, so kaise ho commits कैसे हो. हिन्दी वर्णमाला puts the letters themselves on the keys, four pages of them, with the vowel signs and half forms on press and hold. Remington (GAIL) is the typewriter layout. Hindi Flick A (Gboard) is a phone-pad board where a key types another letter when you flick it upward. This page is mostly about the phonetic one, because it’s the one with moving parts.

WM Keyboard  Languages & layouts  हिन्दी · Hindi  Layouts  Hindi phonetic

Add Hindi, open its screen, and tap the Hindi phonetic card under Layouts to turn it on. Tap the InScript card on the same screen to turn it off if you don’t want both. Then do the one thing that makes the biggest difference: download the Hindi word list from the Dictionary row on that screen. Hindi ships no word list inside the app, and the next two sections explain why this layout cares about that more than most.

Until the list is there, the suggestion strip shows a Get the Hindi word list for better words chip the first time you switch to the layout. Tap it and it opens the same screen.

Every key is where it is on the English layout. What you type shows up as Devanagari in the composing text straight away, with no separate conversion step, and the space commits it.

You typeYou getWhy
tum, aap, naamतुम, आप, नाम“a” is the inherent vowel and writes nothing after a consonant; “aa” is आ
mera, bhi, tuमेरा, भी, तूa vowel that ends a word is long, because Hindi never says a final short “a”
jao, khaoजाओ, खाओan “a” running into “o” or “u” is long
hindi, lamba, rangहिंदी, लंबा, रंगa nasal before the stop it belongs to is written as ं
namaste, dost, kyaनमस्ते, दोस्त, क्याthese clusters join
karna, sakta, uskaकरना, सकता, उसकाthese don’t, because the ending is its own piece of grammar
pakka, bacchaपक्का, बच्चाa doubled consonant joins
roTi, paRhnaरोटी, पढ़नाcapitals spell the retroflex letters exactly
Bahutबहुतa capital that spells nothing reads as its lowercase self

Every key the rules read. The same tables are in the app, under Key map on Hindi’s own screen (see Options).

Vowels. The first form is the letter on its own, the second the sign it becomes after a consonant. Shift gives the long vowels too, if you’d rather do that than double the letter.

KeyLetterAfter a consonant
aअnothing: the inherent vowel
aa, Aआा
iइि
ee, ii, Iईी
uउु
oo, uu, Uऊू
eएे
aiऐै
oओो
au, ouऔौ
RRiऋृ

Consonants.

k कkh खg गgh घ
ch, c चchh छj जjh झ
T टTh ठD डDh ढN ण
t तth थd दdh धn न
p पph, f फb बbh भm म
y यr रl लv, w व
sh शSh षs सh ह
z ज़q कR ड़Rh ढ़
ksh क्षgy, jn ज्ञx क्स

Signs. M is ं (anusvara) and H is ः (visarga). You rarely need M: a nasal before the stop it belongs to is written as ं on its own, as hindi shows. A capital that isn’t in these tables reads as its lowercase letter.

Bangla’s Avro is a spelling scheme people learn: every cluster you type is a conjunct, and you press a key for the inherent vowel when you want it. Nobody learns a scheme for Hinglish. People write Hindi in Latin letters the way it sounds, and spoken Hindi drops its inherent vowel wherever it can. So the rn in karna is two syllables (करना) while the st in namaste is one conjunct (नमस्ते), and nothing in the spelling says which. The same goes for t, which is त in tum and ट in roti, and for a lone a, which is short in nazar and long in kitab.

The layout handles that in three layers, in this order.

  1. A list of known spellings, about 900 of them. Everyday words whose Latin spelling doesn’t carry enough to get the script right (theek is ठीक, pani is पानी, nahi is नहीं), chat shorthand (h is है, nhi is नहीं, kr is कर, bhut is बहुत), and English loanwords (school is स्कूल, doctor is डॉक्टर). A spelling on the list is settled there, and it shows in the composing text the moment you finish typing it.
  2. The Hindi word list, if you’ve downloaded it. What you typed and every word on the list are both reduced to a loose key. The key forgets aspiration, forgets whether a consonant is dental or retroflex, forgets conjuncts, forgets every “a” inside the word, and treats ड़ as either “d” or “r”. Words with the same key are candidates and the most frequent one leads. Details you did type count against a candidate that contradicts them: kaam asks for a long vowel, so it gets काम even though कम is the commoner word, and thak gets थक rather than तक. Details you left out cost very little, because that’s how everyone types. Nasal marks nobody writes are forgiven too, so nahi, nahin and nhi all find नहीं.
  3. The rules alone. They make the likelier guess: clusters stay apart unless they open or close the word, double a consonant, come before “y”, or are one of a short table of pairs that usually join (tr, dr, sw, an s before t/p/k/m, r before the last consonant of the word). A grammatical ending (na, ne, ni, ta, te, ti, ka, ki, ke, ko, se, me, kar, wala) never joins the stem before it.

With the word list installed, layer 3 rarely decides anything. Without it, layer 3 decides every word that isn’t on the list in layer 1, and it will sometimes guess wrong. That’s why the strip also carries the other readings of what you typed: the same spelling with its last “a” long (pyar offers प्यार, sarkar offers सरकार), with every cluster joined, with none joined, and with the final vowel left short. Tap the one you meant.

A word from the list only takes the commit from the rules’ own reading when it’s at least twice as frequent, the same near-tie protection Bangla has, so the keyboard doesn’t swap the word you were looking at for one of about equal currency.

Swiping over this layout draws a romanization, not a Hindi word, so the stroke is decoded against romanized spellings and the result is turned into Devanagari. The known-spellings list is always there for that. The Hinglish word list (about a million romanized spellings, under Hinglish in the language catalogue) widens it a lot if you download it, and each spelling a swipe decodes goes through the same three layers above. See Glide typing.

With the layout on, selecting text puts two more chips on the selection bar. Hindi rewrites selected Hinglish in Devanagari, word by word, through the same three layers. Hinglish goes the other way and writes Devanagari back in Latin letters the way it’s said, so करना comes out karna and नमस्ते comes out namaste.

The typing test has a Hindi word list and quotations of its own, so it works before you’ve downloaded anything.

Backspace inside a word you’re still typing removes one Latin letter per press, and the Devanagari redraws. Over text that’s already committed it removes one code point, or a whole conjunct if you turn on WM Keyboard  Languages & layouts  Hindi  Clusters  Conjunct-aware backspace. That toggle is off by default and applies to every Hindi layout.

हिन्दी वर्णमाला: the letters on the keys

Section titled “हिन्दी वर्णमाला: the letters on the keys”
WM Keyboard  Languages & layouts  हिन्दी · Hindi  Layouts  हिन्दी वर्णमाला

No transliteration, no keymap to learn: the Devanagari is printed on the keys, in alphabet order, and you tap what you want. Devanagari has far more letters, signs and conjuncts than fit on one grid, so they’re spread over four pages of fifty keys. The key in the bottom-left corner of the fifth row says which page you’re on (1/4), and each tap takes you to the next one; the fourth takes you back to the first.

  • 1/4: the vowels अ to औ, the consonants क to श, then ष स ह, the four conjuncts ज्ञ क्ष श्र, ऋ, and nukta ़, anusvara ं and halant ्.
  • 2/4: conjuncts: the र ligatures (क्र, ग्र, द्र, …), the reph forms (र्क, र्ग, र्च, …) and the त and द families.
  • 3/4: more conjuncts: the य ligatures, then the न, म, प, ब, ल and ष families.
  • 4/4: the rest of the script: candra vowels (ऍ ऑ ऎ ऒ), the Sindhi and Kashmiri letters (ॹ ॺ ॻ ॼ ॾ ॿ), the matras that aren’t on the other pages, the Vedic accents ॒ ॑, and ऽ ॥ ॐ.

?१२३ reaches the numbers and symbols from any page, and । sits beside the space bar where the full stop usually is. The bottom row is the usual one otherwise, with a comma key next to ?१२३, so the bottom row settings (the 🌐 key, comma as emoji) treat it like every other layout. Switching fields or closing the keyboard brings you back to page one.

WM Keyboard  Languages & layouts  हिन्दी · Hindi

Hinglish is a different language, not this layout. Picking Hinglish · Hindi (Romanized) from the catalogue gives you a Latin QWERTY that stays Latin and suggests romanized words. Hindi phonetic is the opposite: it converts what you type into Devanagari.

The composing text can change its mind as you type. kar reads कर, karn closes on a cluster and reads कर्न, and the a that makes it an infinitive opens it back up to करना. What you see at each point is what a space would commit at that point.

The phonetic machinery only loads if the layout is on. Hindi with just InScript enabled builds none of it.

It’s new, and the rule table is a draft. The join table, the list of endings and the known spellings were written without a native speaker on hand. If a common word comes out wrong with the word list installed, say so on the issue and name the word.