Skip to content

Instantly share code, notes, and snippets.

@luuk00000000000000000000000000000000000
Last active June 4, 2026 02:18
Show Gist options
  • Select an option

  • Save luuk00000000000000000000000000000000000/b00228769f154cb4ed2fcb266698cab1 to your computer and use it in GitHub Desktop.

Select an option

Save luuk00000000000000000000000000000000000/b00228769f154cb4ed2fcb266698cab1 to your computer and use it in GitHub Desktop.
This is a tutorial on how you can backup and restore your Discord favorite gifs (on windows)

This won't work anymore because Discord moved to cloud storage for the gifs

Backup

  1. Open Discord.
  2. Press CTRL, SHIFT and I on your keyboard at the same time.
  3. In the newly opened window, at the top, click the >> button, and then click on Application.
    Image 1
  4. Once in the Application tab, click the little triangle next to Local Storage, and then click on https://discordapp.com.
    Image 2
  5. At the top of the tab type gif in the box that says Filter.
    Image 3
  6. Double click the value of GIFFavoritesStore and copy that somewhere. Backup done!
    Image 4

Restore

  1. Repeat steps 1 - 5 of the Backup section of this guide.
  2. Double click the value of GIFFavoritesStore and paste the value you backed up. After that press ENTER. Image 4
  3. Click the X button in the top right corner.
    Image 5
  4. Press CTRL and R on your keyboard at the same time. Restore done!
@qualk

qualk commented Sep 14, 2021

Copy link
Copy Markdown

:O

@ProGamerKurt

Copy link
Copy Markdown

Ok

@Vexx3

Vexx3 commented Nov 11, 2021

Copy link
Copy Markdown

gg

@bepvte

bepvte commented Nov 11, 2021

Copy link
Copy Markdown

This wont work anymore. They moved to an online gif backup with 250 gifs and no longer use that localstorage key

@luuk00000000000000000000000000000000000

Copy link
Copy Markdown
Author

This wont work anymore. They moved to an online gif backup with 250 gifs and no longer use that localstorage key

Thanks for the heads up, I'll edit the gist.

@TheOneGoofAli

Copy link
Copy Markdown

...odd - I tried it and it worked when transferring the key from the web version to the desktop app.

@bepvte

bepvte commented Nov 12, 2021

Copy link
Copy Markdown

Its being rolled out, to stable, and theres also a mechanism to transfer data from the old key to the new key

@TheOneGoofAli

Copy link
Copy Markdown

Is there now? Do tell me.

@bepvte

bepvte commented Nov 12, 2021

Copy link
Copy Markdown

Its just part of discord. They move the old favorites data to the new favorites spot so you dont lose it when going to the new system where its all online.

@TheOneGoofAli

Copy link
Copy Markdown

...'aite. Thanks for giving a heads up.

@serious-angel

serious-angel commented Nov 12, 2021 •

Copy link
Copy Markdown

Thank you very much! Interesting that GIFs are not shown in the client even while exist in the storage:

image

image

@bepvte

bepvte commented Nov 15, 2021

Copy link
Copy Markdown

Lots all my favorited gifs in the tranfer process and can't even use my backup....

I made this exporter for you: https://codepen.io/bepvte/full/VwzVzpq .

@serious-angel

serious-angel commented Nov 15, 2021 •

Copy link
Copy Markdown

Lots all my favorited gifs in the tranfer process and can't even use my backup....

I made this exporter for you: https://codepen.io/bepvte/full/VwzVzpq .

Nice! Interesting that some media downloads while viewing an exported/parsed HTML, and some - does not. It seems the "src" value may or may not start with "http(s):", thus added a little change: https://jsfiddle.net/26va05b3/

For example, some Json contained:

{    
    "width":640,
    "height":640,
    "src":"//media.tenor.com/videos/b4f873c80148b9f044a0c68acee0f81d/mp4",
    "url":"https://tenor.com/view/stars-glitters-sparkles-purple-shiny-gif-17171909",
    "format":"VIDEO"
}

@bepvte

bepvte commented Nov 15, 2021

Copy link
Copy Markdown

Ty, merged into my codepen. You forgot to include the jsdelivr for file-saver in yours I think

@AirplanegoBrr

Copy link
Copy Markdown

I think this has been changed.. Update?

@bepvte

bepvte commented Jul 28, 2022

Copy link
Copy Markdown

Read the first line of it LOL

@AirplanegoBrr

Copy link
Copy Markdown

im blind af

ghost commented Jan 19, 2024

Copy link
Copy Markdown

@tobleroneaddict

tobleroneaddict commented Jun 4, 2026 •

Copy link
Copy Markdown

this still works in 2026 from my testing, just search 'favoritegif', click the key, right click the {versions:" part and copy object, paste into your favorite text editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment