Searching RPG.SE for terms like "5e digital resources" or "5e spell search" gets me questions like
this and
this, which link to the SRD and a number of other isolated collections of spells. They also link to dndclassics.com, a search of which revealed purchasable character building programs which claim to contain all the spells in the game.