A young Geelong father "nearly bled to death" after he was attacked by up to four men who stole his car in a violent home invasion.

The offenders entered a bedroom of the 31-year-old man's Olney Avenue home in Thomson, east Geelong, and seriously assaulted him about 12.50am on Wednesday.

The man was attacked with a machete and suffered such serious wounds to his head and arms he nearly bled to death, according to Seven News.

The victim managed to escape and made his way to his partner's house next door, where he continued to bleed profusely.