This question comes from Reddit and the short answer is, “You can’t.” At least not entirely.
The longer answer is that women that are interested in you will be friendly, BUT TYPICALLY, they will also do other things to show interest as well. The more indicators of interest they give you, the more likely it is that they like you.
What are examples of indicators of interest?
Seeming to be friendlier with you than other people. Finding ways to be around you. Touching you. Responding to you touching them with touching you. Asking you questions about yourself. Laughing at your not particularly funny jokes. Asks for your name. Gives you meaningful compliments. Holding eye contact. Looking down when you hold eye contact with her. Staring at you. Saying things that make it clear she’s trying to impress you. Starting or reinitiating conversations with you. Noting that she’s single.