What's your name? = ¿Cómo te llamas?
Remember, when speaking to someone your age or younger, use a tú form of this phrase. When speaking to someone older than you or to whom you want to show respect or deference, use an usted form.