HBFGen: A maple package to construct the Hirota bilinear form for nonlinear equations. A reliable algorithm for symbolic computation of Hirota bilinear form of nonlinear equations by a logarithm transformation is restudied. The software package HBFGen is written in Maple and its running efficiency is tested by a variety of soliton equations.