Question: is inspite one word or two?
Answer: I would suggest that inspite — as written in your question — is not in fact a word. I think you must mean in spite of, which is directly interchangeable with despite. He went for a walk in spite of the rain. He went for a walk despite the rain.