Skip to content
RightYantra
Text & developer

Hindi Keyboard

An on-screen Hindi keyboard in the Devanagari script — the most widely spoken language in India and among the largest in the world. Click the keys to build a word, or use the keyboard already in front of you and have its keys remapped as you type. Nothing is installed and the text stays in the page.

Hindi KeyboardRuns on your device

Step by step

How to use the hindi keyboard

  1. 1The keyboard above is already set to Hindi; you can switch language from the list if you need another.
  2. 2Click the keys on screen, or just type — your own keyboard is remapped to the layout shown.
  3. 3Use Shift for the second layer, which carries the rest of the characters.
  4. 4Copy the text when you are done, or download it as a .txt file.

Why type Hindi in a browser

Adding Hindi to an operating system is a settings-menu expedition that ends in a keyboard you cannot see: the letters are not printed on your keys, so you are typing blind in a script you may have no muscle memory for, and you have changed a system-wide setting to write one line.

The usual workaround is worse — hunting characters in a character-map utility and pasting them one at a time, or copying words out of search results and hoping the spelling survived the trip.

A visible keyboard solves the specific problem of writing Hindi occasionally: getting a name spelled correctly on a form, writing a message to a relative who reads Devanagari and not Latin, or adding a Hindi line to a slide, a card or a caption. Every key is on screen, the arrangement is the standard one, and when you are finished there is nothing to undo.

The halant is the key that matters

Devanagari joins consonants into conjuncts, and the key that does the joining is the halant — the small stroke ् that sits on the D position. Type क, then the halant, then ष and you get क्ष; the cluster forms itself as the characters arrive. Almost everything people find hard about typing Hindi is this one key.

Three conjuncts are common enough to have been given keys of their own on the Shift layer of the number row: क्ष, त्र and ज्ञ. They are there because they appear constantly — in क्षमा, in त्रिशूल, in विज्ञान — and asking for three keystrokes each time would be a tax on ordinary writing.

The other position worth learning is the nukta ़, next to the ड key. Hindi writes five borrowed sounds by putting a dot under an existing letter: क़ ख़ ग़ ज़ फ़, which is how ज़रूरी and फ़ोन are spelled properly. Type the base letter, then the nukta.

ा is not आ, and this is the mistake

Devanagari has two forms of every vowel, and they are not interchangeable. The independent form — अ आ इ ई उ ऊ — is a letter that stands on its own and starts a word. The dependent form, the matra, is a mark that attaches to a consonant: the ा in का, the ी in की.

On this keyboard the matras are on the unshifted top rows, where they belong, because that is what you type most. Their independent partners sit directly above them on Shift. So ा is where it is, and आ is Shift over it.

The failure mode is writing आम as अा म — an अ with a separate ा stuck after it. It looks almost right at small sizes and is a different sequence of characters entirely, which means search will not find it and a spell checker will not recognise it. If a word looks subtly wide or broken, this is usually why.

Kruti Dev, DevLys, and why pasted Hindi sometimes turns into nonsense

A great deal of Hindi in Indian offices and print shops was never typed in Unicode. Fonts like Kruti Dev and DevLys map Devanagari shapes onto Latin codepoints, so the file actually contains letters like "Hkkjr" and only looks like Hindi while that exact font is installed. Open it anywhere else — another computer, a browser, a phone, a PDF viewer without the font — and you get the Latin gibberish that was always underneath.

This keyboard produces Unicode. What you copy out is real Devanagari: it survives being pasted into anything, it can be searched, and it renders on a device that has never heard of Kruti Dev. That is the difference worth caring about, and it is why government forms increasingly insist on it.

Converting the other direction — a legacy Kruti Dev document into Unicode — is a mapping job rather than a typing job, and this tool does not do it. If you have such a file, the text in it is not Hindi yet, whatever it looks like on screen.

Your own keyboard, remapped

Clicking keys is fine for a name and tedious for a paragraph, so the keyboard already in front of you is remapped while you type. Press the key where a Hindi letter sits on the picture and that letter is what appears, with the small grey label on each key telling you which of yours produces it.

The mapping follows the physical position of the key rather than the letter printed on it, so it lands correctly even if you already run AZERTY or Dvorak underneath. Space, Enter, Backspace and the arrow keys are left alone, and Ctrl and Cmd shortcuts pass straight through, so copy and paste keep working.

Nothing is sent anywhere. The layout is a few kilobytes of data in the page and every keystroke is handled in your browser — no request, no account, no history. That matters more than it sounds, because what people type in a script they cannot otherwise type is usually a name, an address or a message.

Answers

Frequently asked questions

How do I type क्ष, त्र or ज्ञ?

Each has its own key on the Shift layer of the number row. Any other conjunct is built with the halant: consonant, halant, consonant.

How do I type ज़ or फ़?

Type the base letter, then the nukta key ़ beside ड. That is how Hindi writes the five borrowed sounds.

Is this the same layout as Windows Hindi?

Yes. It is InScript, the Bureau of Indian Standards arrangement that ships as the default Hindi keyboard on Windows, macOS, Android and Linux.

Is what I type sent anywhere?

No. The layout is data in the page and every keystroke is handled in your browser. There is no request to a server, no account and no history.

Do I have to click the keys?

No. Your own keyboard is remapped to the layout shown, matched by physical key position, so it works even on a non-QWERTY system. A checkbox turns it off.