Skip to content

Plugin OpenBabel Conversion Tool

Hiromichi Yokoyama edited this page Nov 3, 2026 · 10 revisions

Plugin: OpenBabel Conversion Tool

OpenBabel Conversion Tool extends MoleditPy with universal file format support powered by OpenBabel (pybel), enabling drag-and-drop loading and exporting across over 100 chemical formats.

Repository moleditpy_openbabel_converter
Author HiroYokoyama
Supported OS Windows, macOS, Linux, WSL
Supported Python >=3.10, <3.15
Supported MoleditPy >=5.0.0, <6.0.0
First-party plugin license GPL-2.0-or-later
Menu location File ▸ Export ▸ Export via OpenBabel... (also hooks drag-and-drop & file open dialogs)
Extra dependencies openbabel>=3.2.1,<3.3

See Official Plugins for the full catalogue.

Use a Python-installed MoleditPy environment with this plugin. Portable executables and macOS app bundles cannot run its Python conversion workers.


1. Key Features

  • Massive chemical format support: Seamlessly interfaces with OpenBabel's extensive driver list, supporting formats including PDB, CIF, InChI, SMILES, CML, Mol2, CDX, CDXML, GAMESS/Gaussian/ORCA/NWChem logs, and dozens more.
  • Transparent drag-and-drop: Hooks MoleditPy's drag-and-drop pipeline. Dropping any OpenBabel-recognized format into the window automatically invokes the converter.
  • Multi-molecule selector: When opening multi-structure files (e.g. trajectory files), an interactive list dialog lets you select which molecule to display. From MoleditPy 4.11.0 on, .sdf files are left to the app, which has its own selector; with older MoleditPy versions the plugin still handles them.
  • Format-aware export: Export the currently open molecule to any chemical format supported by OpenBabel through File ▸ Export ▸ Export via OpenBabel....
  • Cross-platform path handling: Automatically works around Unicode/non-ASCII filepath limitations on Windows OpenBabel builds using temporary caching.

2. Supported Formats Highlights

Extension Format Description
.cml Chemical Markup Language
.mol2 Tripos Mol2 format
.pdb / .ent Protein Data Bank coordinate files
.sdf Structure-Data File (MoleditPy before 4.11.0 only; 4.11.0+ opens SDF with its own picker)
.smi / .smiles Simplified Molecular Input Line Entry System
.inchi IUPAC International Chemical Identifier
.log / .out Quantum chemistry output logs (GAMESS, Q-Chem, NWChem)

Usage notes

Install the release ZIP through Plugin Manager. Open Babel runs in a separate Python process and is never imported into the editor. Startup and plugin-reload format discovery run without a dialog. Actual conversions retain progress and Cancel.

The progress dialog provides Cancel. Conversion has a 30-second timeout and supports up to 32 MiB of input/output, 500 molecules and 10,000 atoms per molecule. Split larger files before converting.


3. See also


This page documents OpenBabel Conversion Tool v2026.11.03, and was last updated on 2026-11-03. See REGISTRY/plugins.json for the current version.

Clone this wiki locally