Image to SMILES

Mathpix has image to SMILES converter which supports converting printed and handwritten chemical diagrams into canonical SMILES code.

Works on both printed and handwritten chemical diagrams
Highly accurate image to structure conversion
Perfect compatibility with Snip and ChemDraw

The best image recognition for chemistry

Mathpix is the only image to SMILES converter with high-accuracy OCR features developed specifically for scientific documents like research papers

Chemical Equations

Chemical Equation

Chemical Diagrams

Chemical Diagram

Handwritten Chemistry

Handwritten Chemistry

How to convert images to SMILES

Graphic showing image to SMILES conversion

1. Use Snip to take a screenshot of the image.

2. Check your Snip result and click on the SMILES format to copy to the clipboard.

3. Edit in-app or paste the result into ChemDraw, Snip, Scifinder, or any other chemistry software in your workflow.

Get Started

FOR STUDENTS

Snip

Use our simple online editor to write and publish beautiful scientific documents.

Instantly digitize printed and handwritten chemistry notes into SMILES and paste it to Snip.

Digitize your handwritten notes and create digital chemistry documents
Image to SMILES on mobile and tablet

FOR EDTECH COMPANIES

Mathpix OCR

Mathpix provides image recognition for the biggest Edtech companies in the world.

Our image processing APIs are easy to implement and works on all platforms.

API request

{ "src": "https://cdn.mathpix.com/snip/images/KtNJHB1a1im8p2fDD1fYtBdlf0KI2qYYzXZ6XzJhUjQ.original.fullsize.png", "formats": ["text", "data", "html"], "include_smiles": true }
Example image

API response:

{ "request_id": "2022_04_15_ac551dfa59b247d10e77g", "is_printed": true, "is_handwritten": false, "auto_rotate_confidence": 0.0007489666152160623, "auto_rotate_degrees": 0, "confidence": 1, "confidence_rate": 1, "text": "COCC1=C(C(=O)O)C(c2ccc(F)c(F)c2)N(C(=O)NCCC(=O)O)C(=O)N1", "html": "
\n", "data": [] }
Rendered result

Our partners choose Mathpix over AWS Textract, Google Vision API, and Azure Computer Vision for converting images to SMILES.

Read image to SMILES related posts on our blog

2022-04-18

Image to ChemDraw converter

No need to draw chemical structures by yourself! Easily convert images to ChemDraw with Mathpix Snip just by taking a photo or screenshot.

Read more

2021-09-20

Convert printed and handwritten chemical diagrams to SMILES

Take a photo of your chemistry notes through the Snip mobile app, sync to desktop, then paste the SMILES into apps like ChemDraw. Search for chemical diagrams.

Read more

2021-04-21

Chemical diagram OCR and search

We have recently added support for printed chemical diagram OCR, as well as visual chemical diagram search of the PubChem database.

Read more