This paper discusses the enhancement of the Soundex algorithm for phonetic matching in Indian languages, specifically Hindi and Gujarati, to address issues of name variations in databases. The proposed approach aims to convert input strings to their phonetic equivalents and improve matching accuracy while minimizing false hits. By employing a modified Soundex algorithm, the study intends to effectively retrieve similar-sounding names regardless of spelling differences.