Adobe Illustrator
An .ai file is Adobe Illustrator's native vector graphics format. FileDex provides reference information only — no file conversion is available.
Adobe Illustrator files use proprietary vector format requiring the AI rendering engine not available in browser.
Looking to convert? Try a related format:
Common questions
How can I open an .ai file without Adobe Illustrator?
Rename the file from .ai to .pdf and open it in any PDF reader — this works for files saved with PDF compatibility enabled (the default since Illustrator 9). You will see the flattened artwork but not editable layers. Free vector editors like Inkscape can also import .ai files, though complex effects may not translate perfectly. For quick previewing on macOS, Finder and Preview handle .ai natively.
Why does my .ai file look different when opened in a PDF viewer versus Illustrator?
The PDF viewer renders only the flattened composite — a single merged image of all visible layers at save time. Illustrator reads the private %%AI data streams that contain the full layer stack, live effects, and editable paths. Hidden layers, blend modes, and transparency may appear differently or be absent in the PDF view.
What is the 'Create PDF Compatible File' option in Illustrator?
This checkbox tells Illustrator to embed a complete PDF representation alongside its private editing data, roughly doubling the file size. When enabled, any PDF reader can display the artwork. When disabled, the file contains only Illustrator-specific data and cannot be opened outside Illustrator or compatible editors.
Can .ai files contain raster images?
Yes. Illustrator files can embed raster images (JPEG, PNG, TIFF, PSD) directly within the file or link to external image files by path. Embedded rasters increase file size substantially but make the file self-contained. Linked rasters keep the .ai file small but break if the referenced image is moved or deleted.
What makes .AI special
Adobe Illustrator's .ai format stores vector artwork in a dual-structure file that has evolved significantly since the application's 1987 debut. Since Illustrator 9.0 (released January 2000), every .ai file saved with 'Create PDF Compatible File' enabled is a fully valid PDF document — you can rename any modern .ai file to .pdf and open it in any PDF reader, though you will see only the flattened composite, not the editable layers.
Continue reading — full technical deep dive
Internal Structure
The modern .ai file begins with a standard %PDF header followed by a cross-reference table and object streams identical to any PDF. Embedded within these PDF objects are private data streams prefixed with %%AI markers. These private streams carry the full Illustrator editing state: layer hierarchies, appearance attributes, live effects, symbol definitions, and artboard configurations. When Illustrator opens the file, it reads these private streams and ignores the PDF wrapper. When any other PDF reader opens it, the private streams are invisible — only the flattened composite renders.
Pre-v9 Legacy Format
Files created before Illustrator 9 used an EPS-based structure beginning with %!PS-Adobe. These older .ai files contain PostScript drawing operators rather than PDF objects. They lack the PDF compatibility layer entirely and require either Illustrator or a PostScript interpreter to render. The format shift from EPS to PDF happened because PDF offered better compression, transparency support, and ICC color profile embedding.
Color Handling
Illustrator files can store artwork in CMYK, RGB, or mixed color spaces. Each document has a single primary color mode, but individual objects can reference spot colors, global process colors, or device-independent Lab values. ICC profiles embedded in the file govern color accuracy across devices. Mismatched profiles between the .ai file and the output device are the most common source of unexpected color shifts in print workflows.
Artboards and Scalability
Since Illustrator CS4, a single .ai file can contain up to 1000 artboards — each functioning as an independent canvas with its own dimensions. Vector paths within these artboards scale without quality loss because they are stored as mathematical Bézier curve descriptions rather than pixel grids. This makes .ai the preferred source format for logos, icons, and technical illustrations that must render at any size.
Technical reference
- MIME Type
application/postscript- Magic Bytes
25 50 44 46Modern AI files are PDF-based. Legacy files use EPS %!PS header.- Developer
- Adobe Systems
- Year Introduced
- 1987
- Open Standard
- No
Modern AI files are PDF-based. Legacy files use EPS %!PS header.
Binary Structure
Modern .ai files (Illustrator 9+) begin with PDF magic bytes 25 50 44 46 (%PDF) followed by standard PDF cross-reference tables and object streams. Private Illustrator data is embedded in streams prefixed with %%AI markers. Pre-v9 files use EPS format starting with 25 21 50 53 2D 41 64 6F 62 65 (%!PS-Adobe). The file terminates with a standard PDF %%EOF trailer or EPS %%Trailer respectively.
Attack Vectors
- Embedded JavaScript within the PDF wrapper can execute when opened in a PDF reader with scripting enabled
- Malformed font subsets can trigger buffer overflows in older PostScript interpreters
- Crafted %%AI private streams have historically caused heap corruption in Illustrator's parser (CVE-2020-9551)
Mitigation: FileDex does not open, execute, or parse these files. Reference page only.