SMILES to Structure Converter Online

In short: Paste SMILES or import a compound from PubChem, render a 2D chemical structure, and download SVG, PNG, or JPG. It is free, works in your web browser and needs no download.

Paste a SMILES string and render a compact 2D chemical structure instantly. Download the molecule drawing as SVG, PNG, or JPG.

Quick answer: This free online tool converts SMILES to a 2D structure drawing in the browser and lets you export the rendered molecule as SVG, PNG, or JPG.

SMILES Input

Structure Output

Copy
Ready.

Convert SMILES to a chemical structure image

SMILES is compact and machine-readable, but reports, slides, and teaching materials often need a visible 2D structure. This converter draws the molecule from the SMILES string and provides image downloads for quick reuse.

File Format Explained

SMILES is a one-line molecular notation that stores connectivity in text form. It is ideal for databases and converters, but not for human-friendly visual layout.

SVG is a vector image format, best for crisp structures in slides and documents. PNG and JPG are raster image formats, useful for quick sharing, web uploads, and reports.

Related SMILES tools

Related guides

How to convert SMILES to a structure

  1. Paste a SMILES string into the box above, or type a compound name or PubChem CID in the search field to fetch its SMILES.
  2. Click Draw structure. The 2D skeletal structure appears straight away; errors are shown under the box.
  3. Download or copy the structure as SVG (sharp in slides and papers), PNG or JPG, or open it in the MolDraw editor to keep drawing.

SMILES examples: common molecules

Click Draw to load any of these into the converter.

MoleculeSMILESFormula
Paracetamol (acetaminophen)CC(=O)NC1=CC=C(O)C=C1C₈H₉NO₂
CaffeineCN1C=NC2=C1C(=O)N(C(=O)N2C)CC₈H₁₀N₄O₂
Aspirin (acetylsalicylic acid)CC(=O)OC1=CC=CC=C1C(=O)OC₉H₈O₄
IbuprofenCC(C)CC1=CC=C(C=C1)C(C)C(=O)OC₁₃H₁₈O₂
EthanolCCOC₂H₆O
BenzeneC1=CC=CC=C1C₆H₆
Nicotine, (S)-CN1CCC[C@H]1C2=CN=CC=C2C₁₀H₁₄N₂
DopamineNCCC1=CC(O)=C(O)C=C1C₈H₁₁NO₂
SerotoninNCCC1=CNC2=C1C=C(O)C=C2C₁₀H₁₂N₂O
β-D-GlucoseC([C@@H]1[C@H]([C@@H]([C@H]([C@@H](O1)O)O)O)O)OC₆H₁₂O₆

SMILES syntax in 60 seconds

RuleExampleMeans
Atoms: organic-subset symbols, others in bracketsCCO, [Na+], [nH]Ethanol; sodium ion; aromatic N–H
Bonds: single implied, = double, # tripleC=C, C#NEthene; nitrile
Branches in parenthesesCC(C)CIsobutane
Ring closures with digitsC1CCCCC1Cyclohexane
Lowercase = aromaticc1ccccc1Benzene
Charges in bracketsC[N+](C)(C)C, [O-]Tetramethylammonium; oxide
Double-bond geometry with / and \C/C=C/C(E)-2-butene
Chirality with @ and @@N[C@@H](C)C(=O)OL-alanine
A dot separates fragments[Na+].[Cl-]Sodium chloride

Sources: D. Weininger, "SMILES, a chemical language and information system. 1. Introduction to methodology and encoding rules", J. Chem. Inf. Comput. Sci. 1988, 28, 31–36; OpenSMILES specification.

More detail: SMILES notation guide.

Why won't my SMILES draw?

Frequently asked questions

How do I convert SMILES to a structure?

Paste the SMILES string into the box at the top of this page and click Draw structure. The 2D structure can be downloaded as SVG, PNG or JPG, or opened in the MolDraw editor.

What is the SMILES for paracetamol?

CC(=O)NC1=CC=C(O)C=C1 (aromatic form: CC(=O)Nc1ccc(O)cc1). Its formula is C₈H₉NO₂.

Can I convert SMILES to a 3D structure or a file?

Yes: use SMILES to 3D, SMILES to SDF, SMILES to MOL or SMILES to PDB.

Can I go the other way, from a structure to SMILES?

Yes: draw the molecule in the structure to SMILES converter and copy the SMILES.

Is the SMILES to structure converter free?

Yes. It runs in your browser, needs no account and has no limit on the number of conversions.

Last updated: