Terminating the rental contract properly and in writing is very important in Germany. If you don’t cancel your rental agreement in writing, the termination notice is not legally valid.
You can create a rental contract termination letter on GermanPedia for free.
You must send the rental agreement cancellation letter by registered post. This acts as proof that your landlord received the rental contract termination letter.