A top futurist at Google says it's going to be possible by the year 2045:

In just over 30 years, humans will be able to upload their entire minds to computers and become digitally immortal - an event called singularity - according to a futurist from Google.

Ray Kurzweil, director of engineering at Google, also claims that the biological parts of our body will be replaced with mechanical parts and this could happen as early as 2100.

Kurzweil made the claims during his conference speech at the Global Futures 2045 International Congress in New York at the weekend.

The alleged upside to all this: you're online forever!