1012807 in words is written as :

One Million Twelve Thousand Eight Hundred and Seven