The objective in Slither.io is to control a snake and consume pellets to grow larger and longer. The goal is to become the biggest snake in the session while avoiding collision with other players.