Telling somebody they are not invited is the conversation couples dread most, and in the majority of cases it is not required at all. Knowing which situations genuinely need one is most of the difficulty.
Who actually needs telling?
People who have a reasonable expectation of being there and will find out before the day. Close relatives, close friends, anybody who has been openly discussing the wedding with you, and colleagues where some of the team are invited and others are not.
Beyond that group, no announcement is required. Not sending an invitation is itself the message, and drawing attention to it is usually worse than the silence.
When should you say something?
Before the invitations go out, and preferably before save the dates. The worst version of this is somebody discovering it when a mutual friend mentions receiving theirs.
If you already know that a particular person is not being invited, tell them at the point the guest list is settled rather than waiting. The gap between deciding and telling is where the situation gets worse.
What should you actually say?
Short, direct and without an elaborate justification. Say that you are having a small wedding, that you have had to make difficult decisions about numbers, and that you wanted them to hear it from you.
Do not offer a detailed explanation, because every reason invites a counterargument. Numbers is a complete answer and it is almost always the true one.
Should you give a reason at all?
A brief one is kinder than none, but keep it general. Budget or capacity are both acceptable and neither is personal.
Avoid saying you are only inviting family if you are also inviting friends, or that it is very small if it is a hundred and twenty. People compare notes and an explanation that turns out not to be true does more damage than the original decision.
How should the conversation happen?
By phone or in person for anybody close, and by message for anybody less so. A conversation is harder to have and considerably better received than a text for people who matter to you.
Whichever of you knows them better should do it, alone. Handing a difficult conversation about your own friend to a partner is unfair and it goes worse.
What about evening invitations?
Send them at the same time as the full day ones rather than later. Guests compare, and a batch arriving a fortnight after the others is transparent.
Be clear about the timing and whether food is provided. Most awkwardness about evening invitations comes from ambiguity rather than from the invitation itself.
What if they react badly?
Let them, without reopening the decision. Say that you understand and that you are sorry they are disappointed, and do not offer to reconsider unless you genuinely intend to.
A decision that gets reversed under pressure teaches everybody that pressure works, and the second round of guest list conversations is considerably worse than the first.
What about children?
A child free wedding needs telling before the invitations rather than through them, because parents have to arrange childcare and some will decline.
Be consistent. Exceptions for some children and not others is the version of this that causes lasting resentment, and if you make one you should expect to be asked about it. Deciding early and applying it evenly is the only approach that holds up, and most parents accept it perfectly well when they have had notice.
What if they invite themselves?
Answer once, kindly and clearly, without pretending the decision is still open. Saying that you are sorry but numbers are fixed is a complete answer, and softening it into a maybe simply moves the conversation to a worse moment later.
This happens most often with colleagues and with the wider family, and it is usually more awkward to anticipate than to handle.
What if they invited you to theirs?
It creates an expectation and it is not an obligation. Weddings differ enormously in size, and somebody who had two hundred guests may well understand a wedding of forty.
Say it directly rather than avoiding them. Acknowledging that you were at theirs and explaining that yours is much smaller is a better conversation than silence followed by an absent invitation.