One becomes a Muslim by believing in the Two Testifications of Faith (refered to in Arabic as ash-Shahadatayn) and uttering them with the intention of leaving out blasphemy.
What are the Two Testifications of Faith?
In English
I bear witness that no one deserves to be worshiped except Allah and I bear witness that Muhammad is the Messenger of Allah
Listen to the two Testifications in English
In Arabic
أشهدُ أنْ لا إلهَ إلاَّ اللهُ وأشهدُ أنَّ محمّداً رسولُ الله (ASHHADU ALLA ILAHA ILLALLAH, WA ASHHADU ANNA MuhammadAR-RASULULLAH)
Listen to the two Testifications in Arabic
The non-Muslim embraces Islam by believing in the Two Testifications of Faith and uttering them with the intention of leaving out blasphemy.
1. The first Testification means that no one or thing deserves to be worshipped except God Who is the Creator of everything.
2. The second Testification states that Muhammad the son of ^Abdillah who was born in Makkah about 1400 years ago is a messenger of God. He was sent to convey what God revealed to him so that the humans believe in and work with the Laws he received and brought. He is truthful in all what he conveyed.
The Two Testifications reject the Godhood of anyone or anything other than God. They confirm the Godhood of God only with the acknowledgment of the message of prophet Muhammad.