---
title: "How to turn a name or SMILES into a structure | Learn MolDraw"
url: https://www.moldraw.com/learn/how-to-convert-a-name-or-smiles-to-a-structure/
description: "Click Paste SMILES and type a SMILES string, or type a name in the PubChem search box. MolDraw draws the structure for you."
lang: en
publisher: Scidart Academy
generated: 2026-11-25
---
# How to turn a name or SMILES into a structure

Beginner 4 min 3 steps

**Short answer:** Click Paste SMILES and type a SMILES string, or type a name in the PubChem search box. MolDraw draws the structure for you.

**You will learn to:** Paste a SMILES string; Search a name in PubChem; Copy SMILES from your drawing.

1 Watch demo2 Try in editor

## Watch the demo

Press **Play**, or use the arrows to go one step at a time. **Try it yourself** opens the exercise.

### The steps in text

### Step 1: Paste the SMILES of caffeine

1. Click here.
2. Click **Paste SMILES** in the editor. If a box opens, press `Ctrl`+`V` and `Enter`. Then press `Esc`.

### Step 2: Search aspirin by name

1. Click **Clear canvas**.
2. Click the **PubChem** search box at the top. Type **aspirin** and press `Enter`.
3. Click **Fit drawing** if aspirin is off screen.

### Step 3: Copy the SMILES

1. Click **Copy SMILES** in the top row.

## Try it in the editor

Steps

1. 1Paste the SMILES of caffeine
2. 2Search aspirin by name
3. 3Copy the SMILES

The full MolDraw editor opens here. It loads when you open this tab.

## Questions and answers

### Can I paste a SMILES string?

Yes. Click Paste SMILES in the editor and type or paste the text.

### Can I search by name?

Yes. Type a name or CAS number in the PubChem box at the top.

### How do I copy SMILES?

Click Copy SMILES in the top row.

For more detail, read [the guide in the docs](https://www.moldraw.com/docs/import-export/how-to-copy-and-paste-smiles-inchi-and-mol/).
