it works, but is nasty stuff to get rid of.
Citric acid works just as well. you can by it powdered and soak them in it instead.
While the rust part is just as nasty, the acid part is not as big of a deal.
naval jelly also works on surface rust.