A keygen, short for "key generator," is a type of software tool used to generate product keys or activation codes for software applications. Product keys are used to verify the authenticity of a software product and ensure that it has been properly licensed.