This paper deals with a new generalization of Hilbert's integral inequality with a best possible constant factor involving the β function. As applications, general inequalities equivalent to Hilbert's type inequality and Hardy-Littlewood's integral inequality are proved.