Mechanism Lab

Predict

Bring your own molecule

Draw a structure or paste a SMILES string. Mechanism Lab finds the functional groups, suggests mechanisms that could apply, and runs the reaction directly on your atoms.

From a structure to a mechanism

  1. Give it a structurePaste a SMILES string, upload an MDL molfile or SDF (ChemDraw can export these via File → Save As → MDL Molfile), or draw it in the structure builder. You can load several structures at once.
  2. See what it findsMechanism Lab detects functional groups such as esters, alkyl halides, ketones, alkenes and aromatic rings, and ranks the mechanisms in its library that involve them.
  3. Run a reaction on itPick a reaction that fits your molecule and step through the mechanism, drawn on your own atoms with curved arrows.

Example: base hydrolysis of ethyl acetate

This is a real run from the app on the SMILES string CC(=O)OCC. Teal marks the reagent.

OOHO⊖
1 · Hydroxide attacks. HO⁻ adds to the electrophilic carbonyl carbon. The C=O π bond moves onto oxygen, giving a tetrahedral intermediate.
O⊖OOH
2 · Tetrahedral intermediate. The negative oxygen pushes its electrons back to re-form C=O, which expels the alkoxide (RO⁻) as the leaving group.
OO⊖OH
3 · Alkoxide leaves. A carboxylic acid and an alkoxide form. The alkoxide is a strong base and immediately removes the acidic O–H proton.
OOHO⊖
4 · Proton transfer. The products are a carboxylate (RCO₂⁻) and an alcohol. This last step is essentially irreversible, which is why base hydrolysis goes to completion.

Reactions it can run on your structure

If your molecule has…You can run
An alkyl bromide, chloride or iodide (primary or secondary)SN2 substitution with hydroxide, cyanide, azide, iodide, methoxide (Williamson ether synthesis) or hydrosulfide
A tertiary alkyl halideSN1 substitution: ionisation, then attack by water
An alkyl halide with a β-hydrogenE2 elimination with hydroxide
An alcoholConversion to an alkyl bromide with HBr (SN2 or SN1), or acid-catalysed dehydration to an alkene (E1)
A non-aromatic C=CAddition of HBr (Markovnikov), acid-catalysed hydration, or bromination through a bromonium ion (anti addition)
An epoxideRing opening by hydroxide (less hindered carbon) or under acid catalysis (more substituted carbon)
An aldehyde or ketoneHydride reduction (NaBH₄), Grignard addition (CH₃MgBr), cyanohydrin formation, Wittig methylenation, or α-methylation through the enolate (LDA, then CH₃I)
An esterBase hydrolysis (saponification)
A carboxylic acidFischer esterification with methanol
An acid chlorideAddition–elimination with ammonia to give an amide
An α,β-unsaturated ketone or aldehydeConjugate addition of cyanide (Michael-type)
A benzene ringElectrophilic aromatic substitution: nitration or bromination

A second example: SN2 on bromoethane

BrHO⊖
Backside attack. The nucleophile (HO⁻) approaches carbon from the side opposite the leaving group. One arrow forms the new bond; the other pushes the C–Br bonding pair onto Br. This happens in a single concerted step.
Br⊖OH
Product. The nucleophile is now bonded to carbon and Br⁻ has left. If this carbon were a stereocentre, its configuration would be inverted (Walden inversion), like an umbrella flipping in the wind.

What to keep in mind

A teaching tool, not an oracle

Matching is based on functional groups, so it suggests starting points to investigate. It does not predict yields, selectivity between competing sites, or reactions outside the templates.

Reagents are chosen for you

Each template uses a typical reagent so the mechanism is clear. Real conditions change outcomes, which is why the captions point out competing pathways.

Simplified drawings

Structures are neutral molecules with implicit hydrogens and no stereochemistry. A raw ChemDraw .cdx file cannot be read in a browser; export a molfile instead.

Frequently asked questions

Which file formats work?

SMILES text, and MDL molfiles or SDF files (.mol, .sdf). ChemDraw .cdx files are a binary format that browsers cannot parse, so export an MDL molfile from ChemDraw.

Can it handle several molecules?

Yes. Load as many structures as you like, and reactions are offered for each structure that has a matching site.

Is my structure uploaded anywhere?

No. Parsing and prediction run in your browser, and the structure is not sent to a server.

What if no reaction is offered?

Your molecule may not contain a group covered by the templates. The matches list still shows library mechanisms that involve the groups it found.

Try Predict   Draw a structure