• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Pasting SVG Code in Illustrator

Participant ,
Feb 16, 2020 Feb 16, 2020

Copy link to clipboard

Copied

I need some information.

 

I have an SVG code. Is it possible to paste the SVG code directly in illustrator get the artwork from the code.

SVG code (from other source) > Copy > Open Illustrator Document > Paste the code > Get the artwork.

 

I dont want to save SVG each time and import it in illustrator.

I hope it make sense. 

TOPICS
Feature request , Scripting , Tools

Views

37.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 16, 2020 Feb 16, 2020

have your tried copying/pasting? I just did and it worked fine here Win 10, CC2020.

 

the svg code I copied was a file I exported from Illustrator, I'm not sure if svg from other sources will work as well.

Votes

Translate

Translate
Adobe
Community Expert ,
Feb 16, 2020 Feb 16, 2020

Copy link to clipboard

Copied

That's not possible. Paste the code into a text file and then save it. Then you can open it in Illustrator and import it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 16, 2020 Feb 16, 2020

Copy link to clipboard

Copied

Thats the solution I am already aware of. 

I have a specific requirement as I have to work in many SVG files. Its getting tidious task in exporting and importing. 

 

Is there any kind of tool/plugin available which can perform such task?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 16, 2020 Feb 16, 2020

Copy link to clipboard

Copied

I'm not aware of a plugin that does this.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 16, 2020 Feb 16, 2020

Copy link to clipboard

Copied

have your tried copying/pasting? I just did and it worked fine here Win 10, CC2020.

 

the svg code I copied was a file I exported from Illustrator, I'm not sure if svg from other sources will work as well.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 16, 2020 Feb 16, 2020

Copy link to clipboard

Copied

Wow, that actually worked. It was pretty easy 🙂

Thanks a lot and my bad for never trying the same. 😄

 

However, for some (or many) files it says 

"cannot paste the objects. the requested transformation would make some objects fall"

Any solution for this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 17, 2020 Feb 17, 2020

Copy link to clipboard

Copied

do those files open without issues using the UI? or do you still get the error message?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 18, 2020 Feb 18, 2020

Copy link to clipboard

Copied

Yes, those gets opened when saving svg and opeing it in illustrator.

However, the object inside svg crossess the artboard as well as the entire visible area. But it do gets open by this process.

With copy paste, I am seeing the above error message.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 18, 2020 Feb 18, 2020

Copy link to clipboard

Copied

can you share one of the trouble files?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 10, 2020 Aug 10, 2020

Copy link to clipboard

Copied

You could use the following tool: https://jakearchibald.github.io/svgomg/ , simply copy/paste the code in then download as a binary file.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 06, 2021 May 06, 2021

Copy link to clipboard

Copied

LATEST

Yes, it's possible. Check this.

Open Adobe Illustrator CC and paste this in an artboard:

 

<svg width="20" height="20" viewBox="0 0 24 24">
<path d="M14 2A8 8 0 0 0 7.4 14.5L2.4 19.4a1.5 1.5 0 0 0 2.1 2.1L9.5 16.6A8 8 0 1 0 14 2Zm0 14.1A6.1 6.1 0 1 1 20.1 10 6.1 6.1 0 0 1 14 16.1Z"></path>
</svg>

 

It's the SVG code of the search icon from this website. Paste get the artwork, as you have wished.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines