pick, etc. something out of a hat

pick, etc. something out of a hat

(informal) choose somebody/something completely by chance: We couldn’t decide where to go on holiday so we just picked a place out of a hat.
See also: hat, of, out, something