Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to convert a whole bunch of static SWFs to SVGs and I was hoping that there was some sort of command line tool I could use so I could script it with PowerShell. Does anyone know of such an application?

share|improve this question
up vote 5 down vote accepted

Sourceforge seems to have an SWF to SVG converter.

Or, the other way around

share|improve this answer
This, unfortunately is a web-based application. As the title of the question states, I need to automate this from a command-line, with no dependencies on an internet connection. – blesh Oct 20 '10 at 17:14
Sorry, I followed the link to the source code and missed the "Web converter tool" midway down the page. The svg2swf tool is command line so I stupidly assumed the swf2svg was too. – mazianni Oct 20 '10 at 18:34

Research In Motion's development kit has a command line utility for this. You can get it in the dev kit here. The file is in the bin directory and is called swftosvg.exe.

swftosvg [-help] [-version] [-o 'outputfile'] [-d 'imagedir'] 'inputfile'.swf
display this help message
display product version
write the result of the conversion to 'outputfile' [default: 'inputfile'.svg]
write converted images to directory 'imagedir' [default: same directory as 'outputfile']

share|improve this answer

SWF is not necessarily static, where SVG usually is, there's no real way of converting SWF to SVG.

share|improve this answer
Actually, all of the SWFs I have are static. – blesh Oct 4 '10 at 14:59
Also, I know it can be done, as I've done it in the past, but I can't remember the app I used because it was two years ago. – blesh Oct 4 '10 at 15:01
@blesh doesn't matter, they generally aren't... SWF and SVG are two very different kind of files... – BloodPhilia Oct 4 '10 at 15:01
I've done it in the past. So yes, it can be done. In fact, there's a [web tool to do it][1], but what I'm looking for is a command line tool to do it. [1]: – blesh Oct 4 '10 at 15:11
@blesh I see... Another thing learned today :) – BloodPhilia Oct 4 '10 at 15:23

I found it myself.

The tool URL is here, it requires Java, but whatever.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.