How to Add Capsule Render Banners to Your GitHub Profile README
Capsule Render generates decorative header and footer banners for your GitHub profile README. It creates visually striking gradient wave, cylinder, egg, or rounded shapes with optional custom text overlaid on the color gradient. Adding a Capsule Render header is one of the fastest ways to make a GitHub profile look professionally designed rather than plain markdown. This guide covers the kyechan99/capsule-render project, which requires no setup — just a URL with parameters embedded in an image tag.
Quick Setup Steps
- 1
Step 1: Open your GitHub profile repository and edit README.md.
- 2
Step 2: Add a header banner at the top: 
- 3
Step 3: Replace 'Your%20Name' with your URL-encoded name (spaces as %20).
- 4
Step 4: Optionally add a footer at the bottom: 
- 5
Step 5: Commit and push. Visit your profile to verify the banner renders with the correct shape and colors.
What Is Capsule Render?
Capsule Render is a service that generates styled SVG banner images from URL parameters. The banners come in several shape styles (wave, cylinder, egg, waving, rounded, shark, slice, soft) with configurable gradient colors and optional text overlay. They are most commonly used as profile headers at the top of a README, above the name and bio, to create a visual identity for the profile.
The wave type is the most popular — it creates a soft gradient from left to right with a gentle wave shape at the bottom edge, creating a natural transition into the profile content below. The shark type creates an inverted wave suitable for bottom-of-page footers.
How to Add Capsule Render
For a header with a gradient wave and name text:

For a footer to close your README:

Key URL parameters:
type:waving,egg,shark,cylinder,rounded,rect,soft,slicecolor:gradient(random gradient),auto(respects dark/light mode), or a specific hex value without#height: Banner height in pixels (header: 150-250, footer: 80-120)section:headerorfooter(determines wave direction)text: URL-encoded text to overlay (spaces as%20)fontSize: Text size in pixelsfontAlignY: Vertical position of text (0-100)fontColor: Text color as hex without#(default: white)
Customizing Capsule Render
For a custom color scheme rather than random gradient, specify two colors:

The color parameter accepts gradient stops in the format start:COLOR,end:COLOR.
For dark/light mode compatibility, use color=auto which selects a color scheme based on the visitor's system preference. Combined with reversal=true you can invert the gradient direction for footer banners.
For subtitle text below the main title, add desc=Your+Subtitle and descAlignY=55 (slightly below the main text's fontAlignY value). Keep header text under 20 characters to prevent wrapping on mobile screens.
Troubleshooting Capsule Render
If the banner shows as a broken image, verify the URL is correctly formatted with ? before the first parameter and & between subsequent parameters. A common mistake is using spaces in the URL instead of %20 or + for word breaks in the text parameter.
If the gradient colors look different from what you expected, note that color=gradient selects colors randomly from a preset palette — the colors change on each server-side render. To get consistent colors across all profile loads, specify explicit hex color values using the 0:HEXCODE,100:HEXCODE format.
If the text is too large for the banner height, reduce fontSize or increase height. A font size of 60-80px works well for a 200px header. For footer banners with height of 100px, omit the text parameter entirely for a cleaner look.
Frequently Asked Questions
How do I add a Capsule Render banner to my GitHub README?
Add this to the top of your README: ``. Replace 'Your%20Name' with your URL-encoded name. Add a matching footer with section=footer at the bottom of your README.
Is Capsule Render free to use?
Yes. The kyechan99/capsule-render project is open source under MIT license. The hosted service at capsule-render.vercel.app is free with no account or API key needed. You can also self-host by forking the project and deploying to Vercel.
Why does my Capsule Render banner look different each time I refresh?
If you are using color=gradient, the gradient colors are selected randomly on each render. For consistent colors, specify explicit hex values: color=0:E73C7E,100:23A6D5 (format: start_position:HEXCODE,end_position:HEXCODE). GitHub also caches banner images, so repeated visits may show the same cached version.
How do I match Capsule Render to my profile's color scheme?
Use explicit hex colors that match your profile's accent color. Popular combinations: purple gradient (0:8B5CF6,100:6366F1), ocean blue (0:0EA5E9,100:2563EB), sunset (0:F59E0B,100:EF4444). Set fontColor to white (FFFFFF) for dark gradients or dark hex for light ones.
From Our Blog
- Complete Guide to GitHub Badges for Your README
Learn how to add shields.io badges, GitHub stats cards, and tool badges to your GitHub profile README. Includes ready-to-use code for 50+ popular technologies.
- Best GitHub README Widgets and Tools: The Complete 2026 List
A curated list of the best GitHub profile README widgets — from snake animations to Spotify players, stats cards to 3D contribution graphs. Includes setup instructions for each.
- How to Add GitHub Stats Cards to Your README (2026 Guide)
Step-by-step guide to adding GitHub stats cards, language cards, streak stats, and WakaTime cards to your GitHub profile README using github-readme-stats.
Generate Your GitHub Profile README
Generate a GitHub profile README featuring Capsule Render with AI
Try It Free — No Sign UpMore Widget Guides
How to Add Spotify Now Playing
Step-by-step guide to adding Spotify Now Playing to your GitHub README
How to Add WakaTime Coding Stats
Step-by-step guide to adding WakaTime Coding Stats to your GitHub README
How to Add Snake Contribution Animation
Step-by-step guide to adding Snake Contribution Animation to your GitHub README
How to Add Profile Views Counter
Step-by-step guide to adding Profile Views Counter to your GitHub README
How to Add Typing SVG Animation
Step-by-step guide to adding Typing SVG Animation to your GitHub README
How to Add GitHub Streak Stats
Step-by-step guide to adding GitHub Streak Stats to your GitHub README