Structure to SMILES

Draw a molecule, or open a ChemDraw, molfile or SD file, and Lone Pair gives its SMILES, InChI and InChIKey, ready to copy into a notebook, a database search or a paper’s supporting information.

Draw the structure, or open a ChemDraw, molfile or SD file, then press Analyze and Copy beside the SMILES.

Open the editor

Examples

ONHHO
Paracetamol
CC(=O)Nc1ccc(O)cc1
Open in the editor
NH2OHO
L-Alanine
C[C@H](N)C(=O)O
Open in the editor
OHO
Benzoic acid
OC(=O)c1ccccc1
Open in the editor

How to get the SMILES

  1. Open the editor and draw the structure: click with the bond tool to add bonds, type a letter over an atom to change its element, and drag to make rings and chains. Or open a file: ChemDraw CDXML and CDX, molfile, SD file, CML and Marvin all open directly.
  2. Press Analyze in the side panel. Lone Pair lists the SMILES, the formula, the molecular weight, the exact mass, InChI and InChIKey for the whole page, or for the structures you selected.
  3. Press Copy beside the SMILES. Right-clicking a structure also offers Copy SMILES and Copy molfile, and Ctrl+Shift+C copies the SMILES of the selection.

What kind of SMILES you get

The SMILES is written by OpenChemLib from the drawn structure. It keeps stereochemistry that the drawing defines (wedges, hashes and E/Z double bonds) and writes charges, isotopes and explicit hydrogens where they matter. Dative bonds are written with ->. For a drawn reaction, the reaction SMILES is listed with each structure’s formula and an atom and charge balance.

What it does not do

Generic labels such as R, X or a typed note cannot be written in plain SMILES: Lone Pair says so and writes the rest. It does not turn a picture or a scanned page into a structure; the structure has to be drawn or opened from a structure file. Everything is calculated in your browser, so it also works offline from the downloadable single-file copy.

Questions

Can I get SMILES from a ChemDraw file?

Yes. Open the .cdxml or .cdx file in Lone Pair, then press Analyze and copy the SMILES.

Is the SMILES canonical?

It is written by OpenChemLib in a consistent way, but different programs write different valid SMILES for the same molecule. Compare InChIKeys to check two structures are the same.

Is anything uploaded?

No. The structure and its identifiers are calculated in your browser.

More tools

SMILES to structure · Molecular weight calculator · Exact mass calculator · Name to structure

Lone Pair is a free chemical structure editor for journal-quality figures: draw molecules, reactions and mechanisms, open and save ChemDraw files, and get NMR, pKa and mass spectrum estimates. About Lone Pair · Privacy · Terms