pick/draw someone’s name out of a hat - definition and synonyms

phrase
  1. to choose someone as the winner of a competition in which everyone has an equal chance of winning, often by taking a name written on a piece of paper out of a container
     Synonyms and related words
See also main entry: hat