OPSIN
Name-to-structure conversion: IUPAC nomenclature to SMILES or InChI.
Tool 076 of 100 in the MolForge directory of open-source tools. Every fact below was read from the repository's host on 2026-11-28.

What OPSIN is
OPSIN (Open Parser for Systematic IUPAC Nomenclature) is a Java library and command-line tool that converts systematic chemical names into machine-readable structures. It treats a name as a sentence written in the grammar of IUPAC nomenclature (the international rules for naming compounds), breaks it into tokens such as parent chains, substituents and locants, and assembles a molecular graph from them. The result is written as SMILES (a line notation for molecules), InChI or CML.
People typically feed OPSIN lists of names extracted from papers, patents or supplier catalogues, one name per line, and collect SMILES or InChIKeys on the other side. It runs as an executable jar, as a library inside Java applications and through a web form. Since the output is plain SMILES or InChI, any toolkit such as the CDK, RDKit or Open Babel can take it from there.
OPSIN is a parser, not a dictionary. It knows the retained trivial names that the IUPAC rules allow but has no table of brand names or database identifiers, so names such as those of marketed drugs need a lookup service instead.
Features
- Parses systematic IUPAC names, including R, S, E and Z stereodescriptors
- Writes SMILES, CXSMILES, standard InChI, InChIKey and CML
- Runs as a command-line jar reading one name per line from standard input
- Usable as a Java library embedded in other applications
- Options to accept radicals and to tolerate stereochemistry it cannot fully interpret
- Reports the reason a name failed to parse when asked for detailed failure analysis
What it is for
- Convert lists of names from the literature or patents into SMILES in batch
- Check names generated by other software by parsing them back to structures
- Build structures from names inside a Java cheminformatics pipeline
- Resolve names found by text mining into InChIKeys for database lookup
Verified facts
| Family | Cheminformatics |
|---|---|
| Language or basis | Java |
| Repository | https://github.com/dan2097/opsin (GitHub) |
| Licence | MIT (SPDX identifier as declared in the repository) |
| Main language on GitHub | Java |
| Last commit | 2026-11-21 |
| Latest release | opsin-2.10.0 (2026-11-19) |
| Stars | 249 on 2026-11-28 |
| Open issues and pull requests | 111 on 2026-11-28 |
| Repository created | 2020-04-05 |
| Verified | 2026-11-28 by MolForge's checking script, against the host's API |
Where OPSIN fits
Represent, convert and manipulate chemical objects: SMILES, InChI, fingerprints, substructures.
Questions people ask
- Can OPSIN convert trade names or common drug names to structures?
- Only partly. OPSIN is a grammar-based parser of systematic nomenclature, not a name dictionary. It recognises the retained trivial names that IUPAC allows, such as toluene or acetic acid, but holds no list of brand or generic drug names. For those, a lookup in PubChem or ChEMBL is the right route; OPSIN then handles the systematic names such services return.
- Does OPSIN work from Python?
- OPSIN is written in Java and has no official Python API. The usual approach is to call the command-line jar as a subprocess, send names on standard input and read SMILES from standard output, which requires a Java runtime. Community wrappers exist; check how actively they are maintained before building on one.
- How is OPSIN different from a name generator such as the one in ChemDraw?
- Direction. OPSIN goes from name to structure; it does not produce names from structures. Structure-to-name generation is a separate problem handled by other programs, several of them proprietary. OPSIN is often used alongside them to verify a generated name by parsing it back and comparing the resulting InChIKey with that of the original structure.
- Does OPSIN handle stereochemistry?
- Yes. It interprets R and S descriptors on stereocentres, E and Z or cis and trans on double bonds, and writes them into the SMILES or InChI output. An option lets it accept a name whose stereo descriptors it cannot fully interpret rather than rejecting it, which is useful when processing noisy text-mined names.
- Is OPSIN open source?
- Yes. The repository declares the MIT licence (SPDX identifier read from the host on 2026-11-28). Read the licence text in the repository before redistributing or embedding it.
- Where is the OPSIN source code?
- At https://github.com/dan2097/opsin (GitHub). This is the address the host reported on the day of verification; renamed repositories are followed to their new home.
- Is OPSIN still maintained?
- The last commit was pushed on 2026-11-21 and the latest tagged release is opsin-2.10.0 from 2026-11-19; the repository had 111 open issues and pull requests on 2026-11-28.
- Does MolForge use OPSIN?
- No. MolForge runs nine of the hundred tools in this directory (RDKit, OpenMM, AutoDock Vina, Open Babel, MDTraj, pymbar and NGL, plus PySCF and xTB in MFsig); OPSIN is listed because of its place in cheminformatics, not because we run it.
Our comments on OPSIN
MolForge does not run OPSIN in production. This page is a verified pointer, not a review: the facts above come from the repository on the date shown, the description is ours, and we make no claim about accuracy or speed that we have not measured. If you maintain OPSIN and something here is wrong or out of date, write to hello@molforge.ai and we will correct the source file.
Test status
Not tested by MolForge. To check OPSIN yourself: clone the repository, follow the installation section of its README, and run the test suite the project ships before trusting a result; the last-commit date and the open issue count above tell you how alive the project is.