Indonesia (, ; Indonesian: ), officially the Republic of Indonesia (Republik Indonesia ), is a country in Southeast Asia, between the Indian and Pacific oceans. It is the world's largest island country, with more than seventeen thousand islands, and at 1,904,569 km2, the 14th largest by land area and the 7th largest in combined sea and land area. With over million people, it is the world's 4th most populous country as well as the most populous Muslim-majority country. Java, the world's most populous island, contains more than half of the country's population.
The sovereign state is a presidential, constitutional republic with an elected parliament. It has 34 provinces, of which five have special status. Jakarta, the country's capital, is the second most populous urban area in the world. The country shares land borders with Papua New Guinea, East Timor, and the eastern part of Malaysia. Other neighbouring countries include Singapore, Vietnam, the Philippines, Australia, Palau, and India's Andaman and Nicobar Islands. Despite its large population and densely populated regions, Indonesia has vast areas of wilderness that support a high level of biodiversity. The country has abundant natural resources like oil and natural gas, tin, copper and gold. Agriculture mainly produces rice, palm oil, tea, coffee, cacao, medicinal plants, spices and rubber. Indonesia's major trading partners are China, United States, Japan, Singapore and India.
History of the Indonesian archipelago has been influenced by foreign powers drawn to its natural resources. It has been an important region for trade since at least the 7th century, when Srivijaya and then later Majapahit traded with entities from mainland China and the Indian subcontinent. Local rulers gradually absorbed foreign cultural, religious and political models from the early centuries and Hindu and Buddhist kingdoms flourished. Muslim traders and Sufi scholars brought Islam, while European powers brought Christianity and fought one another to monopolise trade in the Spice Islands of Maluku during the Age of Discovery. Although sometimes interrupted by the Portuguese, French and British, the Dutch were the foremost European power for much of its 350-year presence in the archipelago. In early 20th century, the concept of "Indonesia" as a nation state emerged, and independence movements began to take shape. During the decolonisation of Asia after World War II, Indonesia achieved independence in 1949 following an armed and diplomatic conflict with the Netherlands.
Indonesia consists of hundreds of distinct native ethnic and linguistic groups, with the largest—and politically dominant—ethnic group being the Javanese. A shared identity has developed, defined by a national language, ethnic diversity, religious pluralism within a Muslim-majority population, and a history of colonialism and rebellion against it. Indonesia's national motto, "Bhinneka Tunggal Ika" ("Unity in Diversity" literally, "many, yet one"), articulates the diversity that shapes the country. Indonesia's economy is the world's 16th largest by nominal GDP and the 7th largest by GDP at PPP. Indonesia is a member of several multilateral organisations, including the UN, WTO, IMF and G20. It is also a founding member of Non-Aligned Movement, Association of Southeast Asian Nations, Asia-Pacific Economic Cooperation, East Asia Summit, Asian Infrastructure Investment Bank and Organisation of Islamic Cooperation.
The name Indonesia derives from the Greek name of the Indos (Ἰνδός) and the word nesos (νῆσος), meaning "Indian islands". The name dates to the 18th century, far predating the formation of independent Indonesia. In 1850, George Windsor Earl, an English ethnologist, proposed the terms Indunesians—and, his preference, Malayunesians—for the inhabitants of the "Indian Archipelago or Malayan Archipelago". In the same publication, one of his students, James Richardson Logan, used Indonesia as a synonym for Indian Archipelago. However, Dutch academics writing in East Indies publications were reluctant to use Indonesia; they preferred Malay Archipelago (Maleische Archipel); the Netherlands East Indies (Nederlandsch Oost Indië), popularly Indië; the East (de Oost); and Insulinde.
After 1900, Indonesia became more common in academic circles outside the Netherlands, and native nationalist groups adopted it for political expression. Adolf Bastian, of the University of Berlin, popularised the name through his book Indonesien oder die Inseln des Malayischen Archipels, 1884–1894. The first native scholar to use the name was Ki Hajar Dewantara, when in 1913 he established a press bureau in the Netherlands, Indonesisch Pers-bureau.