The Cocos (Keeling) Islands are an Australian territory of 27 coral islands that are formed into two large coral atolls and cover an area of around 14 sqmi of the Indian Ocean to the northwest of Perth, Australia.