Although they have the same meaning, ‘thanks to’ has more of a positive connotation (unless you use it in a sarcastic way), and ‘due to’ is more neutral, as it can have negative or positive connotation!
Here are some examples of use:
Positive – John had been saved, thanks to one little boy’s bravery.
Sarcastic – Mum won’t let me see my friends tonight, thanks to you! (In this case ‘thanks to’ could also be replaced by ‘because of’)
Positive – Sally received a promotion, due to all the hard work she had done that year.
Negative – All the flights had been cancelled, due to the volcano eruption.
Recommended for you:
Is it good to say “it’s my pleasure to meet you
Useful English Phrases For Running A Business Meeting
I’m still confused with “due to” and “because of”
What’s the meaning of ‘ making due eyes ..