GIF to SWF Converter
Turn a GIF animation into a video SWF file, in your browser.
or drop files here
GIF Format
Graphics Interchange Format
A raster frame format used for small animations, with palettes and per-frame timing.
- 256-color palette per frame
- lossless LZW compression
- animation
SWF Format
Shockwave Flash
A legacy Flash movie format that can carry graphics, timelines and encoded media.
- vector animation
- ActionScript interactivity
- can embed video and audio
How to convert GIF to SWF
Follow these steps to convert GIF to SWF online.
Choose your GIF file, or several at once.
Wait while the converter turns each file into SWF.
Download each new SWF file. Your original file isn't changed.
Related Tools
SWF to GIF
Convert SWF files to GIF format
GIF to AVIF
Convert GIF images to AVIF
GIF to BMP
Convert GIF images to BMP format
GIF to GIF
Convert GIF images to GIF format
GIF to HDR
Convert GIF to HDR format
GIF to ICNS
Convert GIF to ICNS format
GIF to JPEG
Convert GIF images to JPEG format
GIF to JXL
Convert GIF to JXL format
GIF to KTX
Convert GIF to KTX format
GIF to KTX2
Convert GIF to KTX2 format
GIF to MP4
Convert GIF files to MP4 format
GIF to PAM
Convert GIF to PAM format
GIF to PCX
Convert GIF to PCX format
GIF to PDF
Convert GIF to PDF format
GIF to PGM
Convert GIF to PGM format
GIF to PPM
Convert GIF to PPM format
GIF to SVG
Convert GIF files to SVG format
GIF to TIF
Convert GIF images to TIF format
GIF to TIFF
Convert GIF images to TIFF format
GIF to WEBM
Convert GIF files to WEBM format
GIF to WebP
Convert animated GIFs to WebP
GIF to XBM
Convert GIF to XBM format
FLV to SWF
Convert FLV files to SWF format
MP4 to SWF
Convert MP4 files to SWF format
Before converting GIF to SWF
- The SWF is a video of your GIF, with no ActionScript and no sound.
- FFmpeg's own defaults decide how the video is encoded.
- Very large pictures and fast frame rates are capped, and each side is trimmed to an even pixel count.
- Flash Player has ended, and Ruffle is a Flash emulator.
Understanding GIF for SWF output
What is a GIF file?
GIF dates to 1987 and CompuServe. Its GIF89a revision of July 1990 introduced transparency, animation timing, comments and application blocks. Compression is lossless LZW, but every image has a palette of 256 colors at most. Many images in one file, separated by delays in hundredths of a second, make a GIF animate. The media type is image/gif, and every major browser displays it.
Programs that open GIF files
- Windows, Mac and Linux:
- GIMP: writes still pictures or multilayer animations as GIF.
- ImageMagick: supports reading GIF.
- Web:
- Google Chrome and Mozilla Firefox: show GIF in a tab.
- Mobile:
- Safari and Chrome: handle GIF on a phone.
GIF and SWF compared
- Names and types: .gif is image/gif. SWF has the media type application/vnd.adobe.flash.movie.
- Color: GIF frames use palettes capped at 256 colors, while the SWF here carries video.
- Sound: a GIF is silent. SWF can carry audio, but the file made here has none.
- Animation: GIF repeats a stack of images. A SWF is a timeline-based legacy format that can also hold vector graphics and bitmap video.
Shockwave Flash started at Macromedia, which Adobe acquired in 2005, and carried Flash animations, games and interactive content with ActionScript behind them. Adobe Flash Player reached end of life on 31 December 2020. This page makes a video SWF, so no ActionScript is added.
In your browser, FFmpeg runs as WebAssembly and chooses the video codec itself: its default for SWF is Sorenson Spark (FLV1) video at 200 kbit/s. Interlaced frames are deinterlaced, and the picture is capped at 1920 pixels and 30 frames per second, with each side trimmed to an even value.
Other ways to convert GIF to SWF
- FFmpeg: run
ffmpeg -i badge.gif -an -c:v flv badge.swf. The-anoption skips audio, and-c:vselects the video encoder. FFmpeg lists GIF and SWF as both readable and writable. - SWFTools gif2swf: run
gif2swf -o badge.swf badge.gif. The-ooption sets the name of the SWF output file, and the GIF is the input file.
Problems with GIF files
- Banding in gradients: a GIF is limited to 256 colors, which changes smooth gradients.
- Frames overlay wrongly: disposal settings decide how later images sit over earlier ones.
- Comments can drop out: an export from GIMP skips a GIF comment holding characters outside the seven-bit range.
- Large GIFs: a long, large GIF becomes many video frames, so conversion takes longer on a slow device.
Frequently Asked Questions
Everything you need to know about our converter
Which steps convert a GIF to SWF here?
Does the SWF keep the animation?
Will the SWF be interactive?
Does the SWF have sound?
Can I play the SWF today?
Is the picture resized?
Can I choose the SWF's video settings?
Does my GIF leave my device?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.