Ankit was with friends when he slipped off the 40-metre precipice at The Gap, near the historic port town of Albany, the ABC news reported.
He was studying in Perth, and had been running and jumping on the rocks before he slipped and plunged into the ocean while taking a photo with friends on Thursday, the report said.
His body was recovered from the water just over an hour later following a search involving a rescue helicopter.
"He was just very careful, just to take a picture and he just slipped down there, on the hill," his friend was quoted as saying by the report.
Police are still trying to contact the student's parents.
All I know at this stage is that there is a small group, we think of about five young adults, they were down here within the vicinity of the platform behind me around the rocks," Wood said.
"It is a dangerous area but if you take precautions and stay between the bounds, then these things won't happen."
The site was briefly closed two years ago to add a viewing platform and railings and warning signs near the edge.
Get Breaking news, live coverage, and Latest News from India and around the world on NDTV.com. Catch all the Live TV action on NDTV 24x7 and NDTV India. Like us on Facebook or follow us on Twitter and Instagram for latest news and live news updates.