The .ai file is Adobe Illustrator's proprietary source format for editable vector artwork — it is never delivered to a web browser. Adobe shipped it with the first Illustrator release in 1987, and since Illustrator 9 (2000) the format wraps its editable data inside a PDF-compatible container. This page explains what an AI file holds, why no browser can render .ai, and the correct path from Illustrator to the web: SVG for vector logos, and AVIF for any raster preview you export.
What an AI file is
An AI file is Adobe Illustrator's native, editable vector document. It does not store pixels. Instead it describes paths, anchor points, Bézier curves, gradients, type, and layers as mathematical objects that re-render crisply at any size.
Three facts define the format:
- Adobe introduced AI in 1987 with Illustrator 1.0, built on the PostScript page-description language.
- Illustrator 9 (2000) changed the native container to be PDF-compatible, so an
.aifile can embed a readable PDF stream alongside its editable Illustrator data. - The registered MIME type is
application/postscript, reflecting the format's PostScript lineage.
AI is a working format, not a delivery format. It sits beside Photoshop's PSD as a source-of-truth file that designers keep, edit, and export from.
Why browsers cannot display .ai
No web browser renders .ai files. The format is proprietary to Adobe and was never specified for HTTP delivery or <img> decoding.
Two reasons make .ai unusable on the web:
- No browser decoder exists — Chrome, Safari, Firefox, and Edge ship decoders for JPEG, PNG, WebP, AVIF, and SVG, but none for the proprietary Illustrator format.
- The editable payload is wasted weight — an AI file carries fonts, symbol libraries, swatches, and undo state that a viewer would never use, inflating transfer size for no benefit.
Even though modern .ai files embed a PDF stream, servers cannot rely on a browser opening that preview. Per Adobe's own AI file overview, AI is for design work in Illustrator, not for publishing.
What an AI file stores
An AI file preserves the full editable state of an Illustrator project. This is the reason it exists and the reason it is large.
A typical .ai document retains:
- Editable vector paths — every anchor point and curve handle stays adjustable.
- Layers and sub-layers — named, ordered, and lockable, for example separate logo, type, and background layers.
- Live type — text with its font, kerning, and OpenType features intact, not yet outlined to paths.
- Symbols and swatches — reusable instances and brand colour libraries.
- Multiple artboards — distinct compositions in one file, such as a logo in horizontal, stacked, and icon variants.
When you flatten and export, all of this collapses into a final rendered result — either vector shapes (SVG) or a pixel grid (PNG, JPEG, AVIF).
The correct workflow: Illustrator to the web
Export from Illustrator into a web format; never publish the .ai source. The right export target depends on whether the artwork is vector or photographic.
Follow this rule of thumb:
- Vector logos and icons go to SVG. SVG keeps the artwork resolution-independent, stays tiny, and is the only vector format browsers render natively. A flat logo is wrong as any raster format.
- Photographic or raster-heavy art goes to AVIF. When a design contains photos, complex gradient meshes, or textures that do not vectorise cleanly, export a raster preview and encode it as AVIF for the smallest web bytes.
AVIF is the raster export target here, not a replacement for vector. AVIF stores a photograph in roughly half the bytes of a PNG at matched quality, and reaches about 94% of global browsers in 2026. For raster previews of Illustrator art, that makes AVIF the most efficient delivery choice.
SVG or AVIF: choosing the export
Choose by artwork type, not by habit. The two web targets serve opposite kinds of content.
| Question | Export to |
|---|---|
| Is it a flat logo, icon, or wordmark? | SVG |
| Must it stay sharp at any size? | SVG |
| Does it contain photos or fine raster texture? | AVIF |
| Is a fixed-size preview enough? | AVIF |
| Need a universal fallback? | PNG or JPG |
If you already have a raster export in PNG or JPG, convert it to AVIF in your browser with no upload: Convert PNG to AVIF or Convert JPG to AVIF. To go the other way for editing or sharing, use Convert AVIF to PNG or Convert AVIF to JPG.
Common mistakes with AI files
The most frequent error is treating .ai as a deliverable. A developer asked for "the logo" rarely wants an Illustrator source file.
Avoid these three pitfalls:
- Sending
.aiwhen SVG is meant — the recipient often has no Illustrator licence; an.aifile is dead weight to a web team. - Rasterising a logo that should stay vector — exporting a flat logo to AVIF or PNG throws away scalability; use SVG instead.
- Forgetting to outline type before handoff — if the recipient lacks your fonts, live text reflows or substitutes; convert type to paths first.
FAQ
Can a browser open an .ai file?
No. No mainstream browser decodes .ai files, because the format is proprietary to Adobe and has no web decoder. Even the embedded PDF stream is not rendered when an .ai URL is requested. Convert to SVG or a raster format such as AVIF first.
How do I put Illustrator art on a website?
Export from Illustrator into a web format. Use SVG for vector logos and icons; use AVIF for photographic or raster previews. In Illustrator, "Save As → SVG" produces the vector file; "Export As" produces a raster you can then convert with Convert PNG to AVIF.
Is AVIF a replacement for AI?
No. AVIF is a raster delivery format; AI is a vector editing source — they sit at opposite ends of the workflow. You keep the .ai source for editing and export AVIF as a final web preview. AVIF cannot store editable paths, layers, or live type.
Why is my AI file so large?
An AI file stores fonts, symbol libraries, swatches, multiple artboards, and editing history on top of the artwork. A simple logo can exceed 200 KB as .ai yet export to a 2 KB SVG. The bulk is editor state, stripped on export.
Further reading
- Adobe Illustrator Artwork — Wikipedia — format history and PostScript origins
- What is an AI file? — Adobe — Adobe's own format overview
- SVG Format — the web target for vector logos exported from Illustrator
- AVIF Format — the raster delivery target for photographic exports
- AVIF Optimization — squeezing raster exports to the smallest bytes
- Image SEO Best Practices — alt text and markup for exported images