Ogre comes from the French and was originally thought to have been coined by either Charles Perrault (1628-1703) or Marie-Catherine Jumelle de Berneville, Comtesse d' Aulnoy (1650-1705), both of whom were French authors. Other sources say that the name is from the word Hongrois, which means Hungarian.[1] Now it is thought that the word was actually inspired by the works of Italian author Giambattista Basile (1575-1632), who used the Neapolitan word uerco, in standard Italian orco. This word is documented [1] in earlier Italian works (Fazio degli Uberti, XIV cent.; Luigi Pulci, XV; Ludovico Ariosto, XV-XVI) and has even older cognates with the Latin orcus and the Old English orcnēas found in Beowulf lines 112-113, which inspired J.R.R. Tolkien's Orc. [2] All these words may derive from a shared Indo-European mythological concept (as Tolkien himself speculated, as cited by Tom Shippey, The Road to Middle-earth, 45).
The first appearance of the word ogre in Perrault's work occurred in his Histoires ou Contes du temps Passé (1697).