A supermarket worker has been hospitalised after he was tasered during an armed robbery in Sydney's west last night.

Two men entered the FoodWorks shop on Bulolo Drive at Whalan about 7.20pm and attacked the 22-year-old male worker with a Taser.

The men then fled the scene on foot, and police are working to find them.

The tasered worker was taken to hospital with non-life-threatening facial injuries. Another worker was not injured during the robbery.

Police have established a crime scene, and are searching for two men believed to be 165cm and 175cm tall with medium builds.

They were wearing dark clothing at the time of the robbery, and had their faces covered.