---
title: "SMILES to Structure Converter Online | Draw 2D Molecules | MolDraw"
url: https://www.moldraw.com/tools/free-chem-tools/smiles-to-structure.html
description: "SMILES to structure converter online by MolDraw. Paste SMILES or import a compound from PubChem, render a 2D chemical structure, and download SVG, PNG, or JPG."
lang: en
publisher: LabCanvas Private Limited
generated: 2026-12-02
---
# 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.

- Use SVG for crisp vector graphics in documents and presentations.
- Use PNG for transparent raster images in web or slide workflows.
- Use JPG when a white-background image is preferred.

### Related SMILES tools

[Structure to IUPAC Name](https://www.moldraw.com/tools/free-chem-tools/structure-to-iupac-name.html) [SMILES to IUPAC](https://www.moldraw.com/tools/free-chem-tools/smiles-to-iupac-name-converter.html) [SMILES to InChI](https://www.moldraw.com/tools/free-chem-tools/smiles-to-inchi-converter.html) [SMILES to 3D](https://www.moldraw.com/tools/free-chem-tools/smiles-to-3d-structure-converter.html) [SMILES to MOL file](https://www.moldraw.com/tools/free-chem-tools/smiles-to-mol-converter.html) [SMILES to SDF](https://www.moldraw.com/tools/free-chem-tools/smiles-to-sdf-converter.html) [SMILES to molecular weight](https://www.moldraw.com/tools/free-chem-tools/smiles-to-molecular-weight.html) [InChIKey to SMILES](https://www.moldraw.com/tools/free-chem-tools/inchikey-to-smiles-converter.html) [Open MolDraw editor](https://www.moldraw.com/)

### Related guides

[Free chemical databases to find SMILES](https://www.moldraw.com/blog/free-chemical-databases-guide.html) [All free MolDraw chemistry tools](https://www.moldraw.com/blog/moldraw-all-free-chemistry-tools-guide.html) [MolDraw video tutorials](https://www.moldraw.com/tutorials/) [Free MolDraw course](https://www.moldraw.com/docs/)

## 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.

| Molecule | SMILES | Formula |  |
| --- | --- | --- | --- |
| Paracetamol (acetaminophen) | `CC(=O)NC1=CC=C(O)C=C1` | C₈H₉NO₂ |  |
| Caffeine | `CN1C=NC2=C1C(=O)N(C(=O)N2C)C` | C₈H₁₀N₄O₂ |  |
| Aspirin (acetylsalicylic acid) | `CC(=O)OC1=CC=CC=C1C(=O)O` | C₉H₈O₄ |  |
| Ibuprofen | `CC(C)CC1=CC=C(C=C1)C(C)C(=O)O` | C₁₃H₁₈O₂ |  |
| Ethanol | `CCO` | C₂H₆O |  |
| Benzene | `C1=CC=CC=C1` | C₆H₆ |  |
| Nicotine, (S)- | `CN1CCC[C@H]1C2=CN=CC=C2` | C₁₀H₁₄N₂ |  |
| Dopamine | `NCCC1=CC(O)=C(O)C=C1` | C₈H₁₁NO₂ |  |
| Serotonin | `NCCC1=CNC2=C1C=C(O)C=C2` | C₁₀H₁₂N₂O |  |
| β-D-Glucose | `C([C@@H]1[C@H]([C@@H]([C@H]([C@@H](O1)O)O)O)O)O` | C₆H₁₂O₆ |  |

## SMILES syntax in 60 seconds

| Rule | Example | Means |
| --- | --- | --- |
| Atoms: organic-subset symbols, others in brackets | `CCO`, `[Na+]`, `[nH]` | Ethanol; sodium ion; aromatic N–H |
| Bonds: single implied, `=` double, `#` triple | `C=C`, `C#N` | Ethene; nitrile |
| Branches in parentheses | `CC(C)C` | Isobutane |
| Ring closures with digits | `C1CCCCC1` | Cyclohexane |
| Lowercase = aromatic | `c1ccccc1` | Benzene |
| Charges in brackets | `C[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)O` | L-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](https://doi.org/10.1021/ci00057a005); [OpenSMILES specification](http://opensmiles.org/opensmiles.html).

More detail: [SMILES notation guide](https://www.moldraw.com/tools/free-chem-tools/smiles-notation-guide.html).

## Why won't my SMILES draw?

- **Unclosed ring or branch:** every ring digit needs a partner (`C1CCCC1`) and every `(` a `)`.
- **Impossible valence:** a neutral carbon with five bonds, or an N with four bonds and no + charge.
- **Aromatic atoms outside a ring:** lowercase `c`, `n`, `o` must be part of an aromatic ring; pyrrole-type N needs `[nH]`.
- **Hidden characters:** text copied from PDFs can carry spaces, line breaks or look-alike dashes; paste it as plain text.
- **A name instead of SMILES:** type names into the search field, or use [name to structure](https://www.moldraw.com/tools/free-chem-tools/name-to-structure.html).

## 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](https://www.moldraw.com/tools/free-chem-tools/smiles-to-3d-structure-converter.html), [SMILES to SDF](https://www.moldraw.com/tools/free-chem-tools/smiles-to-sdf-converter.html), [SMILES to MOL](https://www.moldraw.com/tools/free-chem-tools/smiles-to-mol-converter.html) or [SMILES to PDB](https://www.moldraw.com/tools/free-chem-tools/smiles-to-pdb-converter.html).

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

Yes: draw the molecule in the [structure to SMILES converter](https://www.moldraw.com/tools/free-chem-tools/structure-to-smiles-converter.html) 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.

## Related chemistry tools

[VSEPR Molecular Geometry Calculator &amp; Chart](https://www.moldraw.com/tools/free-chem-tools/vsepr-molecular-geometry-calculator.html)[SMILES Notation Guide](https://www.moldraw.com/tools/free-chem-tools/smiles-notation-guide.html)

Last updated: November 8, 2026
