No visa is required for ordinary passport holders from Singapore, Brunei and Japan to visit China for up to 15 days for business, sightseeing, visiting relatives and friends or transit.
If you are passing through Beijing(PEK), Chengdu(CTU), Chongching(CKG), Dalian(DLC), Guilin(KWL), Hangzhou(HGH), Guanzhou(CAN), Kunming(KMG), Shanghai(PVG, SHA), Shenyang(SHE) or Xian(XIY) airports you can stay for 72 hours, provided you hold visas for onward countries, final destination tickets, have booked seats and you have a passport from Albania, Argentina, Austria, Australia, Belgium, Bosnia and Herzegovina, Brazil, Brunei, Bulgaria, Canada, Chile, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Japan, Latvia, Lithuania, Luxembourg, Macedonia, Malta, Mexico, Montenegro, Netherlands, New Zealand, Poland, Portugal, Qatar, Romania, Russia, Serbia, Singapore, Slovakia, Slovenia, South Korea, Spain, Sweden, Switzerland, United Arab Emirates, Ukraine, United Kingdom or United States.
A visa on arrival can be purchased for visiting Shenzhen at the border. The visa is available for most except people from USA. The cost starts at 150RMB. This visa is only valid for 5 days and only for the Shenzhen area. It can be obtained from the border crossing with Hong Kong and Shenzhen airport.
Visas can be obtained easily at most embassies and takes around 4 days. Prices vary depending on your nationality.
China visa information
China embassies and consulates
China foreign ministry