structural:scholar_edition, stylistic:style_transfer, information:classification, linguistic:translation
Karachi (/ k ə ˈ r ɑː tʃ i /; Urdu: کراچی; Sindhi: ڪراچي; IPA:) is the capital city of the Pakistani province of Sindh. It is the largest city in Pakistan and the 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 capital of Pakistan. 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 metropolitan city 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. Afterwards, 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 most 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.

Karachi is now Pakistan's premier industrial and financial centre. The city has a formal economy estimated to be worth $190 billion as of 2021, which is the largest in the country. Karachi collects 35% of Pakistan's tax revenue, and generates approximately 25% of Pakistan's entire GDP. Approximately 30% of Pakistani industrial output is from Karachi, while Karachi's ports handle approximately 95% of Pakistan's foreign trade. Approximately 90% of the multinational corporations and 100% of the banks operating in Pakistan are headquartered in Karachi. It also serves as a transport hub, and contains Pakistan's two largest seaports, the Port of Karachi and Port Qasim, as well as Pakistan's busiest airport, Jinnah International Airport. Karachi is also considered to be Pakistan's fashion capital, and has hosted the annual Karachi Fashion Week since 2009.

Known as the "City of Lights" in the 1960s and 1970s for its vibrant nightlife, Karachi was beset by sharp ethnic, sectarian, and political conflict in the 1980s with the large-scale arrival of weaponry during the Soviet–Afghan War. The city had become well known for its high rates of violent crime, but recorded crimes sharply decreased following a crackdown operation against criminals, the MQM political party, and Islamist militants, initiated in 2013 by the Pakistan Rangers. As a result of the operation, Karachi dropped from being ranked the world's 6th-most dangerous city for crime in 2014, to 128th by 2022.