For example, like this for PubChem: http://www.cheminfo.org/Chemistry/Database/PubChem/Search_by_exact_mass_in_PubChem/index.html