Asked • 06/18/19

Export a single object in Illustrator without the other objects to SVG code?

So I am pretty much desperate by now.I am a web developer and -designer, but I don't use Illustrator. I just don't need it at all.The file that I got from the graphic designer contains two artboards with several icons spread all over these. I need to export every single icon as `SVG`.So I selected every object, clicked <kbd>Object > Artboards > Fit to Selected Art</kbd> and exported that. I was a little worried because the `SVG` Code I got from that was very bloated and had so many paths defined in it, that I couldn't add classes to it without having to fear that I am doing something wrong.When I opened the exported `svg` to look if I did something wrong, the whole icon, wrapped by the artboard borders was there, with all the other icons below a grey overlay (!!!). So all the other paths were actually in every single `SVG` file.I tried everything but it just doesn't work. I cant go in 50 files to delete all the code.Any solutions?

Ari W.

Have you tried Asset Export? From the Window menu view the Asset Export panel. Drag each icon to the panel and you can export them individually. Would love to hear if this worked better to give you clean SVG code.
Report

06/18/19

1 Expert Answer

By:

Lem C. answered • 08/27/20

Tutor
4.8 (52)

Experienced Graphic Artist and Illustrator

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.