"man-eating giant of fairy tales and popular legends," 1713, hogre (in a translation of a French version of the Arabian Nights), from French ogre, first used in Perrault's "Contes," 1697, and perhaps formed by him from a dialectal variant of Italian orco "demon, monster," from Latin Orcus "Hades," which is of unknown origin. In English, more literary than colloquial. The conjecture that it is from Byzantine Ogur "Hungarian" or some other version of that people's name (perhaps via confusion with the bloodthirsty Huns), lacks historical evidence. Related: Ogrish; ogreish; ogrishness; ogreishness.
"ogre, devouring monster," 1590s, perhaps a reborrowing of the same word that became Old English orcþyrs, orcneas (plural), which is perhaps from a Romanic source akin to ogre, and ultimately from Latin Orcus "Hell," a word of unknown origin. Also see Orca. Revived by J.R.R. Tolkien (1892-1973), who might have got it from Beowulf, as the name of a brutal race in Middle Earth.
But Orcs and Trolls spoke as they would, without love of words or things; and their language was actually more degraded and filthy than I have shown it. ["Return of the King," 1955]