Skip to content
TaskNinja

HomeToolsChemDraw ViewerChemDraw CDX to MOL and SMILES

ChemDraw CDX to MOL and SMILES

CDX to MOL reads the structures in a ChemDraw .cdx or .cdxml file in this browser and gives you MOL files, one SDF and SMILES strings, with formula and molecular weight.

ChemDrawOpenFreeNo signupOn your device
Opening the tool…

What this tool does

Convert ChemDraw .cdx and .cdxml drawings to MOL, SDF and SMILES online without ChemDraw. Formula and molecular weight for every structure. No upload.

How to use it

  1. Choose a .cdx or .cdxml file. Nothing is uploaded.

  2. Every structure in the drawing is listed with its formula, molecular weight and SMILES.

  3. Press SDF to download all structures in one file, or MOL beside a structure for just that one.

  4. Use Copy SMILES to paste a structure into PubChem, Reaxys, SciFinder, a notebook or a spreadsheet.

Common uses

Chemistry software rarely reads ChemDraw files directly. RDKit, Open Babel pipelines, docking tools, electronic lab notebooks and compound registration systems want MOL, SDF or SMILES. This page pulls the structures out of the drawing and writes those formats, so a scheme from a paper or a colleague becomes data you can search and compute with.

Abbreviations such as Ph, OMe, Boc or OTf are expanded to real atoms, and hydrogens that are not drawn are added from valence rules. Charges, isotopes and radicals are kept in the MOL file, and wedge and hash bonds are written as stereo bond marks. For a reaction scheme you also get a reaction SMILES that lists reactants and products.

Plain labels like compound numbers are left out of the SDF, and the formula and molecular weight are written as SDF fields so a spreadsheet import shows them straight away.

Typical jobs are building a small compound table from the schemes in a thesis chapter, checking that a supplier drawing matches a catalogue number by pasting its SMILES into PubChem, or loading a reaction from a paper into a retrosynthesis or property tool. Because every structure in the file is listed with its own Copy SMILES and MOL buttons, you can take just the one you need instead of cleaning up a whole export.

The molecular formula is written in Hill order, with carbon first, then hydrogen, then the other elements in alphabetical order, followed by the charge. The molecular weight uses IUPAC standard atomic weights, and isotopes such as deuterium use their own masses. These values are good for a quick check of a drawing, a lab notebook entry or a sample label.

SMILES is a one-line text form of a structure. It fits in a spreadsheet cell, a chat message or a search box, and almost every chemistry database accepts it. A MOL file keeps the 2D coordinates from the drawing, so the structure looks the same when another program opens it, and an SDF is simply many MOL records in one file with extra fields such as the formula and weight. Pick SMILES for searching and sharing, MOL for one structure in a drawing program, and SDF when you want the whole file in a table or a script.

Private, and the limits

The structures are worked out in your browser and never uploaded. That matters for unpublished compounds and patent work.

Generic groups such as R or X are written as star atoms. Check stereochemistry in your target program, because a 2D drawing can be read in more than one way.

Official sources

Last checked 2026-11-09.

FAQ

Which programs can open the SDF?
RDKit, Open Babel, ChemDoodle, Marvin, Ketcher, DataWarrior, KNIME, PyMOL and most electronic lab notebooks read SDF and MOL files.
Is stereochemistry kept?
Wedge and hash bonds are written into the MOL file, so programs that read 2D stereo marks can work out the configuration.
Is my file uploaded?
No. The structures are read and written by code in this browser tab. Nothing is sent to TaskNinja, so unpublished compounds stay private.
Why is a label from my drawing not in the SDF?
Single letters and compound numbers that are not attached to anything are treated as labels, not molecules, and are left out.
Can I convert a reaction, not just molecules?
Yes. When the drawing marks a reaction step, the page writes a reaction SMILES with reactants, agents and products, ready to copy into a reaction database or notebook.
Are abbreviations like Ph or Boc expanded?
Yes. Groups that ChemDraw stores with their atoms are expanded, so the formula, SMILES and MOL file contain the real atoms.

Related tools

ChemDraw ViewerChemDraw CDX to PNGAll tools