QUICK ANSWER
"Hi" is a form of "hi", an interjection which is often translated as "hola". "My name is" is a phrase which is often translated as "me llamo". Learn more about the difference between "my name is" and "hi" below.
my name is(
may
neym
ihz
)A phrase is a group of words commonly used together (e.g., once upon a time).
1. (general)
b. mi nombre es
This is my wife, Alicia, and my name is Pedro.Esta es mi esposa, Alicia, y mi nombre es Pedro.
hi(
hay
)An interjection is a short utterance that expresses emotion, hesitation, or protest (e.g., Wow!).
1. (colloquial) (salutation)
A word or phrase that is commonly used in conversational speech (e.g., skinny, grandma).