Ammonium carbonate is a salt with the chemical formula (NH4)2CO3. Since it readily degrades to gaseous ammonia and carbon dioxide upon heating, it is used as a leavening agent and also as smelling salt. It is also known as baker's ammonia and was a predecessor to the more modern leavening agents baking soda and baking powder. It is a component of what was formerly known as sal volatile and salt of hartshorn.
Ammonium carbonate may be used as a leavening agent in traditional recipes, particularly those from northern Europe and Scandinavia (e.g. Speculoos, Tunnbröd or Lebkuchen). It was the precursor to today's more commonly used baking powder.