Google has released the first version of Swiffy, a Google Labs product that converts SWF files (Flash) to HTML5. Users only need to upload a SWF file and Swiffy produces an HTML5 version which runs in modern browsers with lots of SVG support such as Chrom and Safari.

While Swiffy won’t convert all Flash content, it seems to work well for ads and basic animations. Google provides several example of SWF files converted through Swiffy. Check out the Google Chrome ad and Symphony Orchestra ad for examples.

According to Google, Swiffy uses a compact JSON representation of the animation, which is rendered using SVG and a bit of HTML5 and CSS3. ActionScript 2.0 is also present in the JSON object, and is interpreted in JavaScript in the browser. This representation makes the Swiffy animations almost as compact as the original SWF files.