HinScript™ 1.0
Smartypes' key map for typing Hindi in Devanagari with Latin keys.
Version 1.0, dated 2026-11-14. Published by Smartypes as the dated record of the scheme. This page is generated from the specification's table (plans/HINSCRIPT_SPEC.md), the same table the practice code ships.
Copyright © 2026 Steven Quinn Singleton: the text of this specification and the code that implements it, as Smartypes' own text and code. HinScript™ is an unregistered trademark of Steven Quinn Singleton. Which keys type which letter is a method: it is not claimed as protected expression, and may be used, adapted or referenced freely (Copyright and terms).
How keys become Devanagari
- Keys are read left to right, the longest key sequence in the tables first.
- A consonant followed by a vowel key takes that vowel's sign; a keeps the consonant's own (inherent) a.
- Consonant keys with no vowel between them join into a conjunct: kSh types क्ष.
- At the end of a word the final a is optional: kal and kala both type कल. Inside a word every a is typed: kamaraa types कमरा.
- A sign key (M anusvara, .N chandrabindu, H visarga) after a consonant keeps the consonant's a and adds the sign: kaM and kM both type कं; anywhere else it adds the sign.
- A vowel key that does not follow a consonant types the vowel's own letter: a types अ, ii ई.
- _ after a consonant is the virama: visible at a word end (क् is k_), and before an h that is not an aspirate it joins the two consonants (k_h types क्ह, where kh types ख). Inside a word it writes the same virama a conjunct would, so k_t and kt both type क्त. Anywhere else (not after a consonant) _ types nothing and only separates two keys that would otherwise read as one: ka_ii types कई.
- Aliases: J and ñ type what ~n types, and x and Ñ what ~N types (table below), so the two letters can be typed on keyboards where ~ is a dead key or missing: there ~ then n makes ñ. jJaan, jñaan and j~naan all type ज्ञान. The tables show ~n and ~N.
- Letters with a nukta are written as the letter followed by the nukta sign (U+093C), never as the precomposed letters U+0958 to U+095F.
- The full-stop key types the full stop or the danda ।, whichever the text holds. Space, comma, question mark, exclamation mark, hyphen and the digits 0 to 9 type themselves; any other key passes through unchanged.
- The unit a learner types is the akshara: a vowel letter with its signs, or one or more consonants joined by viramas with their vowel sign and signs. Its keys are its parts' keys in stored order; the word-final a is optional; _ is written exactly where reading the keys longest-first would otherwise take another key.
- Not typeable in this version, so a line holding any of these is not used for practice:
- Latin letters
- Devanagari digits (U+0966 to U+096F; lines use the international digits)
- the precomposed nukta letters U+0958 to U+095F (the data stores them decomposed)
- the candra vowels ऍ ऑ ॅ ॉ (English loans such as डॉक्टर), ॠ ऌ ॡ ॢ ॣ, ऩ ऱ ऴ य़, ॐ, the avagraha ऽ, the double danda ॥, and any other Devanagari or Indic code point not in the tables
- the joiners U+200C and U+200D
- a nukta, vowel sign, virama or sign with no letter before it
- two vowel signs on one consonant
- a sign after a virama
- a line holding both the full stop and the danda (both are typed with the full-stop key, so it could not be told back)
- any punctuation outside space, full stop, comma, question mark, exclamation mark and hyphen
Vowels
| Keys | Letter | Sign after a consonant | Code points |
|---|
| a | अ | (none) | U+0905 |
| aa | आ | ा | U+0906 U+093E |
| i | इ | ि | U+0907 U+093F |
| ii | ई | ी | U+0908 U+0940 |
| u | उ | ु | U+0909 U+0941 |
| uu | ऊ | ू | U+090A U+0942 |
| RRi | ऋ | ृ | U+090B U+0943 |
| e | ए | े | U+090F U+0947 |
| ai | ऐ | ै | U+0910 U+0948 |
| o | ओ | ो | U+0913 U+094B |
| au | औ | ौ | U+0914 U+094C |
Consonants
| Keys | Letter | Code points | Unicode names |
|---|
| k | क | U+0915 | Letter Ka |
| kh | ख | U+0916 | Letter Kha |
| g | ग | U+0917 | Letter Ga |
| gh | घ | U+0918 | Letter Gha |
| ~N | ङ | U+0919 | Letter Nga |
| ch | च | U+091A | Letter Ca |
| chh | छ | U+091B | Letter Cha |
| j | ज | U+091C | Letter Ja |
| jh | झ | U+091D | Letter Jha |
| ~n | ञ | U+091E | Letter Nya |
| T | ट | U+091F | Letter Tta |
| Th | ठ | U+0920 | Letter Ttha |
| D | ड | U+0921 | Letter Dda |
| Dh | ढ | U+0922 | Letter Ddha |
| N | ण | U+0923 | Letter Nna |
| t | त | U+0924 | Letter Ta |
| th | थ | U+0925 | Letter Tha |
| d | द | U+0926 | Letter Da |
| dh | ध | U+0927 | Letter Dha |
| n | न | U+0928 | Letter Na |
| p | प | U+092A | Letter Pa |
| ph | फ | U+092B | Letter Pha |
| b | ब | U+092C | Letter Ba |
| bh | भ | U+092D | Letter Bha |
| m | म | U+092E | Letter Ma |
| y | य | U+092F | Letter Ya |
| r | र | U+0930 | Letter Ra |
| l | ल | U+0932 | Letter La |
| v | व | U+0935 | Letter Va |
| sh | श | U+0936 | Letter Sha |
| Sh | ष | U+0937 | Letter Ssa |
| s | स | U+0938 | Letter Sa |
| h | ह | U+0939 | Letter Ha |
| q | क़ | U+0915 U+093C | Letter Ka, Sign Nukta |
| K | ख़ | U+0916 U+093C | Letter Kha, Sign Nukta |
| G | ग़ | U+0917 U+093C | Letter Ga, Sign Nukta |
| z | ज़ | U+091C U+093C | Letter Ja, Sign Nukta |
| f | फ़ | U+092B U+093C | Letter Pha, Sign Nukta |
| R | ड़ | U+0921 U+093C | Letter Dda, Sign Nukta |
| Rh | ढ़ | U+0922 U+093C | Letter Ddha, Sign Nukta |
Signs (shown on क)
| Keys | Example | Code point | Unicode name |
|---|
| M | कं | U+0902 | Sign Anusvara |
| .N | कँ | U+0901 | Sign Candrabindu |
| H | कः | U+0903 | Sign Visarga |
| _ | क् | U+094D | Sign Virama |
Aliases
| Keys | Same as | Letter | Code point |
|---|
| J | ~n | ञ | U+004A, Latin Capital Letter J |
| ñ | ~n | ञ | U+00F1, Latin Small Letter N With Tilde |
| x | ~N | ङ | U+0078, Latin Small Letter X |
| Ñ | ~N | ङ | U+00D1, Latin Capital Letter N With Tilde |
Punctuation and digits
| Keys | Types |
|---|
| Space | space |
| . | . or । |
| , | , |
| ? | ? |
| ! | ! |
| - | - |
| 0 to 9 | the international digits 0123456789 |