linguistic:paraphrasing, linguistic:voice_change, linguistic:translation
Early history

While some elements of the supernatural and the fantastic were a part of literature from its beginning, fantasy elements occur throughout ancient religious texts such as the Epic of Gilgamesh. The ancient Babylonian creation epic, the Enûma Eliš, in which the god Marduk slays the goddess Tiamat, contains the theme of a cosmic battle between good and evil, which is characteristic of the modern fantasy genre. Genres of romantic and fantasy literature existed in ancient Egypt. The Tales of the Court of King Khufu, which is preserved in the Westcar Papyrus and was probably written in the middle of the second half of the eighteenth century BC, preserves a mixture of stories with elements of historical fiction, fantasy, and satire. Egyptian funerary texts preserve mythological tales, the most significant of which are the myths of Osiris and his son Horus.

Myth with fantastic elements intended for adults were a major genre of ancient Greek literature. The comedies of Aristophanes are filled with fantastic elements, particularly his play The Birds, in which an Athenian man builds a city in the clouds with the birds and challenges Zeus 's authority. Ovid 's Metamorphoses and Apuleius 's The Golden Ass are both works that influenced the development of the fantasy genre by taking mythic elements and weaving them into personal accounts. Both works involve complex narratives in which humans beings are transformed into animals or inanimate objects. Platonic teachings and early Christian theology are major influences on the modern fantasy genre. Plato used allegories to convey many of his teachings, and early Christian writers interpreted both the Old and New Testaments as employing parables to relay spiritual truths. This ability to find meaning in a story that is not literally true became the foundation that allowed the modern fantasy genre to develop.

The most well known fiction from the Islamic world is One Thousand and One Nights (Arabian Nights), which is a compilation of many ancient and medieval folk tales. Various characters from this epic have become cultural icons in Western culture, such as Aladdin, Sinbad and Ali Baba. Hindu mythology was an evolution of the earlier Vedic mythology and had many more fantastical stories and characters, particularly in the Indian epics. The Panchatantra (Fables of Bidpai), for example, used various animal fables and magical tales to illustrate the central Indian principles of political science. Chinese traditions have been particularly influential in the vein of fantasy known as Chinoiserie, including such writers as Ernest Bramah and Barry Hughart.

Beowulf is among the best known of the Old English tales in the English speaking world, and has had deep influence on the fantasy genre; several fantasy works have retold the tale, such as John Gardner 's Grendel. Norse mythology, as found in the Elder Edda and the Younger Edda, includes such figures as Odin and his fellow Aesir, and dwarves, elves, dragons, and giants. These elements have been directly imported into various fantasy works. The separate folklore of Ireland, Wales, and Scotland has sometimes been used indiscriminately for "Celtic" fantasy, sometimes with great effect; other writers have specified the use of a single source. The Welsh tradition has been particularly influential, due to its connection to King Arthur and its collection in a single work, the epic Mabinogion.

There are many works where the boundary between fantasy and other works is not clear; the question of whether the writers believed in the possibilities of the marvels in A Midsummer Night's Dream or Sir Gawain and the Green Knight makes it difficult to distinguish when fantasy, in its modern sense, first began.