Blog8 min read
How to add links to your GitHub profile
GitHub gives you one website field, four social links, a profile README and pinned repos. Here's what each is for and which link goes where.
Hana

Someone finds your library through a search, reads the README, and likes what they see. They click your avatar to find out who made it. What they get is a sidebar with your name, a 160-character bio and, if you filled it in, one website link. That link decides whether they end up hiring you, sponsoring you, following you somewhere else, or closing the tab.
GitHub has more room for links than that sidebar suggests, but each spot has its own limits. This guide covers every spot, how to fill it in, and which link belongs where.
Where can you put links on a GitHub profile?
There are five places, and they do different jobs:
- The website field. One URL, shown in your profile sidebar.
- Social accounts. Up to four links to your profiles on other sites, also in the sidebar.
- Your bio. 160 characters of plain text. You can @mention an organization here, but it isn't the place for URLs.
- A profile README. A markdown file shown at the top of your profile, with room for as many links as you want.
- Pinned repositories. Up to six repositories and gists, combined, which point visitors at your best work.
The first two sit in the sidebar and get seen by almost everyone who lands on your profile. The README is bigger but further down, and how far someone scrolls depends on how interested they already are. So put the link that matters most in the sidebar, and use the README for everything else.
How do you add a website and social links?
Both live in your profile settings. GitHub's own instructions for personalizing your profile go like this:
- Click your profile picture in the top-right corner and open Settings.
- Under Public profile, find the field for your website and paste in the full URL.
- Under Social accounts, paste the full URL of each profile into a blank Link to social profile field. You get four.
- Click Update profile.
You can also click Edit profile under your avatar on your profile page, which opens the same fields in place. That's the route GitHub pointed to when it raised the social link limit to four in February 2023, with what it called "special support for popular platforms".
GitHub's instructions ask for the full URL of each account, so paste the whole address, https:// included, rather than a handle like @yourname.
Pick the four with a purpose. A developer who wants freelance work might list LinkedIn, Mastodon or Bluesky, a YouTube channel with conference talks, and a blog. A maintainer looking for sponsors might swap LinkedIn for Patreon or Ko-fi. Four is enough that you don't need to list every account you've ever made. Leave out the ones you haven't posted on in a year, since a dead profile says less about you than no profile.
If you're adding your GitHub to other sites as part of the same tidy-up, we've covered adding links to your Bluesky profile as well.
Which link should go in the website field?
Your website link is the most visible URL on the page, and you only get one, so it should point at whatever you'd want a stranger to see second, after your code.
The usual options:
- A personal site or portfolio. Best if you already keep one up to date. Worst if the last post on it is from four years ago.
- Your company or product. Fine if your GitHub is mostly that product's code and you want people to buy it.
- A link-in-bio page. One URL that holds your site, your newsletter, your talks, your sponsor link and your contact form, and that you can change without editing GitHub.
The third option suits people whose work is spread across several places. If you write on Substack, post videos, take freelance work and maintain a few projects, no single destination covers it, and the four social slots fill up fast. A page like Linky lets you put all of it in one stack, ordered by what you care about this month. We've written about whether you need a website if you have a link in bio, and the short answer for most developers is that it depends on whether you'll keep the website current.
Whatever you choose, don't repeat it. If your website is your LinkedIn, there's no point adding LinkedIn again as a social account.
How do you add links with a profile README?
A profile README is a repository with the same name as your username, and its README shows at the top of your profile. GitHub's guide to managing your profile README sets it up in a few steps:
- Click the + in the top-right corner of any GitHub page and choose New repository.
- Name the repository exactly the same as your username.
- Set it to Public and tick Add README.
- Click Create repository, then Edit README to write it.
GitHub only shows it if all three conditions hold: the repository name matches your username, the repository is public, and there's a README.md with some content at its root. One catch from the same page: if you made a public repository with your username before July 2020, GitHub won't show it automatically. Open the repository and click Share to profile.
Links in the README are ordinary markdown. GitHub's formatting guide uses square brackets for the text and parentheses for the URL:
I build developer tools and write about Rust.
- Writing: [my newsletter](https://example.com/newsletter)
- Talks: [conference videos](https://example.com/talks)
- Hire me: [what I'm available for](https://example.com/work)
Keep it short. A profile README can hold anything, and plenty of them hold everything: stats widgets, rows of badges, animated banners, a list of every language the author has touched. Those load slowly and push the useful lines down. Two or three sentences about what you do, then a short list of links with a word on what each one is, does more.
Say why someone would click. "Blog" is a label. "Writing about database performance, about once a month" tells a visitor whether it's for them.
Can you add links to your repositories too?
Yes, and for a lot of visitors a repository is the first thing they see, before your profile. Two spots matter.
The repository website. Each repository's About box, on the right of its main page, can show a description and a URL. The gear icon next to About edits them. GitHub's API describes this field as "a URL with more information about the repository", so point it at the project's docs or homepage, not at your personal page.
A sponsor button. Add a FUNDING.yml file to the .github folder on your default branch, and GitHub puts a Sponsor button on the repository. GitHub's guide to displaying a sponsor button lists the platforms it knows by name, including GitHub Sponsors, Patreon, Ko-fi, Open Collective, Liberapay and Buy Me a Coffee. You get one account per platform and up to four custom URLs:
github: yourname
ko_fi: yourname
custom: ["https://example.com/support"]
A custom URL with a colon in it has to be wrapped in quotes, which catches out anyone who pastes in https:// without them.
What does a finished profile look like?
Say you're a freelance front-end developer with a couple of open-source projects that get a few hundred stars each. You want client work, and you'd take sponsorship for the projects if it came. Bio: "Front-end developer. I build accessible design systems for small product teams. Open to contract work." That's well under 160 characters, and it says who you are and what you want without a single link.
Website: your link-in-bio page, with your portfolio first, then a contact form for project enquiries, then your newsletter and your talks. When you're fully booked, you move the contact form down and put the newsletter at the top, and GitHub never needs editing.
Social accounts: LinkedIn, because clients check it. Bluesky or Mastodon, wherever you post about work. Your YouTube channel, if you have talks on it.
Profile README: three lines on the kind of projects you take on, then links to two case studies and your availability.
Pinned repositories: your two popular projects, plus one smaller repository that shows the kind of client work you do. Six is the limit, but three strong pins look more confident than six middling ones.
Each project's About box and FUNDING.yml: the docs site as the website, and a sponsor button pointing at GitHub Sponsors.
Every link has one job, and nothing appears twice. A recruiter gets your portfolio in one click from the sidebar. A user of your library gets the sponsor button where they already are. Anyone curious enough to scroll gets the README. The same thinking runs through our guide to a professional link-in-bio setup for engineers looking for work, which covers what to put on the page itself.
How often should you check your links?
Whenever something changes, and once or twice a year if nothing does. Links on GitHub go stale without anyone noticing. A conference video gets taken down, a blog moves domain, or a social account you stopped using gets renamed. Nobody tells you, and the first sign is a visitor who hits a 404 and gives up.
This is the practical case for pointing your website field at a page you control. Your GitHub settings stay the same, and the page behind the link changes as your work does.
If you want one page that shows the rest of your work and your code, Linky has a GitHub block that shows your recent commits from your username, next to your links, a contact form and whatever else you add. Set it up, paste the URL into your GitHub website field, and the sidebar link stays current from then on.