AI to SVG: how to convert an Illustrator file, with or without Illustrator

AI to SVG: how to convert an Illustrator file, with or without Illustrator
Short answer

To convert AI to SVG, open the .ai file in Illustrator and choose File, Export, Export As, SVG; it takes about two minutes and keeps the vector paths. Without Illustrator, open it in the free Inkscape and save as SVG, or use a converter such as CloudConvert (10 free conversions a day). This works only when the .ai was saved as PDF compatible, which is the default.

You can convert an AI file to SVG in about two minutes without losing quality, because both formats store a logo as vector paths. In Illustrator use File, Export, Export As and pick SVG; without Illustrator, open the file in the free Inkscape or a converter like CloudConvert (10 free conversions a day) and save it as SVG. The catch is that an .ai file can hide things a converter does not handle well, so check the file first.

First: which "AI" do you mean?

Searches for "AI to SVG" mix two very different jobs, and the method depends on which one you have:

  • An .ai file is an Adobe Illustrator document. It is already vector, so converting it to SVG is a format change. Nothing is traced or redrawn. This guide covers that case.
  • An AI generated image (from ChatGPT, Midjourney and similar) is a PNG or JPG made of pixels. Turning it into an SVG means vectorizing it: tracing or redrawing the shapes. That is a different process, explained in our guide on how to vectorize a logo.

Quick test: if the file name ends in .ai, keep reading. If it ends in .png, .jpg or .webp, you need vectorizing, not converting.

5 ways to convert an AI file to SVG compared

MethodCostNeeds PDF compatible .ai?Best forWatch for
Illustrator: Export AsPaid subscriptionNoA clean SVG for a website or developerExports the whole artboard, including empty space
Illustrator: Export for ScreensPaid subscriptionNoLogo files with several artboards (color, white, icon)Artboard names become file names
InkscapeFreeYesAnyone without IllustratorOpens the PDF copy inside the file, so some effects can change
Canva AI to SVGCanva ProYes, in practicePeople who already pay for CanvaPro only; check the SVG code afterwards
Online converter (CloudConvert, Convertio, Zamzar)Free for a few filesUsuallyA quick, non confidential one offYou upload the file to a third party; some tools rasterize

If you have Illustrator, use it: you can see and fix the artwork before it becomes an SVG. If you do not, Inkscape gives the most control for free.

Check the .ai file before you convert

An EPS or PDF is usually one flat drawing. An .ai file is a working document, and that is where most bad SVGs come from. Open it and look for these six things:

  1. Several artboards. Designers often put the full logo, a white version and an icon on separate artboards in one file. A plain export can turn all of them into one wide SVG. Decide which artboard you need, or export each one separately.
  2. Hidden or locked layers. Old versions, guides and notes often sit on hidden layers. Delete what you do not need so it does not end up in the SVG code.
  3. Live text. If the logo uses a font that is not installed on the computer opening the SVG, the browser swaps it. Select the lettering and choose Type, Create Outlines before exporting.
  4. Effects. Drop shadows, glows and textures from the Effect menu are often exported as embedded pixel images. Remove them, or accept that part of the SVG will not scale cleanly.
  5. Linked images. If the file has placed photos or textures, they are either embedded as pixels or lost. A proper logo should not need them.
  6. CMYK color mode. Print files are often CMYK, while SVG is a screen format. Switch to RGB and check the colors against your brand HEX values.

How to convert AI to SVG in Illustrator

  1. Open the .ai file and run the checks above.
  2. Fit the artboard to the logo. Choose Object, Artboards, Fit to Artwork Bounds, so the SVG has no empty margins.
  3. Export. Choose File, Export, Export As, set the format to SVG, tick Use Artboards if you want one file per artboard, and click Export.
  4. Pick the SVG options. For a logo on a website we use Internal CSS styling, fonts converted to outlines, Minimal object IDs, 2 or 3 decimals, and Minify and Responsive turned on. Our EPS to SVG guide explains each of these settings in more detail.
  5. Keep the .ai as your master. Adobe advises against reopening an exported SVG to edit it. Make changes in the .ai file and export again.

Export As or Save As? File, Save As, SVG creates an SVG that Illustrator can reopen with more of its editing features kept, but the code is heavier. Use Export As for anything that goes on a website and Save As only when you want to keep editing the SVG itself in Illustrator.

Several logo versions at once: File, Export, Export for Screens lets you tick the artboards you want and export each one as its own SVG, named after the artboard. Name the artboards well first, for example logo-color, logo-white and icon.

Before you send an SVG to a developer, open it in a plain text editor and search for "<image". If you find it, part of your logo is still a pixel image, usually a shadow, a texture or a pasted PNG, and it will look soft on large screens. A clean logo SVG contains only paths and shapes.

How to convert AI to SVG without Illustrator

Most tools outside Adobe do not read the Illustrator data in an .ai file. They read the PDF copy that Illustrator stores inside it when "Create PDF Compatible File" is turned on, which is the default. Inkscape's own developers describe it the same way: when you open a modern .ai file, Inkscape uses its PDF importer. Our guide on how to open an AI file without Illustrator explains this in full.

In Inkscape (free):

  1. Choose File, Open and select the .ai file. Keep the default import settings.
  2. Delete anything you do not need, such as a background box or a second logo version.
  3. Choose Edit, Resize Page to Selection so the SVG fits the logo.
  4. Choose File, Save As and pick Optimized SVG for the web, or Plain SVG if you plan to edit it later.

In Canva: Canva has an AI to SVG converter, but its own page says the feature is only available to Pro subscribers. Upload the .ai file, check that everything came through, then download it as SVG.

With an online converter: CloudConvert's free plan allows 10 conversions per day with files up to 1 GB. Convertio, Zamzar and FreeConvert work in a similar way. They are fine for a simple logo that is not confidential, but you cannot fix anything before converting, so always check the result.

Common AI to SVG problems and fixes

  • "This is an Adobe Illustrator file that was saved without PDF content": the file was saved with PDF compatibility turned off. Only Illustrator can open it. Ask the designer to save it again with "Create PDF Compatible File" ticked, or to send an SVG or PDF directly.
  • Blank page or nothing imported: same cause as above, or a very old .ai version. Ask for a PDF or EPS copy.
  • Two or three logos in one SVG: the file had several artboards. Export one artboard, or delete the extra versions before saving.
  • Lettering changed shape: the font was live text and is missing. Outline the text in Illustrator, or install the font before converting.
  • Shadows look blurry or have a box around them: they were exported as pixel images. Remove the effect or rebuild it as a simple vector shape.
  • Huge file size: hidden layers, embedded images or too many decimal places. Clean the file and export with Minify on.

For the final checks before the logo goes live (zoom test, dark background test, colors), use the checklist in our EPS to SVG guide.

Related guides

Only have an AI file nobody can open?

We rebuild your logo as clean vector paths and deliver SVG, EPS, AI, PDF and PNG files ready for your website, developer and printer.

Logo Vectorization →

FAQ

Yes, if the .ai file was saved with PDF compatibility, which Illustrator does by default. Inkscape (free), Canva Pro and online converters like CloudConvert can then read it and save an SVG.

No. Both formats store vector paths, so the logo stays sharp at any size. Only effects such as shadows or placed photos may become pixel images inside the SVG.

No. AI is Adobe Illustrator's working file with layers and artboards, while SVG is an open web format that browsers display directly. Keep the AI as your master and send the SVG to developers.

An AI generated image is a PNG or JPG, so it has to be vectorized, not converted. Auto tracing works for simple shapes; a logo is best redrawn by hand for clean curves.

Sources
Bojan Sandic

Founder of SkyDesigner. Fiverr Pro Vetted designer, selling on Fiverr since 2014 with 24,500+ reviews.

Vetted Pro
Top Rated ◆◆◆