Thoth (θoʊθ,_toʊt; from Θώθ Thṓth, borrowed from Ⲑⲱⲟⲩⲧ Thōout, Egyptian: , the reflex of ḏḥwtj "[He] is like the Ibis") is an ancient Egyptian deity. In art, he was often depicted as a man with the head of an ibis or a baboon, animals sacred to him. His feminine counterpart was Seshat, and his wife was Ma'at. He was the god of the moon, wisdom, knowledge, writing, hieroglyphs, science, magic, art and judgment.
Thoth's chief temple was located in the city of Hermopolis (ḫmnw /χaˈmaːnaw/, Egyptological pronunciation: "Khemenu", Ϣⲙⲟⲩⲛ Shmun). Later known as el-Ashmunein in Egyptian Arabic, the Temple of Thoth was mostly destroyed before the beginning of the Christian era. Its very large pronaos was still standing in 1826, but was demolished and used as fill for the foundation of a sugar factory by the mid-19th century.
Thoth played many vital and prominent roles in Egyptian mythology, such as maintaining the universe, and being one of the two deities (the other being Ma'at) who stood on either side of Ra's solar barque. In the later history of ancient Egypt, Thoth became heavily associated with the arbitration of godly disputes, the arts of magic, the system of writing, and the judgment of the dead.
The Egyptian pronunciation of ḏḥwty is not fully known, but may be reconstructed as *ḏiḥautī, perhaps pronounced *[t͡ʃʼi.ˈħau.thiː] or *[ci.ˈħau.thiː]. This reconstruction is based on the Ancient Greek borrowing ([thɔːth]) or and the fact that the name was transliterated into Sahidic Coptic variously as Thoout, Thōth, Thoot, Thaut, Taautos (Τααυτος), Thoor (Θωωρ), as well as Bohairic Coptic Thōout. These spellings reflect known sound changes from earlier Egyptian such as the loss of ḏ palatalization and merger of ḥ with h i.e. initial ḏḥ > th > th. The loss of pre-Coptic final y/j is also common. Following Egyptological convention, which eschews vowel reconstruction, the consonant skeleton ḏḥwty would be rendered "Djehuti" and the god is sometimes found under this name. However, the Greek form "Thoth" is more common.