Essaouira (Arabic: الصويرة), formerly known as Mogador, is a city in western Morocco on the Atlantic Ocean.