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 Equation

Chemical Equations

Chemical Diagram

Chemical Diagrams

Handwritten Chemistry

Handwritten Chemistry

How to convert images to SMILES on desktop

A gif 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 Notes, Scifinder, or any other chemistry software in your workflow.

Get Started

How to convert images to SMILES on mobile

A diagram showing image to SMILES conversion

1. Use Snip mobile app to take a photo of the image.

2. Crop the part of an image you want to digitize and scan it.

3. Sync to desktop, then paste the result directly into your document.

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 Notes.

Digitize your handwritten notes and create digital chemistry documents
FOR ED TECH COMPANIES

Mathpix OCR

Mathpix provides image recognition for the biggest Ed Tech 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