Washing soda is sodium carbonate, a degreaser that can be used in laundering and as a surface cleanser. It is inedible.
Edible Sodium bi-carbonate is baking powder, but it too is an efficient cleanser and deodouriser, recommended, for example, for cleaning the inside of a refrigerator.