'Tranne' and 'a parte' are informal and mainly used while speaking. While 'eccetto' is formal, used when writing, and often used to give instructions.