إِنَّنِىٓ أَنَا ٱللَّهُ لَآ إِلَـٰهَ إِلَّآ أَنَا۠ فَٱعْبُدْنِى وَأَقِمِ ٱلصَّلَوٰةَ لِذِكْرِىٓ ﴿14﴾
14 Lo! I, even I, am Allah, There is no Allah save Me. So serve Me and establish worship for My remembrance.
Taha 20:14 on Quran.com · Pickthall’s translation
At the burning bush Allah says to Musa: Indeed, I am Allah. There is no god except Me, so worship Me. Singular, first person, as plain as it can be. Elsewhere He says: Indeed, it is We who sent down the reminder, and indeed, We will be its guardian (al-Hijr 15:9). If Allah is One, why “We”?
Arabic, like many languages, has a plural of majesty. A single speaker of great standing can say nahnu, we, to speak of himself. Arabic dictionaries list this use alongside the ordinary plural. English has the same thing in the royal “we” of a sovereign. It never meant more than one king, and the Quran’s “We” never meant more than one God.
Then why not use it everywhere? Because each form says something, and the Quran uses the one the moment needs. When the point is His oneness, the singular comes: I am Allah, there is no god except Me, said at the very moment Musa is told to worship Him alone. A plural there would blur the very thing being taught.
When the point is His greatness, or acts that show His power, knowledge and wisdom together, the plural comes: sending down the Quran and guarding it, creating, raising the dead. The scholars add that these acts bring together many of His names and attributes, and the plural of majesty carries that weight.
So the switch between “I” and “We” is not inconsistency. Each verse uses the form that carries its message, and you start to hear it once you know to listen. To go further into who Allah is, the 99 names of Allah are the place to start.