Hindi (हिन्दी) is written in Devanagari. Article 343 of the Constitution names “Hindi in Devanagari script” as the official language of the Union (general information, not legal advice). The 2011 Census counted 52,83,47,193 people with Hindi as their mother tongue, 43.63% of India and the largest language group. Uttar Pradesh alone had 18,79,79,055, followed by Bihar (8,06,98,466), Madhya Pradesh (6,43,24,963) and Rajasthan (6,12,74,274).
The Census puts 56 named mother tongues under Hindi, among them Bhojpuri (5,05,79,447 speakers), Rajasthani (2,58,06,344), Chhattisgarhi (1,62,45,190) and Magadhi (1,27,06,825). Hindi proper accounts for 32,22,30,097, about 61% of the group. The Home Ministry says it has not been possible to fix a criterion that separates a language from a dialect, so where “Hindi” ends is a judgement. For speech recognition it means your speakers may sound unlike the people in any one test set: the IndicVoices paper says budget limits meant skipping about 40% of the districts where Hindi and Urdu are spoken.
In offices, English nouns, rupee figures and names often sit inside Hindi sentences, and chat is often typed in Roman letters. That mixed form has its own page, Hinglish; the tests below apply to both.