A resolution on establishing the investigative mechanism was adopted yesterday in the 193-nation assembly by a vote of 105 to 15, with 52 abstentions.
The panel will work closely with the UN Commission of Inquiry which has submitted several reports detailing atrocities committed during the war that has killed more than 310,000 people.
Civil society groups have also been compiling documents, lists of witnesses and video footage that could one day be used in a court of law.
Addressing the assembly, Liechtenstein's Ambassador Christina Wenaweser said the resolution would address the Security Council's failure to ensure those responsible for serious crimes face justice.
More From This Section
Russia, Syria's main ally, and China in 2014 blocked a request by the council that the International Criminal Court begin investigations of war crimes in Syria.
"We are finally taking one meaningful step to meet the expectations that we have failed for such a long time," Wenaweser said.
Russia, China and Iran were among the countries that opposed the measure.
The resolution tasks the UN secretary-general to report within 20 days on the establishment of the new panel, which will be funded by the United Nations.
It will set up an "international, impartial and independent mechanism to assist in the investigation and prosecution of those responsible for the most serious crimes" in Syria since March 2011, when the conflict began.
The panel will "collect, consolidate, preserve and analyze evidence of violations of international humanitarian law and human rights violations and abuses and prepare files in order to facilitate and expedite fair and independent criminal proceedings," according to the draft text.
"By establishing the investigative mechanism, the General Assembly is helping pave the road to accountability after years of unchecked atrocities," said Balkees Jarrah, senior international justice counsel at Human Rights Watch.
"Perpetrators now know that evidence of their misdeeds will be collected to hasten the day when they find themselves in the dock," she said.