Glyph

Convert CIF to GDSII

CIF-to-GDSII conversion moves a layout from Caltech Intermediate Form into the format almost every mask shop and design tool actually expects. Both describe a hierarchy of cells (CIF calls a cell a symbol) holding polygons, wires and labels on numbered layers, so the conversion mostly re-encodes rather than re-models. It runs entirely inside your browser — the file is read, converted and written locally, and there is no server to upload it to.

How to convert CIF to GDSII

  1. Drop your .cif file onto the converter on this page — including a CleWin structure library.
  2. Pick GDSII as the target format.
  3. Download the .gds file. Open it in the free Glyph editor if you want to inspect cells, layers or hierarchy before handing it on.

What survives and what changes

Aspect What happens
Hierarchy Preserved. A CIF symbol becomes a GDS structure and a C call becomes an SREF; nothing is flattened for an ordinary, unmagnified placement.
Magnified references Flattened into the parent, because a CIF call carries mirror, rotation and translation but no scale.
Widened wires Stroked to their outline polygon — geometrically exact, structurally lossy (the result is a boundary, not a path). A zero-width wire stays a zero-width GDS path.
Layers L{layer}D{datatype} maps directly onto the GDS (layer, datatype) pair — no invented convention needed, unlike a format with no datatype concept.
Large arrays CIF has no array primitive, so a symbol called in a dense repeating pattern converts to individual placements rather than a single GDS AREF.
Units CIF's base unit is 0.01 µm; every coordinate lands as an exact integer number of nanometres.
Text A CIF 94 label carries only a string and a position — GDSII text carries the same, so nothing is lost that CIF had in the first place.
CleWin libraries Parameter declarations and generating script text stored in CIF comments are read (read-only, never executed) but have no GDSII home, so only the resulting geometry is written.
Other properties Layer colour, stipple and visibility have no GDSII layer-appearance record and are not carried over.

CleWin CIF files specifically

A CleWin structure library is a CIF file whose symbols carry parameter declarations and generating script text inside CIF comments. This converter's reader decodes them the same way the full Glyph editor's Properties panel does — read-only, Glyph never executes the script — so the geometry converts correctly even though the parameter record itself has nowhere to go in GDSII. See CleWin alternative for the full picture of what that support does and doesn't cover.

Why CIF and GDSII both exist

CIF — Caltech Intermediate Form — is an older, plain-text, human-readable layout format that predates GDSII's binary record structure and is still the native format CleWin's structure libraries ship in. GDSII is the binary format almost every mask shop and downstream tool expects today. Converting from CIF is usually the first step in getting a design out of an older or niche tool and into a mainstream flow.

For the destination format's record structure, see the GDSII file format reference, and for the vocabulary, the mask layout glossary. If you need a target other than GDSII, the CIF converter also writes OASIS, DXF and SVG.

Open it in the editor

To check cells, layers and hierarchy after converting, open the file in the free Glyph editor — nothing to install, and your files never leave your browser. See Cells & hierarchy and Layers.

Glyph is made by NANYTE. For where a finished layout goes next, read NANYTE's maskless lithography overview.

Updated 2026-09-09

Open Glyph — free, no install Your files never leave your computer.
Open Glyph →