A man wielding a hammer threatened staff at the One Stop Shop in Devizes.
The man entered the shop, in Eastleigh Road, shortly before 11pm on last Thursday. He demanded money and hit the till with the hammer.
A member of staff was grabbed by the man and dragged behind the counter in an attempt to get her to open the till but she could not and he left with nothing. A man was arrested shortly afterwards. Police said the member of staff was shaken up.
Ian Bennett, 21, of Forty Acres Road, Devizes, was charged with robbery and appeared before magistrates on July 18.
He was remanded in custody until his next court appearance.