Karachi is the capital city of the province of Sindh, Pakistan. It is the largest city in Pakistan and 12th largest in the world, with a population of over 20 million. It is situated at the southern tip of the country along the Arabian Sea coast and formerly served as the country's capital from 1947 to 1959. Ranked as a beta-global city, it is Pakistan's premier industrial and financial centre, with an estimated GDP of over $200Ā billion (PPP) as of 2021. Karachi is a major metropolitan area and is considered Pakistan's most cosmopolitan city, and among the country's most linguistically, ethnically, and religiously diverse regions, as well as one of the country's most progressive and socially liberal cities.
The region has been inhabited for millennia, but the city was formally founded as the fortified village of Kolachi as recently as 1729. The settlement greatly increased in importance with the arrival of the East India Company in the mid-19th century. British administrators embarked on substantial projects to transform the city into a major seaport, and connect it with the extensive railway network of the Indian subcontinent. At the time of Pakistan's independence in 1947, the city was the largest in Sindh with an estimated population of 400,000 people, and a slim Hindu majority. Following the partition of India, the city experienced a dramatic shift in population and demography with the arrival of hundreds of thousands of Muslim immigrants from India, coupled with an exodus of nearly all of its Hindu residents. The city experienced rapid economic growth following Pakistan's independence, attracting migrants from throughout the country and other regions in South Asia. According to the 2023 Census of Pakistan, Karachi's total population was 20.3Ā million. Karachi is one of the world's fastest-growing cities, and has significant communities representing almost every ethnic group in Pakistan. Karachi holds more than two million Bengali immigrants, a million Afghan refugees, and up to 400,000 Rohingyas from Myanmar.