This tip only applies if you have Adobe Illustrator CC (Creative Cloud). I confirmed it works in that, or the even newer CC 2014.

It's as simple as can be: copy from Illustrator, paste into HTML.

What is on your clipboard when you copy in Illustrator is apparently SVG syntax. Pretty dang useful sometimes. Just remember to clean house as needed as often what you get out of Illustrator isn't perfectly ideal for the web.


  1. User Avatar
    Permalink to comment#

    I don’t think this works if part of the selection is a text object.

  2. User Avatar
    saurabh gayali
    Permalink to comment#

    I wanted exactly opposite of this. I have svg codes, but I dont want to save files. Directly paste on illustrator. it pastes text. May be illustrator doesnt want to analyse what text is being pasted, but there can be one option in file menu that opens a dialogues box to paste svg code and further directly rendered on illustrator.

  3. User Avatar
    Permalink to comment#

    LOL, this is awesome! THX a lot! (Works in 22.0.1).

Leave a Comment

Posting Code!

You may write comments in Markdown. This makes code easy to post, as you can write inline code like `<div>this</div>` or multiline blocks of code in triple backtick fences (```) with double new lines before and after.

Code of Conduct

Absolutely anyone is welcome to submit a comment here. But not all comments will be posted. Think of it like writing a letter to the editor. All submitted comments will be read, but not all published. Published comments will be on-topic, helpful, and further the discussion or debate.

Want to tell us something privately?

Feel free to use our contact form. That's a great place to let us know about typos or anything off-topic.