onlineimagetools logo

Gif to base64 converter

World's simplest image tool

Free online GIF to base64 converter. Just drag and drop your GIF and it will automatically get converted to base64 format. There are no ads, popups or nonsense, just an awesome GIF to base64 encoder. Load a GIF – get base64. Created by developers for developers.
announcement heads up!
We just launched a new site — Online MATH Tools — utilities for doing mathy things. Check it out!
fullscreen fullscreen_exit
GIF Player
GIF player speed in millisecs. (Default: 250 milliseconds.)
Base64 Line Length
Enable base64 line chunks.
How many characters per chunk?
Data URI
Make base64 output Data URL compatible.
Gif to base64 converter tool What is a gif to base64 converter?
This tool base64-encodes GIF animations. It lets you preview the GIF that you're encoding to base64 frame-by-frame via GIF player. It also allows you to set line size of the output base64 for improved readability. Last but not least, it lets you create a valid Data URL out of your GIF by checking the appropriate option above. Simple and quick!
Gif to base64 converter examples Click to use
Convert a GIF to Base64
This example base64-encodes a GIF animation of a spaceship. It enables GIF player but disables line splitting and data URI options.
R0lGODlhSQAnAMQXACfWjFXzo05OTgCVV/8ACAtpQx/VPACqXxSpLGAARAyPIu4YYicgJOgUrwBMD9DQ0PdvEv8lAM0AKG1cAeWMB75xAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVF [...]
Required options
These options will be used automatically if you select this example.
Enable base64 line chunks.
Make base64 output Data URL compatible.
Convert a GIF to Data URI with line split
This example base64-encodes a GIF animation of a rose, then prepends the Data URL prefix, then adds a new line after every 16 characters, and finally disables GIF playback.
data:image/gif;base64,R0 lGODlhZABkANU9AP///xcYFw oKCiYnJjQ1NA8QDx8gHi8xLR MYDUhbMzlIJ3aUU2mFSebn5k NULlJoOba2tl11QXGOTmdpZk ZIRnd4d01hNsvMy4iJiMPLup [...]
Required options
These options will be used automatically if you select this example.
Enable base64 line chunks.
How many characters per chunk?
Make base64 output Data URL compatible.
All image tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly convert a PNG image to a JPEG image.
Quickly convert a JPEG image to a PNG image.
Quickly convert a PNG image to a GIF image.
Quickly convert a GIF image to a PNG image.
Quickly convert a PNG image to a BMP image.
Quickly convert a bitmap image to a PNG image.
Quickly base64-encode a PNG image.
Quickly decode a base64-encoded PNG image.
Quickly convert a BMP image to a GIF image.
Quickly convert a GIF image to a BMP image.
Quickly convert a JPEG image to a bitmap image.
Quickly convert a bitmap image to a JPEG image.
Quickly convert a bitmap image to base64 encoding.
Quickly base64-decode a bitmap image.
Quickly convert a JPEG image to a single-frame GIF image.
Quickly convert an animated GIF to a JPG image.
Quickly convert a GIF to base64 encoding.
Quickly decode base64 to a GIF.
Quickly extract frames from GIF animations.
Quickly play a GIF animation frame by frame.
Quickly base64-encode a JPEG image.
Quickly decode a base64-encoded JPEG image.
Quickly change the quality of a JPEG image.
Quickly convert an image to base64 encoding.
Quickly decode base64 to an image.
Quickly crop any image.
Quickly resize any image to any size.
Quickly rotate any image by arbitrary angle.
Quickly make multiple copies of an image.
Quickly flip an image horizontally.
Quickly flip an image vertically.
Quickly add text to any image.
Quickly add a border around an image.
Quickly make the corners of any image rounded.
Quickly convert a color image to a grayscale image.
Quickly blur an area of an image.
Quickly sharpen an area of an image.
Quickly pixelate an area of an image.
Quickly generate a random image.
Quickly convert an image to a Data URL.
Quickly convert a Data URL to an image.
Coming soon These image tools are on the way
Image Editor
Edit images in your browser.
Convert PNG to ICO
Convert a PNG image to an ICO icon.
Convert ICO to PNG
Convert an ICO icon to a PNG image.
Convert PNG to TIFF
Convert a PNG image to a TIFF image.
Convert TIFF to PNG
Convert a TIFF image to a PNG image.
Convert JPG to ICO
Convert a JPEG image to an ICO icon.
Convert ICO to JPG
Convert an ICO icon to a JPEG image.
Convert JPG to TIFF
Convert a JPEG image to a TIFF image.
Convert TIFF to JPG
Convert a TIFF image to a JPEG image.
Convert GIF to ICO
Convert a GIF image to an ICO icon.
Convert ICO to GIF
Convert an ICO icon to a GIF image.
Convert GIF to TIFF
Convert a GIF image to a TIFF image.
Convert TIFF to GIF
Convert a TIFF image to a GIF image.
Convert GIF to Animated PNG
Convert a GIF image to an APNG icon.
Convert Animated PNG to GIF
Convert an APNG image to a PNG image.
Convert BMP to ICO
Convert a bitmap image to an ICO icon.
Convert ICO to BMP
Convert an ICO icon to a bitmap image.
Convert BMP to TIFF
Convert a bitmap image to a TIFF image.
Convert TIFF to BMP
Convert a TIFF image to a bitmap image.
Convert Webp to ICO
Convert a Webp image to an ICO icon.
Convert ICO to Webp
Convert an ICO icon to a Webp image.
Convert Webp to TIFF
Convert a Webp image to a TIFF image.
Convert TIFF to Webp
Convert a TIFF image to a Webp image.
Create an Animated GIF
Create an animated GIF image from static frames.
Create a Thumbnail
Convert an image to a thumbnail
Create a Glitch Image
Convert a PNG, GIF, JPG or BMP to glitch art.
Convert PNG Color Space
Convert a 24-bit PNG to an 8-bit PNG and around.
Generate ASCII Art from an Image
Create an ASCII art image from a regular image.
Generate ANSI Art from an Image
Create an ANSI art image from a regular image.