The Beijing intermediate court handed down the sentence to Wang Gongzuo on Thursday, the Beijing News said. Wang declined to appeal the verdict.
He was convicted of killing Emmanuel Madrigal, 49, and his daughter Regina Mia Madrigal on Tiananmen Square on the morning of April 19.
Madrigal's wife was also seriously wounded in the attack, but survived, the paper said.
The family were a part of a Filipino tour group visiting the famous site.
The attack occurred near the mausoleum of former Chinese leader Mao Zedong situated in the middle of the square.
The court determined that Wang, a native from China's eastern Jiangsu province, was unsatisfied with life and his motive in the killings was to vent his rage, the paper said.