Molecule viewer

Explore a molecule or simulation structure in 3D. Choose a local file, enter a SMILES string, or open an example below.

Supports LAMMPS .data (full, molecular, atomic, or charge atom style), MOL/SDF, PDB, and XYZ. Local files stay in your browser.
Requests a 3D structure from PubChem, with an RDKit fallback. The free RDKit service may take about a minute to wake.
Lubricant molecules from my research, plus well-known molecules from everyday life, medicine, and biology.
Scene files keep the structure and visual settings on your device.

Load a molecule to begin.

SVG and PDF embed the shaded PNG; atoms and bonds are not individually editable. Your browser may limit large image sizes.
Rotation animation Rotation sweeps right to left across the preview from your current view. Drag the molecule to set its starting orientation. Oscillate reaches “To” halfway through the duration, then returns to “From”. Preview restores your view afterward. Each frame is rendered at the chosen width, and labels scale with it. Video is encoded frame by frame as MP4 for big screens; height follows the viewer's shape, so widen the window for widescreen output. GIF is limited to 1920 px, 12 fps, and 256 colors.

Drag to rotate, scroll or pinch to zoom, and right drag to pan. LAMMPS files need a Masses section or element comments for element colors. Orthogonal and triclinic LAMMPS boxes are supported.

I built this molecular viewer with help from Codex (GPT-6-Sol). It is currently in beta. Source code on GitHub.