ChemEdit Universal

approved

by Ruzal Sitdikov

Draw and edit chemical structures (SMILES, MOL) offline on Mobile and Desktop - This plugin has not been manually reviewed by Obsidian staff.

โ†“ 165 downloadsUpdated 22d agoMIT

ChemEdit Universal

ChemEdit Universal is a lightweight, cross-platform chemistry engine plugin for Obsidian. Powered by OpenChemLib, it allows you to draw, edit, and visualize chemical structures directly in your notes.

Because it does not rely on web iframes, React, or Wasm, it is fast and works on both Desktop and Obsidian Mobile (iOS/Android).

ChemEdit universal mobile demo:

๐Ÿš€ What's New in ChemEdit Universal 1.0.6

  • Compound Library โ€” Search, insert, and save compounds from built-in or custom Markdown libraries.
  • Chemistry Context Menu โ€” Right-click structures to copy SMILES/MOL, retrieve chemical properties, and open PubChem, ChemSpider, MolPort, or NMRium.
  • Advanced ELN โ€” Improved responsive tables, intelligent stoichiometry, experiment cloning, macros, automatic experiment numbering, and Excel export.
  • Grid & Gallery Views โ€” Render multiple SMILES as grids and browse reactions or molecules from folders as visual galleries.
  • Mobile & Desktop โ€” Universal adds offline structure rendering/calculation with OpenChemLib, plus selectable SmilesDrawer/OpenChemLib rendering engines.
  • Stability & UX โ€” Improved integration, mobile ELN rendering, and overall performance.
  • Offline chemistry tools โ€” Structure rendering, properties, and MOL generation work without an internet connection.
  • Two rendering engines โ€” Choose between SmilesDrawer and OpenChemLib.

1.0.5

  • Interactive ELN Editor: Added a floating action bar to ELN blocks. You can now visually edit Reactants, Products, Equivalents, and Procedures via a clean UI without touching Markdown YAML!
  • ๐Ÿงช Auto-Name Structures: Added a smart "Auto-Name" button inside the ELN editor that automatically fetches IUPAC/Common names for your drawn structures via PubChem/CACTUS.
  • ๐Ÿ“ธ Fume Hood Utilities (Media Ribbon): Take Lab Photos or upload TLC plates directly into your notes.

โœจ Features

  • ๐Ÿ“ฑ Fully Mobile Compatible: A touch-friendly UI that works on phones and tablets.
  • ๐Ÿ”Œ 100% Offline: Render structures and calculate properties without an internet connection.
  • ๐Ÿงช MedChem Calculator: Instantly calculate Molecular Weight, Exact Mass, LogP, LogS, Polar Surface Area (PSA), Hydrogen Bond Donors/Acceptors, and Stereocenter counts.
  • ๐Ÿ“‹ Smart Paste: Paste raw SMILES or MOL strings into Obsidian, and the plugin can automatically wrap them in code blocks for instant rendering.

๐Ÿš€ How to Use

1. Drawing a New Molecule

Click the Hexagon Icon in your left ribbon menu (or use the Command Palette: Draw new molecule (SMILES)). A touch-friendly editor will open. Draw your molecule, click Save, and it will be inserted into your note.

2. Displaying Structures (Code Blocks)

You can manually type or paste chemical data inside specific code blocks to render them as SVG images.

SMILES: ```smiles CC(=O)Oc1ccccc1C(=O)O ```

Files (MOL/SDF): You can embed actual .mol files saved in your Obsidian Vault! If you double-click the image to edit it, your .mol file will be updated automatically. ```mol [[aspirin.mol]] ```

3. Calculating Chemical Properties

Highlight a SMILES string in your text, open the Command Palette, and select "Calculate Properties (SMILES/IDCode)". The plugin will calculate the properties and insert a beautiful summary block beneath your cursor:

๐Ÿงช Formula: C9H8O4 | MW: 180.1598 | Exact Mass: 180.0423 | LogP: 1.31 | LogS: -2.13 | PSA: 65.3 ร…ยฒ | HBD: 1 | HBA: 4 | Rot. Bonds: 3 | Stereocenters: 0

(You can also use the chemprops code block to render a permanent widget showing the molecule and its properties).

โš™๏ธ Settings

  • Width/Height: Control the default size of the rendered SVG images in your notes.
  • Smart Paste: When enabled, pasting a SMILES string like c1ccccc1 will automatically wrap it in a ```smiles``` block.

๐Ÿ›  Credits

Powered by the excellent OpenChemLib library (the same engine behind DataWarrior).

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.