Pretty much any design software does this. I’d personally use indesign. But even word can merge.
Then you’ll need a CSV (spreadsheet) of all the names.
Helpful tip; put everything on a master page that’s on all the invites (pretty much everything aside from the names) and then merge the names. The file will be a LOT smaller.