Type in the box below to get devanagari and roman script with diacritics.
Cheat sheet below has a guide as to how to make different characters

Roman test: ā - ī - ū - ṃ - ḥ - ṅ - ñ - ṭ - ḍ - ṇ - ṛ - ḷ - ṣ
Sanskrit test (3x Om, 3x shantiḥ): ॐ ॐ ॐ शान्तिः शान्तिः शान्तिः

use lowercase for everything, unless you want a special character.

Vowels:
a aa i ii u uu
e ei o ou

alternates for long vowels:
A aa / I ee / U oo
ai ei / au ao ou

You must write neutral 'a' (e.g. aarati), or you may get a hal

Consonants:
k kh  g gh / Nn = ङ
c chh j jh / n~ = ञ
T TH  D DH N
t th  d dh n
p ph  b bh m
y r l v
sh SH s h

Special:
Om ॐ / Ri ऋ / jn ज्ञ
L ळ / RR ड़ / RRH ढ़

M  bindu
MM chandrabindu
:  visarga
_  hal (only needed at the end of a word)
+  vowel break, e.g. mumba+i