From the U.S. Census:
[The HIV/AIDS Database] is a compilation of data from 219 countries and areas on the prevalence of HIV infection and AIDS cases and deaths. Major updates include new data for China, Nigeria, India, South Africa, and Namibia. The database focuses on HIV/AIDS surveillance data for countries and areas with at least 5,000 population, with the exception of Northern America (including the United States) and U.S. territories.
Data from this resource can be downloaded into multiple formats including .csv.
Direct to HIV/AIDS Surveillance Data Base