Black · ΣZ = 87

Black Friday Flash Deal: Unlock full access for $1 today. Limited spots available.

Chemical structure images from SMILES

Turn a SMILES string into an image of a molecule or reaction with one URL. Put it in an <img> tag, Markdown or an AI answer; no account or key is needed.

CC(=O)O.OCC>>CC(=O)OCC.O
Image URL
https://embedded.stemnotes.app/render/structure.svg?smiles=CC%28%3DO%29O.OCC%3E%3ECC%28%3DO%29OCC.O
Markdown
[![CC(=O)O.OCC>>CC(=O)OCC.O](https://embedded.stemnotes.app/render/structure.svg?smiles=CC%28%3DO%29O.OCC%3E%3ECC%28%3DO%29OCC.O)](https://embedded.stemnotes.app/embed/ketcher?smiles=Q0MoPU8pTy5PQ0M-PkNDKD1PKU9DQy5P&theme=light&w=600&h=400)
HTML
<a href="https://embedded.stemnotes.app/embed/ketcher?smiles=Q0MoPU8pTy5PQ0M-PkNDKD1PKU9DQy5P&theme=light&w=600&h=400"><img src="https://embedded.stemnotes.app/render/structure.svg?smiles=CC%28%3DO%29O.OCC%3E%3ECC%28%3DO%29OCC.O" alt="CC(=O)O.OCC>>CC(=O)OCC.O"></a>

How to use it

  • SVG: https://embedded.stemnotes.app/render/structure.svg?smiles=CCO
  • PNG: …/render/structure.png?smiles=CCO&size=600 (width 100–1200 px)
  • Add theme=dark for dark backgrounds.
  • Each image carries a small STEM Notes credit (logo and stemnotes.app) under the drawing. Add credit=0 for an unbranded image.
  • Reactions: reactants and products separated by >>, species by a dot, e.g. CC(=O)O.OCC>>CC(=O)OCC.O
  • URL-encode the SMILES (= becomes %3D, # becomes %23).

Curly-arrow mechanisms

  • One mechanism step: https://embedded.stemnotes.app/render/mechanism.svg?smiles=…&arrows=… (also .png, theme=dark, above= and below= labels).
  • Label reacting atoms with atom-map numbers: [OH-:1].[CH3:2][Br:3]>>[CH3:2][OH:1].[Br-:3]. The labels are not drawn.
  • Arrows: 1>2 moves a lone pair from atom 1 to atom 2; 2-3>3 breaks the 2–3 bond onto atom 3; ~ marks a one-electron (fishhook) arrow, e.g. ~1-2>1.
  • Add style=smiles for the one-row look of the STEM Notes SMILES editor; the default style=ketcher stacks reactants above products and shows radical dots.
  • Example: …/mechanism.svg?smiles=[OH-:1].[CH3:2][Br:3]>>[CH3:2][OH:1].[Br-:3]&arrows=1>2,2-3>3 (an SN2 step).

Limits and errors

  • Up to 400 characters, 8 species per side and 150 atoms.
  • Invalid SMILES or an oversized structure returns a small error image (HTTP 400), so an image tag shows why it failed.
  • Images are cached; please don't send automated bulk requests. Heavy use is rate-limited per IP.

For AI assistants

  • The URL format and examples are listed for AI agents in https://stemnotes.app/llms.txt.
  • Link each image to the interactive editor (the Markdown and HTML above do this), so readers can open the structure in STEM Notes and edit it.
  • Use real, valid SMILES for the compound you mean.