The various embodiments herein provide a gel based wound dressing comprising a lyophilized powder and a water-based solvent. The lyophilized powder comprises several nanoparticles and water miscible natural or synthetic polymers. The nanoparticles comprises pectin and a wound healing agent or an anti-microbial agent. The anti-microbial agent is nisin. The lyophilized powder and the water-based solvent are kept in two separate sealed packages and are mixed together before applying on a wound. The embodiments herein also provide a method of synthesizing the gel based wound dressing. The nano-particles control a release of the wound healing agent or the antimicrobial agent to a wound.