Introduction
An AI file is the working file of Adobe Illustrator, the vector drawing program. It holds artboards, layers, paths, text, gradients, symbols and any placed images, everything needed to carry on editing.
Early versions of Illustrator saved a form of PostScript. Since Illustrator 9 the default has been a PDF-compatible file, so many programs can show an AI file as a PDF even though only Illustrator can edit it fully.
Structure
A modern AI file is a PDF: it starts with %PDF- and has the usual PDF
objects, pages and cross-reference table, which give a viewable copy of the artwork.
Illustrator's own editing data is stored inside it as additional private streams,
often compressed. That private data is not publicly documented.
Files saved by Illustrator 8 and earlier, or saved without PDF compatibility in old
formats, start with %!PS-Adobe instead and are PostScript with
Illustrator's own comments and procedures.
The %AI5_FileFormat number of each version, the two layouts and where
the native data sits in a PDF-based file are on the
versions and layout reference page. Adobe
published the PostScript-based format up to Illustrator 7 (“Adobe Illustrator File
Format Specification”, 23 February 1998); its header comments, setup section and
trailer are on the prolog, setup and trailer
page and every operator on the operators
page.
Not described
The versions, header and operators pages follow Adobe’s Illustrator File Format Specification (TN LPS5007, 1998), which covers Illustrator 1.1 to 7.
Known, not yet covered
- Reference: the operators named only in the operator list (
I,Z,Te,TS,null) have no description in Adobe’s specification and none on the page. - Reference: the text examples and text-detail pages of the specification (pages 95 to 106) were only skimmed.
- Reference: the files’ PDF side, since Illustrator 9 the native format, is a PDF; it is covered by the PDF pages, not here.
- Viewer: there is no AI plugin yet.
Unknown
- Reference: Illustrator 8 and the PDF-based private data of 9 and later: Adobe has published no documentation. The page marks the claims about
%AI12_CompressedData, Deflate andPieceInfoas unconfirmed; onlyAIPrivateDatais confirmed (by PRONOM). - Reference: whether
Norncloses a path: Adobe’s specification contradicts itself, and the page says so.
Links
Software
- Adobe Illustrator – the vector editor that makes AI files and the only one that edits them fully (Windows, macOS, iPad)
- Inkscape – free vector editor that imports PDF-compatible AI files (Windows, macOS, Linux)
- Affinity Designer – vector editor that opens AI files through their PDF part (Windows, macOS, iPad)
- CorelDRAW – Corel’s vector editor, which imports AI files (Windows, macOS)
- Preview – Apple’s viewer, which shows the PDF part of an AI file (macOS)
Reference
- Adobe Illustrator File Format Specification – Adobe Technical Note LPS5007, 23 February 1998, covering Illustrator 1.0 to 7.0 (archived copy of Adobe’s partners site)
- PRONOM: Adobe Illustrator CC 2020 Artwork – the UK National Archives’ entry, with signatures and links to every earlier Illustrator version