I would ask them why they wanted to know. I'd say, "¿Por qué quiere saber?" Do you freely give out your name to everyone who asks?
"Como te llamas" translates to "What is your name?" in English.
como te llamas?
como estas - how are you? and if someone asked you como estas, you would answer such as "bien(good), y tu(and you)?"
you would say como se llamas.
Me llamo [tu nombre].
Como te llamas? means What is your name?
what is your name and how are you?
Como te llamas se dice What's you name ?
como te llamas
No. It is familiar. The formal would be, "Como se llama Ud.?"
"Como te llamas mija" translates to "What is your name, my daughter?" in English. It is a way to politely ask someone for their name in Spanish, using the term "mija" as a familiar and affectionate term.
Formal means that you are talking to someone older than you or someone you would show respect to. Examples are ¿Como se llamas? you are asking someone like a child or someone your age what their name is. ¿Como te llama? is asking the same thing but you would use it when talking to someone older than you, or who is in a higher position than you are.