attempts to return the systematic chemical name for the given molecule.


uses the given source to find the molecule name.


  • MoleculeName draws on several sources, including the Wolfram Knowledgebase and external services such as "PubChem" and "ChemSpider".
  • Possible values for "source" include:
  • "Wolfram"the Wolfram Knowledgebase
    "PubChem"the "PubChem" external service
    "Wikidata"uses WikidataData to find a name
    "Cactus"the Cactus Chemical Identifier Resolver
  • If no result is found, MoleculeName will return a Failure object.
  • Chemical names are generally not unique, and the result of MoleculeName is not guaranteed to follow IUPAC nomenclature.
  • The results returned by MoleculeName depend on internet access and the availability of certain external services and may change depending on these services.


open allclose all

Basic Examples  (4)

Find a molecule name:

Find another molecule name:

Create a molecule from a SMILES string and find its name:

Find a chemical name based on an image of a molecule:

Specify the source to see the different names for the same molecule:

For this molecule, "PubChem" returns a systematic name rather than a common name:

Scope  (1)

Create a molecule from a chemical name, then look up the molecule to find an another name:

Use MoleculeEquivalentQ to verify the new name is equivalent:

Possible Issues  (1)

When no chemical names are found, a Failure is returned:

Neat Examples  (1)

Find the names for the first 20 straightchain hydrocarbons. Start by generating SMILES strings:

Next convert these to molecules and find their names:

Wolfram Research (2021), MoleculeName, Wolfram Language function,


Wolfram Research (2021), MoleculeName, Wolfram Language function,


@misc{reference.wolfram_2021_moleculename, author="Wolfram Research", title="{MoleculeName}", year="2021", howpublished="\url{}", note=[Accessed: 22-June-2021 ]}


@online{reference.wolfram_2021_moleculename, organization={Wolfram Research}, title={MoleculeName}, year={2021}, url={}, note=[Accessed: 22-June-2021 ]}


Wolfram Language. 2021. "MoleculeName." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2021). MoleculeName. Wolfram Language & System Documentation Center. Retrieved from