View Any Molecule in 3D Online — Free, No Download
Students, teachers and the curious: render any chemical formula as a rotating, animated 3D molecule in your browser in seconds.
You don't need software to see a molecule
For decades, viewing a molecule in 3D meant downloading PyMOL, Jmol, or some plugin that died in 2015. Today it's an `<img>` tag. Type a formula, get a rotating sphere-shaded render in about a second — free, watermarked, embeddable anywhere.
How to use it
1. Open the playground. 2. Type any chemical formula — `h2o`, `c8h10n4o2`, `c10h12n2o`. 3. Pick a style (sphere-3d, neon, holo, glass, science, classic) and an animation (orbit, pulse, float, assemble). 4. Copy the image URL — it is the embed.
Embedding in your own page
The API is a plain GET that returns SVG:
<img src="https://chemdexai.com/api.php?formula=h2o&size=300&style=sphere3d&anim=orbit" alt="water molecule">
```Works in blogs, LMS pages, documentation, slides, forum posts — anywhere an image works. No API key, no signup, CORS-open for fetch-based use too.
What the six styles look like
sphere3d — realistic depth shading, the default for "wow": <figure class="mol"><img loading="lazy" src="https://chemdexai.com/api.php?formula=c9h8o4&size=240&style=sphere3d&anim=orbit&dark=1" alt="molecule render: c9h8o4"></figure>
neon — dark-glow, presentation candy: <figure class="mol"><img loading="lazy" src="https://chemdexai.com/api.php?formula=c9h8o4&size=240&style=neon&anim=pulse&dark=1" alt="molecule render: c9h8o4"></figure>
holo — holographic wire-glow for sci-fi vibes: <figure class="mol"><img loading="lazy" src="https://chemdexai.com/api.php?formula=c9h8o4&size=240&style=holo&anim=float&dark=1" alt="molecule render: c9h8o4"></figure>
glass — translucent presentation spheres: <figure class="mol"><img loading="lazy" src="https://chemdexai.com/api.php?formula=c9h8o4&size=240&style=glass&anim=orbit&dark=1" alt="molecule render: c9h8o4"></figure>
science — clean textbook ball-and-stick: <figure class="mol"><img loading="lazy" src="https://chemdexai.com/api.php?formula=c9h8o4&size=240&style=science&anim=none&dark=1" alt="molecule render: c9h8o4"></figure>
classic — minimal flat render: <figure class="mol"><img loading="lazy" src="https://chemdexai.com/api.php?formula=c9h8o4&size=240&style=classic&anim=none&dark=1" alt="molecule render: c9h8o4"></figure>
All six are aspirin (C₉H₈O₄) — same molecule, six personalities.
Animation options
- orbit — the molecule rotates, showing true 3D depth
- pulse — breathing glow, good for emphasis
- float — gentle drift, least distracting for pages
- assemble — atoms fly together — great for intros and hero sections
- none — static, for print-style pages
Benzene assembling itself — try it on your own formula.
For teachers
The playground is safe for classroom walls: no ads interrupting, no accounts, instant results. Pair it with the learn section — five lessons that use live renders to explain molecules, bonds, formulas and shapes.