A script for Adobe Illustrator that converts your Illustrator artwork into an html page.

npm install ai2html@0.116.0



ai2html is an open-source script for Adobe Illustrator that converts your Illustrator documents into html and css.

Here are examples of how we’ve used the script at The New York Times and examples of how others have used it. Share your ai2html projects on Twitter, Delicious, etc. using #ai2html.

For documentation and examples on how to use ai2html, please visit ai2html.org.

Contributing to this project

The Github repository for this site is available at newsdev/ai2html.


Many thanks to Gregor Aisch, Derek Watkins, Josh Katz, K.K. Rebecca Lai, Tom Giratikanon, Matt Ericson, Jeremy Ashkenas and Alan McLean for their incredible contributions to this project, as well as to my colleagues in The New York Times Graphics Department for their patient guidance.

If you’re learning to write Javascript for Adobe Illustrator, John Wundes, has many wonderful scripts. explore.js is particularly helpful for understanding what attributes are attached to Illustrator objects.

Created by Archie Tse / The New York Times

Copyright (c) 2011-2021 The New York Times Company