Gold shops are usually equipped with gold purity testing instruments to measure the purity of gold ornaments or gold bars. Common gold purity detection instruments are X-ray fluorescence spectrometer (XRF) and electron mass spectrometer (ICP-MS).
These instruments can determine the purity of gold by analyzing the elemental composition of gold samples and give the corresponding test results. If you want to test the purity of gold, you can consult a local gold shop or jewelry store, which usually provides this service.