SMILES to structure
Paste a SMILES string to draw its structure and calculate its formula and molar mass.
Read a SMILES string
SMILES describes how atoms connect using plain text. Element symbols are case-sensitive. An omitted bond in the chains below is a single bond, = marks a double bond, parentheses show a branch, and matching digits close a ring. Hydrogens on these unbracketed atoms are inferred from their bonds.
Copy one of the strings below into the tool and select Draw structure. Compare the drawing and formula with the example, then open the compound page for its worked molar-mass calculation.
Worked SMILES examples
- Water
O→ H2O. A single oxygen has two implicit hydrogens.- Ethanol
CCO→ C2H6O. Read the chain as carbon–carbon–oxygen with single bonds.- Isopropyl alcohol
CC(C)O→ C3H8O. The carbon in parentheses branches from the middle carbon, which also bonds to oxygen.- Acetone
CC(=O)C→ C3H6O. The equals sign makes a double bond from the middle carbon to oxygen.- Cyclohexane
C1CCCCC1→ C6H12. The two 1s connect the first and last carbons to close a six-membered ring.- L-Alanine
C[C@@H](C(=O)O)N→ C3H7NO2. The bracketed carbon carries one hydrogen. The @@ specifies how its neighbors are oriented in the order written.