How Do I Animate My Discord Server PFP?


Larry Thompson

Are you looking to add some animation to your Discord server’s profile picture (PFP)? Well, you’re in luck!

In this tutorial, we will guide you through the process of animating your Discord server PFP using simple HTML and CSS. Let’s get started!

Step 1: Creating the Animated Image

First, you need to create the animated image that you want to use as your Discord server PFP. You can use any image editing software to create a GIF or a series of images that will be used for animation. Make sure to save your animated image in a format supported by Discord, such as GIF or APNG.

Step 2: Hosting the Animated Image

To use an animated image as your Discord server PFP, you need to host it online. There are several free image hosting platforms available, such as Imgur or Giphy. Upload your animated image to one of these platforms and make sure to copy the direct link to the image.

Step 3: Adding Custom CSS

In order to animate your Discord server PFP, we need to utilize custom CSS. Open up your Discord server settings and navigate to the “Server Settings” tab. Click on “Appearance” and scroll down until you find the “Custom CSS” section.

In this section, paste the following CSS code:

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}server-icon img {
  animation: spin 5s linear infinite;

This code defines an animation called “spin” that rotates an element from 0 degrees to 360 degrees over a period of 5 seconds. It then applies this animation to all images inside elements with the class “server-icon”.

Step 4: Applying the Custom CSS

To apply the custom CSS to your Discord server, you need to have the necessary permissions. If you’re the server owner or have administrative privileges, you can simply paste the CSS code into the “Custom CSS” section mentioned in Step 3.

If you don’t have the necessary permissions, you can use a Discord bot with custom CSS capabilities. Invite a bot that supports custom CSS and follow their instructions on how to apply the CSS to your server.

Step 5: Updating Your Server PFP

Finally, it’s time to update your Discord server PFP with your animated image. Go back to your server settings and click on “Server Settings”.

Under the “Server Overview” tab, click on your current server icon. In the pop-up window, click on “Upload” and select your animated image from your computer.

After uploading, Discord will display a preview of how your animated PFP will look. If everything looks good, click on “Save Changes” to apply your new animated PFP.


Congratulations! You’ve successfully animated your Discord server PFP using HTML and CSS.

Now, whenever someone visits your server or hovers over it in their server list, they will see the animation in action. Remember that custom CSS might not work in all Discord clients or mobile devices, so make sure to test it across different platforms.

Feel free to experiment with different animations or customize the CSS code to suit your preferences. Have fun animating!

Discord Server - Web Server - Private Server - DNS Server - Object-Oriented Programming - Scripting - Data Types - Data Structures

Privacy Policy