Indonesia (, ; Indonesian: ), officially the The Unitary State of the Republic of Indonesia or 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 Chinese dynasties and Indian kingdoms. Local rulers gradually absorbed foreign cultural, religious and political models from the early centuries CE, 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. Indonesia experienced a long period of Dutch colonialism that started from Amboina and Batavia, eventually covering all of the archipelago including Timor and Western New Guinea, and at times interrupted by Portuguese, French and British rule. 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.