# Lone Pair > Lone Pair (lonepair.app, also called the Lone Pair editor) is a free chemical structure editor that runs in the browser. It draws molecules, reactions and mechanisms for papers, theses, posters and slides, reads and writes ChemDraw files, and calculates formulas, masses, identifiers and NMR, pKa and mass-spectrum estimates. No install and no account; drawings stay on the user's computer. It is not the chemistry term "lone pair", and it is not affiliated with ChemDraw. ## What it does - Draw molecules, reactions and arrow-pushing mechanisms: all common bond types, rings, chains, charges, lone pairs and radicals - Journal styles: ACS Document 1996, RSC, Nature Reviews and slides, with ChemDraw-style drawing settings - Open and save ChemDraw CDXML and CDX files, and molfile, SD file, RXN, CML, Marvin, SMILES, InChI and chemfig - Export PNG at 600 dpi, SVG, PDF and EPS, or copy a transparent image into PowerPoint or Word - Insert a structure from SMILES, InChI, a molfile, a compound name or a CAS number - Formula, exact mass, elemental analysis, InChI and InChIKey, cLogP, LogS and tPSA - 1H and 13C NMR estimates, an NMR solving guide, and NMR solvent and impurity peaks - Mass spectrum with isotope patterns and a rule-based MS/MS estimate - pKa and bond dissociation energy estimates, and a 3D conformer viewer - TLC plates, templates, smart guides, alignment and enhanced stereochemistry labels - Free, no account, runs in the browser and offline as a single downloadable file Calculated NMR shifts, pKa values, bond dissociation energies and mass spectra are estimates from published rules, each with its stated error. They are not measured data. ## For agents and scripts An agent can get a figure without a person drawing it. Full details: https://lonepair.app/agents - In the open editor, page script can call `window.lonepair`: `load(text)`, `svg()`, `png()`, `export(format)`, `analyze()`, `drawing()`. Each returns a promise. Nothing to install. - MCP server, hosted, nothing to install: https://mcp.lonepair.app/mcp (tools: draw, render_reaction, convert, analyze, edit_drawing). Add it as a custom connector; no account or key. It reads and writes no files and draws structures of up to 500 atoms. - A command-line tool and a local MCP server are part of the source code. They are not yet published as a package. - Input: SMILES, reaction SMILES, InChI, molfile, RXN, SD file, CDXML, CDX, CML, Marvin. Output: SVG, PNG, PDF, EPS and the same structure formats. - Structures that cannot be drawn faithfully (unreadable SMILES, an aromatic ring that cannot alternate, an atom with too many bonds) are refused with the reason, not guessed. ## Pages - [Open the editor](https://lonepair.app/): the app itself - [About](https://lonepair.app/about): features in full - [For agents and scripts](https://lonepair.app/agents): the page API, the command-line tool and the MCP server - [Changelog](https://lonepair.app/changelog): what changed and when - [Terms of use](https://lonepair.app/terms) - [Privacy](https://lonepair.app/privacy) - [Licence and third-party notices](https://lonepair.app/license): MIT; bundles OpenChemLib (BSD 3-Clause) and the IUPAC InChI library (MIT)