Turkey has strongly condemned attacks in China's troubled Xinjiang province in which about 30 people died and almost 100 others were injured. 

Two off-road vehicles broke through roadside fences in a downtown area of the region's capital, Urumqi, and the occupants threw explosives before plowing the vehicle into shoppers earlier on Thursday, according Xinhua, China's national news agency.

"We strongly condemn these attacks and hope those responsible will appear before the judge,"  the Turkish foreign ministry said in a written statement. 

Turkey has always done its full share of work in counter-terrorism and will continue to fight against it, the statement added. 

Chinese President Xi Jinping pledged to severely punish "terrorists" involved in the incident and spare no effort in maintaining stability.

No one has claimed responsibility for the attack.

The death toll was the highest in the region since almost 200 people were killed in the regional capital during riots in 2009.

Three people were killed and 79 injured in a bomb attack on a rail station in Urumqi last month.