Is it okay to invite some work friends to my wedding but not everyone?

Yes, as long as you’re thoughtful and diplomatic. If you aren’t inviting by group—say, your team, floor, or department, where it would be easy for others to understand your choice and not have hurt feelings—then treat those invited as friends, not co-workers, and keep the pre-wedding office chatter to a minimum. Invitations for any co-workers should be sent to their homes. If everyone isn’t invited, ask for addresses privately. If you’re close to your boss, you should invite him or her. It’s a courtesy that shows you value the relationship, and he or she will appreciate the gesture.