Metatron is the name of an angel in Judaism and some branches of Christianity. There are no references to him in the Jewish Tanakh (Old Testament) or the Christian Scriptures (New Testament). Metatron does appear in later post-scriptural Islamic esoteric and occult sources. There is no consensus as to his genesis or the role that he plays in the hierarchy of Heaven and Hell.
Metatron is also identified as the "lesser YHVH", which is the Lesser Tetragrammaton, in a Talmudic version as cited by the Karaite scholar Kirkisani. The word 'Metatron' is numerically equivalent to Shaddai (God) in Hebrew gematria; therefore he is said to have a "Name like his Master." It should be noted, however, that Kirkisani misrepresented the Talmud in order to embarrass his Rabbanite opponents with evidence of dualism. Extra-Talmudic mystical texts (see below regarding Sefer Hekhalot) do speak of a "lesser YHVH," apparently deriving the concept from Exodus 23:21, which mentions an angel of whom God says "My name [understood as YHVH, the usual divine proper name] is in him."
The Babylonian Talmud mentions Metatron in two other places: Sanhedrin 38b and Avodah Zarah 3b. Yevamot 16b describes in the Amoraic period the duties of 'prince of the world' being transferred from Michael to Metatron.
Metatron is also mentioned in the Pseudepigrapha, most prominently in the Hebrew/Merkabah Book of Enoch, also called 3 Enoch or Sefer Hekhalot (Book of [the Heavenly] Palaces). The book describes the link between Enoch son of Jared (great grandfather of Noah) and his transformation into the angel Metatron. His grand title "the lesser YHVH" resurfaces here. Metatron says, "He [the Holy One]… called me, 'The lesser YHVH' in the presence of his whole household in the height, as it is written, 'My name is in him.'" (12:5, Alexander's translation). The narrator of this book, supposedly Rabbi Ishmael, tells how Metatron guided him through Heaven and explained its wonders. Here Metatron is described in two ways: as a primordial angel (9:2–13:2) and as the transformation of Enoch after he was assumed into Heaven