You´re question confused me, because everytime I wanted to give you an example, I didn´t know, which one I should take. Then I googled it and found out that:
"allein" is the correct written form and
"alleine" is used when people speak. It´s more informal.
Hope that helped. :)