500002023 in words is written as :

Million Two Thousand Twenty Three