The HSN (Harmonized System of Nomenclature) code for handmade soap falls under heading 3401. This heading includes soap; organic surface-active products and preparations for use as soap, in the form of bars, cakes, molded pieces or shapes, whether or not containing soap; paper, wadding, felt, and nonwovens, impregnated, coated or covered with soap or detergent.
Here is a description:
34: Soaps, organic surface-active agents, washing preparations, lubricating preparations, artificial waxes, prepared waxes, polishes or cleaning preparations, candles and similar articles, modeling pastes, "dental wax" and dental preparations on a plaster basis
01: Soaps; organic surface-active products and preparations for use as soap, in the form of bars, cakes, molded pieces or shapes, whether or not containing soap; Paper, wadding, felt and nonwovens, impregnated, coated or covered with soap or detergent
Specifically, handmade soap can be classified under:
3401.11: For toilet use (including medicinal products)
For GST purposes in India, the GST rate for goods classified under HSN code 3401.11 is generally 18%.