The idiom all intents and purposes (in all important respects) is so spelled. The singular, which, by definition, rarely if ever appears, would be intent and purpose. Many variant spellings exist; all are incorrect.