Does it happens with you as well guys?

Hello, I wanted to know the perspective of others from long time on this. I am really good with talking when its about chatting or texting and I talk so flawless and smooth. But when I meet anyone in real life, I become shy or introvert so fast and not able to speak up a single word and just become too nervous or quite suddenly and just nodding head on anything someone says.

Is it just me or happens with anyone else too? and How can I correct it, as I tried a lot and still same things happens anytime I meet someone.

PS: I am only talking about meeting any female, with guys I am always chill and funny friend they need HAHA!!!