--- title: Sanskrit transliterator date: "2006-08-28T12:00:00Z" categories: - how-i-do-things wp_id: 244 description: I built a simple JavaScript-based Sanskrit transliterator that converts English input into Devanagari script. It supports copy-pasting into documents, and I've shared the source code on Google Code for anyone to reuse or study. keywords: [sanskrit, transliteration, javascript, devanagari, indic scripts, google code] --- I've built a simple [Sanskrit transliterator](/blog/sanskrit-transliterator/). You can type in words in English and it will spell them out in Sanskrit. You can copy-paste the Tamil above into Microsoft Word, etc. Browse through my [Javascript](http://transliterate.googlecode.com/) to see how it works. Feel free to reuse. --- ## Comments - **ND** _28 Aug 2006 12:00 pm_: Real good and absolutely quick! - **Saurabh** _28 Aug 2006 12:00 pm_: Good work, wonder how many use Sanskrit these days though! One more thing, specific to Mac users, is that Indic support is still not mature for Firefox. Safari, the inbuilt browser does a decent job though. There was an extra "S" that was appearing after each letter in Safari. - **Madhu** _28 Aug 2006 12:00 pm_: Awesome, again what ur doing at Infy consulting, u shud be developing products at google:) - **KK** _28 Aug 2006 12:00 pm_: It is really awesome - **vikram** _28 Aug 2006 12:00 pm_: i cannot see any translation in firefox 1.5.0.12 version - **Animesh** _28 Aug 2006 12:00 pm_: Good tool, but the transliteration scheme should be replaced by more standard one. - **Ashwin (you know me!!)** _28 Aug 2006 12:00 pm_: nice one buddy!!although how would you deal with ambiguities like "om" ? - **Anand** _28 Aug 2006 12:00 pm_: Hmm, I wonder...can you please check if the small ''i'' maatra works fine? I gave the word ''janani'' and the ''i'' gave me the maatra AFTER the second ''na'', while it should be BEFORE. The big ''ii''/''I'' works fine. Also words like ''chithram'' etc - basically wherever there is a small ''i''! - **Rama Krishna** _28 Aug 2006 12:00 pm_: Really Good. Keep up the good work - **mohana** _28 Aug 2006 12:00 pm_: try this - **swami neelkanth** _28 Aug 2006 12:00 pm_: thanks