Use 'alsjeblieft' with friends, family, and people you address as 'je' or 'jij', and 'alstublieft' with strangers, authority figures, or anyone you address as 'u'. The choice depends on the level of formality you want to convey, and Dutch speakers generally appreciate it when learners make an effort to match the social context.
Both words mean 'please' or 'here you go', but they also serve as a polite way to hand something to someone. 'Alsjeblieft' is the informal version, used in casual settings like with peers, children, or close colleagues. 'Alstublieft' is the formal version, used in shops, restaurants, with older people, or in professional situations where you want to show respect. The 'u' in 'alstublieft' directly corresponds to the formal 'you', so if you would use 'u' for the person, you should use 'alstublieft'.
A common tradeoff: if you use 'alsjeblieft' with a stranger, it might come across as too casual or even rude, especially in service contexts. On the other hand, using 'alstublieft' with a friend can sound overly stiff or distant. The safest rule is to default to 'alstublieft' when in doubt, especially if you are not sure about the relationship. Over time, you will pick up cues from how others address you.
In practice, Dutch people are generally forgiving to learners and understand that you might mix them up. The most important thing is to be polite and aware of the context. As you gain more exposure, you will naturally notice patterns: in a supermarket checkout, the cashier will say 'alstublieft' to you, and you can respond with the same. Among friends, you will hear 'alsjeblieft' constantly.
To build confidence, start by using 'alstublieft' in all public interactions and with people you do not know well. Reserve 'alsjeblieft' for friends, family, and informal settings. Listening to Dutch conversations in media or real life will help you internalize the distinction. There is no strict rule that you must never deviate, but matching the formality level is a sign of social awareness and will make your Dutch sound more natural.