Browser-based cheminformatics and molecular visualization tools powered by Rust and WebAssembly.
Use the tools at tools.cosmol.org. Molecular structures are processed locally in the browser and are not uploaded to a backend service.
| Tool | What it does |
|---|---|
| SMILES to SVG | Parse SMILES, generate 2D coordinates, and export a scalable SVG molecular depiction. |
| Molecular format converter | Read SMILES, MOL/SDF V2000 and V3000, MOL2, PDB, mmCIF, or XYZ, then export SMILES, MOL/SDF, PDB, or SVG. |
| 3D conformer generator | Generate a conformer from SMILES with ETKDG v2, ETKDG v3, or KDG, preview it in 3D, and export SDF V3000 or PDB coordinates. |
| InChI converter | Convert SMILES to standard InChI and InChIKey, or parse InChI back into a molecular structure and canonical SMILES. |
| Molecular properties | Calculate formula, molecular weight, exact mass, heavy atoms, HBD, HBA, TPSA, rotatable bonds, logP, and formal charge from SMILES. |
| SMILES canonicalizer | Generate canonical, isomeric, and kekulized SMILES and inspect hydrogen count and formal charge. |
Browse the complete directory at tools.cosmol.org/tools.
COSMolKit Tools brings together three focused open-source Rust projects:
- COSMolKit provides molecular graphs, cheminformatics algorithms, format readers and writers, descriptors, coordinates, SMILES, and InChI.
- COSMol-viewer provides interactive molecular and structural biology visualization, including the 3D conformer preview.
- cosmolkit-tools-web combines the chemistry core and viewer into accessible browser workflows.
The interface and application logic are written in Rust with Dioxus and compiled to WebAssembly. There is no hand-written JavaScript or TypeScript glue layer, and the tools do not require an application backend.
- COSMolKit documentation
- COSMolKit on crates.io
- COSMol-viewer documentation
- COSMol ecosystem overview
Development and production build instructions are documented in dev.md.
This project is available under the MIT License.