This page explains how the converters on this site turn Kruti Dev 010 text into Unicode Hindi and back, how we test them, and where their limits are. Every converter page uses the same engine.
How the Conversion Works
- Syllable-based, not letter-by-letter. Unicode text is split into syllables (consonant cluster, matras, signs) before it is mapped to Kruti Dev glyphs.
- Reordering. The ि matra is moved in front of its whole consonant cluster, and the reph (र्) is moved after its syllable. The reverse direction undoes both moves.
- Conjunct glyphs. Kruti Dev has single glyphs for conjuncts such as क्ष, त्र, ज्ञ, द्ध, द्य and ह्म. These are matched before single letters.
- Longest match when reading Kruti Dev. Kruti Dev input is read by matching the longest known sequence first, so
vks is read as ओ rather than अ + ो. - Normalization. Unicode input is normalized first, so nukta letters such as ज़ convert the same whether they were typed as one character or two.
How We Test It
The engine has automated tests that run with Node.js's built-in test runner (node --test tests/). They check:
- More than 50 reference words in both directions, using the forms taught for Kruti Dev 010 typing, including reph, ि placement, conjunct glyphs, nukta letters and Devanagari digits.
- Full sentences with punctuation (।, comma, question mark) and line breaks.
- Round trips: Unicode → Kruti Dev → Unicode must give back exactly the original text for a set of Hindi paragraphs.
- Alternative Kruti Dev forms, such as
ç and iz for प्र, decode to the same Unicode. - Warnings for English letters, curly quotes from Word and text that looks like the wrong direction.
Sample checks (generated when this page was built)
| Unicode | Kruti Dev 010 | Round trip |
|---|
| कार्य | dk;Z | Passes |
| स्थिति | fLFkfr | Passes |
| प्रधानमंत्री | iz/kkuea=h | Passes |
| कर्त्तव्य | dÙkZO; | Passes |
| विद्यार्थी | fo|kFkhZ | Passes |
| ब्राह्मण | czkã.k | Passes |
| हृदय | ân; | Passes |
| डॉक्टर | M‚DVj | Passes |
Known Limitations
- Only Kruti Dev 010 is tested. Other Kruti Dev fonts mostly share its layout, but rare glyphs may differ. DevLys, Chanakya, Shree-Lipi and other legacy fonts are not supported.
- English letters cannot be stored in Kruti Dev. They are kept unchanged and listed, but they display as Hindi glyphs in the Kruti Dev font.
- Some rare signs have no Kruti Dev glyph, for example ॐ, ॠ and some Marathi or Sanskrit signs. They are kept unchanged and listed.
- Half letters without a half form (such as ट्, ड्, द्) are written with a visible halant (~), which is how they are typed in Kruti Dev.
- Plain text only. Formatting, tables and images are not converted.
- Garbled sources stay garbled. Text copied from some PDFs is already out of order before it reaches the converter.
Report a Conversion Error
If a word converts incorrectly, send it to us with the input you used, the output you got and what you expected. We aim to add each confirmed error to the automated tests when we fix it, so the same mistake cannot quietly return.
Read our editorial policy to see how we write and update the guides on this site.