Recently, when I was trying to download a gif file from Giphy, I noticed that when I went directly to the file, https://media.giphy.com/media/14kdiJUblbWBXy/giphy.gif for example, that it was actually loading a web page instead of the gif file. 😞

I figured that they were probably detecting that based on who/where the request was coming from, so I tried downloading the gif file by running a cURL command:

curl https://media.giphy.com/media/KXgJsSeOfvSgg/giphy.gif --output ~/Desktop/download.gif

This resulted in the actual gif file that I wanted being placed on my Desktop as download.gif. 💪

If you landed here, then hopefully you’ll find this little workaround helpful. 😄

13 thoughts on “How to download a gif from Giphy

  1. Thanks for this. I dont know why Giphy just doesn’t allow you to get a GIF file as need, instead they force another format. The command worked as expected.

  2. OK, noob question, but is running a cURL command different than pasting into a browser? Instead of a download, I’m directed to search results on that address. (Tried three browsers and several default search engines) . Thanks!

    1. Hi Joe – Yes, running a cURL command is different than pasting into the browser. On a Mac, you’ll need to run this from the Terminal app, or some other similar program. If you’re on a PC, there should be an equivalent there as well, though I haven’t had a PC in a while.

    1. Hello Tosin,

      Open up the “Terminal” app, copy and paste the command above (being sure to replace the URL with that of the GIF that you want) into the “Terminal” app, then hit enter. Afterwards, the GIF should be available on your Desktop.

  3. I right clicked on the Gif from Giphy > Save to (Google) Keep> Then from Keep, Right clicked gif then > Save. It default saves as .gif. I have a label created for GIFS in Keep. You can also do this for your Google Drive but may have to go through keep first. Of course you have to have the Google Keep Extension and chrome app. If you don’t have Keep, you should. BTW- Did this from PC Windows…. More than one way to skin a fish.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.