In English:
Blessed are You, Lord our G-d, King of the universe, Who has sanctified us by His commandments, and commanded us to affix the mezuzah.
In Hebrew:
בָּרוּךְ אַתָּה ה', אֱלֹהֵינוּ מֶלֶךְ הָעוֹלָם, אֲשֶׁר קִדְּשָׁנוּ בְּמִצְוֹתָיו וְצִוָּנוּ לִקְבּוֹעַ מְזוּזָה.
The mezuzah contains a parchment scroll inscribed with the following verses from the Torah:
Hear, O Israel: the Lord our G-d, the Lord is One. (Deut. 6:4)
And you shall write them upon the doorposts of your house, and upon your gates. (Deut. 6:9)
These verses serve as a constant reminder of the Oneness of G-d and of our obligation to keep His commandments.