Maya codices (singular codex) are folding books stemming from the pre-Columbian Maya civilization, written in Maya hieroglyphic script on Mesoamerican bark cloth, made from the inner bark of certain trees, the main being the wild fig tree or amate (Ficus glabrata). This sort of paper was generally known by the word āmatl [ˈaːmat͡ɬ] in Nahuatl, and by the word huun in Mayan. The folding books are the products of professional scribes working under the patronage of deities such as the Tonsured Maize God and the Howler Monkey Gods. The Maya developed their huun-paper around the 5th century, which is roughly the same time that the codex became predominant over the scroll in the Roman world. However, Maya paper was more durable and a better writing surface than papyrus. The codices have been named for the cities where they eventually settled. The Dresden codex is generally considered the most important of the few that survive.
Our knowledge of ancient Maya thought must represent only a tiny fraction of the whole picture, for of the thousands of books in which the full extent of their learning and ritual was recorded, only four have survived to modern times (as though all that posterity knew of ourselves were to be based upon three prayer books and Pilgrim's Progress).
There were many books in existence at the time of the Spanish conquest of Yucatán in the 16th century, however most were destroyed by the Conquistadors and Catholic priests. In particular, many in Yucatán were ordered destroyed by Bishop Diego de Landa in July 1562. In his conviction of the superiority and absolute truth of Christianity, a typically ethnocentric value of the time, De Landa wrote: