Hindi Sandhi Junction Identifier

Highlight potential sandhi junctions in Sanskrit-origin Hindi text

Flags word boundaries and internal positions where common Sanskrit and Hindi sandhi rules — vowel coalescence, visarga, and consonant junctions — may apply, to assist editors and learners. Runs entirely in your browser.

What is sandhi?

Sandhi is the set of euphonic-combination rules inherited from Sanskrit by which sounds at the junction of words or morphemes merge or change. For example अ plus आ combines to आ, and इ plus अ yields य. Hindi keeps many of these in tatsama (Sanskrit-derived) vocabulary.

The Hindi Sandhi Junction Identifier highlights places in Devanagari text where Sanskrit-derived sandhi rules commonly apply. It is an editing aid for spotting vowel coalescence, visarga changes, and consonant junctions in tatsama vocabulary.

How it works

The scanner walks the text and inspects the characters on either side of each junction — both between words and at internal morpheme seams — testing them against the three classical categories:

swar sandhi    vowel meets vowel        अ+आ → आ,  इ+अ → य,  उ+अ → व
visarga sandhi visarga ः before sound    निः+चल → निश्चल,  मनः+रथ → मनोरथ
vyanjan sandhi consonant junctions      त्+च → च्च,  म्+anusvara before stop

For each match the tool records the position and the rule category. Junctions at word boundaries are checked by combining the final sound of one word with the initial sound of the next; internal positions are checked against known clustering patterns.

Tips and notes

Treat every highlight as a candidate, not a certainty. Sandhi only operates in Sanskrit-derived (tatsama) material, so a sequence such as इ followed by अ may be a genuine swar-sandhi site in one word and an accidental adjacency in a borrowed word. Use the named category to decide which rule to apply, and confirm against the meaning and origin of the words involved. The tool deliberately does not rewrite your text, because both forming and splitting sandhi require knowing the underlying lexemes.