Open Babel icon

Open Babel

1.0.0

Run Open Babel online with molecular format conversion, coordinate generation, and hydrogen options. Learn more

Input

Formats

Conversion options

Output

Configure inputs to begin

Set options on the left, then click “Convert”.

What is Open Babel?

Open Babel converts molecular and structure files across the Open Babel format catalog directly in the browser. It is most useful when a workflow needs to move between compact identifiers such as SMILES or InChI, structure files such as MOL, SDF, MOL2, PDB, PDBQT, CIF, and XYZ, or file types used by docking and computational chemistry programs.

Open Babel handles format translation, not experimental validation. A successful conversion means the input could be parsed and written in the selected output format; it does not guarantee that all chemistry was preserved perfectly. Bond orders, aromaticity, atom typing, charges, hydrogens, residue annotations, and coordinates depend on what the input format contains and what the output format can store.

How to use Open Babel online

Open Babel can be run online in ProteinIQ by pasting molecular text or uploading a supported file, selecting the input and output formats, and choosing optional coordinate, hydrogen, charge, pH, and force-field settings. The result is a downloadable converted file with a conversion log that records the formats and Open Babel arguments used.

Inputs

InputDescription
Molecule or structurePasted text or one uploaded text file. Common inputs include SMILES, InChI, MOL, SDF, MOL2, PDB, PDBQT, CIF, mmCIF, XYZ, CML, FASTA, and computational chemistry files.
Input formatAuto-detect by default. Detection checks the uploaded filename extension first, then common content signatures, then SMILES as a fallback. Selecting a format overrides detection.
Output formatFormat Open Babel writes. The default is mol. The searchable selector includes the local Open Babel catalog.

Settings

SettingDefaultDescription
Generate coordinatesNo changeOptionally generates 2D or 3D coordinates before writing the output. Coordinate generation is useful when converting line notations such as SMILES into MOL or SDF.
HydrogensNo changeAdds all hydrogens, adds only polar hydrogens, adds only non-polar hydrogens, deletes all hydrogens, deletes non-polar hydrogens, or leaves hydrogen representation unchanged.
pH correctionEmptyOptional numeric pH for Open Babel protonation correction. This changes protonation on an atom by atom basis, so molecules with multiple ionizable centers can be fully ionized at the requested pH.
Partial chargesNo changeOptionally assigns Gasteiger partial charges before writing the output. Whether charges appear in the file depends on the selected output format.
Force field minimizationNo minimizationOptionally minimizes geometry with MMFF94, MMFF94s, UFF, GAFF, or Ghemical. Use a coordinate-bearing input or select Generate 3D before minimization.
Minimization steps250Maximum steepest-descent steps used when force-field minimization is enabled.

Results

OutputDescription
PreviewText preview of the converted file when the output is viewable as text.
Converted filePrimary downloadable output with the selected output format extension.
Conversion logSecondary text file containing the detected or selected formats, settings, Open Babel arguments, runtime messages, and timestamp.

The preview supports common structure formats such as MOL, SDF, MOL2, PDB, PDBQT, CIF, mmCIF, PQR, and XYZ. Other outputs remain downloadable even when the preview is not useful.

How Open Babel conversion works

Open Babel reads the input into its internal molecular representation, applies requested operations, then writes the molecule through the selected output format. Its official documentation describes the obabel program as a command line tool for interconverting chemical data formats and performing simple molecular manipulation.

Several details affect conversion quality:

  • Information loss: Not every format stores the same fields. SMILES lacks 3D coordinates. PDB often omits bond orders. SDF can store molecule properties that simpler formats may drop.
  • Perceived chemistry: When an input format does not define bonds or bond orders explicitly, Open Babel may infer connectivity, aromaticity, atom types, or valence from the available structure.
  • Coordinates: Open Babel does not generate coordinates unless coordinate generation is requested. A SMILES to SDF conversion without Generate coordinates can produce an SDF record without useful coordinates.
  • Hydrogens, charges, and pH: Hydrogen addition, deletion, Gasteiger partial charges, and pH correction can change formulas and charges. They should be treated as chemical preparation steps, not purely cosmetic formatting.
  • Force fields: Minimization needs meaningful coordinates. For SMILES or InChI input, generate 3D coordinates before running MMFF94, MMFF94s, UFF, GAFF, or Ghemical minimization.
  • Format-specific behavior: Some formats have special read or write options in the full Open Babel command line tool. ProteinIQ includes the common conversion controls available in the browser runtime, not every advanced CLI option.

For one-step conversions with tighter defaults, use SMILES to SDF, SDF to SMILES, PDB to SDF, or SDF to PDB. For electrostatics-ready PQR files with force-field charges and radii, use PDB2PQR.

When to use Open Babel vs focused conversion tools

Open Babel is the right choice when the exact source and destination formats matter, especially for less common formats. It is also useful for quick exploratory conversions before docking, structure cleanup, database import, or computational chemistry setup.

Focused conversion tools are better when the conversion has product-specific validation or domain-specific preparation. For example, SMILES to SDF is a better fit for batch ligand 3D generation with named entries, while PDB2PQR is better for assigning biomolecular charges and radii before electrostatics calculations.

For docking workflows, Open Babel can prepare file formats such as SDF, MOL2, PDB, and PDBQT, but docking quality still depends on receptor preparation, ligand protonation, charge assignment, conformer generation, and the docking method. Use AutoDock Vina or GNINA when the goal is binding pose prediction rather than file conversion.

Table of contents

Related tools

SDF to SMILES

SDF to SMILES

Convert SDF ligand files, including multi-record batches, into SMILES strings.

format-conversionsmall-molecule+3
SMILES to PDB

SMILES to PDB

Convert SMILES strings into 3D PDB files for molecular visualization and downstream docking preparation.

format-conversionsmall-molecule+3
SMILES to SDF

SMILES to SDF

Convert single SMILES strings or small batches into 3D SDF files with downloadable per-entry files and a combined batch output.

format-conversionsmall-molecule+3
InChI to SMILES

InChI to SMILES

Convert InChI strings into SMILES with batch support and downloadable outputs.

format-conversionsmall-molecule+2
MOL to SMILES

MOL to SMILES

Convert MDL MOL ligand files into canonical SMILES strings for registration, filtering, and downstream analysis.

format-conversionsmall-molecule+2
MOL2 to SMILES

MOL2 to SMILES

Convert MOL2 ligand files into SMILES strings for registration, filtering, and downstream analysis.

format-conversionsmall-molecule+3
SMILES to InChI

SMILES to InChI

Convert SMILES strings into InChI strings with batch support and downloadable outputs.

format-conversionsmall-molecule+2
SMILES to MOL2

SMILES to MOL2

Convert SMILES strings into 3D MOL2 files for docking and molecular modeling workflows.

format-conversionsmall-molecule+3
PDB to SDF Converter

PDB to SDF Converter

Convert Protein Data Bank files to Structure Data Format

format-conversionsmall-molecule+2
SDF to PDB Converter

SDF to PDB Converter

Convert Structure Data Format files to Protein Data Bank format

format-conversionsmall-molecule+2