← Blog

Create Perfect Round Avatars for GitHub, Discord, Twitter

·7 min read

I uploaded a perfectly square profile picture to Discord and it looked great on desktop. On mobile, my face was cropped off at the chin. Then I checked Twitter and the same image was showing as a circle with my name cut off. Each platform handles avatar cropping differently, and what looks good on one looks broken on another. Here is how to make avatars that work everywhere.

PicFix round corners tool interface showing adjustable corner radius preview

Platform Avatar Specs in 2026

PlatformDisplay ShapeRecommended SizeMax File Size
GitHubRound512×51210 MB
DiscordRound512×5128 MB
Twitter / XRound400×4002 MB
SlackRound500×5005 MB
LinkedInSquare (rounded)400×4008 MB
InstagramCircle (profile)320×320Not specified

Sizes based on current platform guidelines as of mid-2026. These change. When in doubt, 512×512 covers everything except Twitter.

Step 1: Square Crop Your Source Image

Every platform starts with a square source. If your image is not square, the platform will crop it — and the crop is rarely where you want it. Most platforms center-crop, which means your face ends up in the center. If your subject is off-center, important content gets cut.

Use PicFix's resize tool to crop your image to a perfect square. Set width and height to the same value (512×512 is the safest universal size). Position your subject in the center of the frame with some breathing room around the edges.

Step 2: Round the Corners

Once you have a square image, apply rounded corners. For avatars, you want maximum roundness — set the corner radius to 50% of the image width, which produces a perfect circle.

PicFix's round corners tool does exactly this. Upload your square image, slide the radius to maximum, and download the result. The preview shows exactly how the final circle will look.

One limitation: PicFix rounds the corners of the image file itself, but GitHub and Discord apply their own circular mask on top. If your image has a background color, the rounded corners help it blend nicely with the platform's circular frame. If your image has a transparent background, the circle will float cleanly regardless.

Step 3: Optimize for Each Platform

After creating your round avatar, optimize it per platform:

  • GitHub: 512×512 PNG with transparent background. GitHub applies its own circular crop, so a transparent background blends with any theme (light or dark).
  • Discord: 512×512 PNG or JPEG under 8 MB. Discord compresses avatars aggressively, so keep detail high in the center of the image.
  • Twitter:400×400 JPEG under 2 MB. The strictest limits. Use PicFix's compressor to fit under the cap while keeping quality acceptable.
  • Slack: 500×500 PNG. Slack displays avatars crisply — no noticeable compression artifacts.

Step 4: Compress for Fast Loading

Avatars load on every page view, every message, every comment. A 500KB avatar wastes bandwidth and slows down page load for your followers. Compress without visible quality loss.

For a 512×512 avatar, aim for under 100KB. At this size, quality remains excellent for profile photos. PicFix's compress tool can reduce a 300KB avatar to 60-80KB with no visible difference at avatar display size (32-128 pixels on screen).

Background Transparency vs Solid Color

A key decision: should your avatar background be transparent or filled?

  • Transparent (PNG): Blends with any theme. Best for logos, icons, and subjects that are naturally separated from background. GitHub and Discord both support it well. Slack sometimes shows a dark checkerboard behind transparent areas during upload — it resolves once saved.
  • Solid background: Predictable appearance across all platforms. If your avatar has a white background, it looks the same on light and dark mode (the white edge merges with the light theme but stands out on dark).

I use transparent for personal avatars and solid color (brand color) for project/organization avatars.

Quick Avatar Creation Flow

  1. Open PicFix resize tool and crop to 512×512 square
  2. Open PicFix round corners tool and set radius to 100% for a perfect circle
  3. Download as PNG for transparent background, or JPEG for smaller file
  4. Open PicFix compress tool and reduce to under 100KB
  5. Upload to your platform of choice

The whole process takes about two minutes. I refresh my avatars every few months and this flow has not changed in years.

Create your round avatar now

Use PicFix's free tools to resize, round, and compress your profile picture. All in your browser, nothing uploaded. A perfect avatar in under two minutes.