---
title: "SMILES to InChIKey Converter | MolDraw"
url: https://www.moldraw.com/tools/free-chem-tools/smiles-to-inchikey-converter.html
description: "Free SMILES to InChIKey converter by MolDraw. Turn SMILES strings into standard InChIKey identifiers for database searches and citations. Runs in your browser."
lang: en
publisher: LabCanvas Private Limited
generated: 2026-12-02
---
# SMILES to InChIKey Converter

**In short:** Convert SMILES strings into searchable InChIKey identifiers. It is free, works in your web browser and needs no download.

Generate compact InChIKey identifiers from SMILES strings.

InChIKey output appears here.

## Input and output formats

|  | Input: SMILES | Output: InChIKey |
| --- | --- | --- |
| Full name | SMILES (Simplified Molecular Input Line Entry System) | InChIKey |
| What it holds | Atoms, bonds, rings, charges and stereo as one line of text. No coordinates. | A 27 character hash of the InChI, made for web and database search. It cannot be turned back into a structure without a lookup database. |
| File or form | .smi or plain text | Text like XXXXXXXXXXXXXX-YYYYYYYYYY-Z |

## File Format Explained

**SMILES** is a compact text notation for molecular structure. It is useful for input, editing, and conversion workflows.

**InChIKey** is a fixed-length hashed identifier derived from an InChI. It is designed for fast database matching and web search, but it cannot be reversed perfectly without a database lookup.

Use InChIKey when you need a stable search key for a compound; use SMILES when you need an editable structure string.

## Why use an InChIKey

InChIKeys are designed for searching. Pasting a full InChI or SMILES into a search engine often fails, because symbols such as =, /, and parentheses are treated specially. A 27-character key made only of letters and hyphens searches cleanly and matches database records reliably.

## Example

Caffeine, `CN1C=NC2=C1C(=O)N(C(=O)N2C)C`, gives the InChIKey `RYYVLZVUVIJVGH-UHFFFAOYSA-N`. Searching that key returns pages for caffeine in PubChem, ChEMBL, and other databases.

## Structure of the key

- **First 14 characters:** hash of the connectivity.
- **Next 10 characters:** hash of stereochemistry and isotope layers, plus version flags. `UHFFFAOYSA` appears for structures with no stereo or isotope layers.
- **Last character:** protonation (N = neutral).

## FAQ

**Do enantiomers get different keys?** Yes, if the stereochemistry is defined in the SMILES. They share the first block and differ in the second. **Can I get the structure back from a key?** Only by database lookup, using [InChIKey to SMILES](https://www.moldraw.com/tools/free-chem-tools/inchikey-to-smiles-converter.html).

## Related chemistry tools

[InChI to InChIKey Converter](https://www.moldraw.com/tools/free-chem-tools/inchi-to-inchikey-converter.html)[MOL to InChIKey Converter](https://www.moldraw.com/tools/free-chem-tools/mol-to-inchikey-converter.html)[SDF to InChIKey Converter](https://www.moldraw.com/tools/free-chem-tools/sdf-to-inchikey-converter.html)[SMILES Notation Guide](https://www.moldraw.com/tools/free-chem-tools/smiles-notation-guide.html)[SMILES to Structure Converter Online](https://www.moldraw.com/tools/free-chem-tools/smiles-to-structure.html)[Structure to SMILES Converter](https://www.moldraw.com/tools/free-chem-tools/structure-to-smiles-converter.html)

Last updated: October 11, 2026
