rel="me": link your profiles both ways so they vouch for each other
A one-attribute way to say "this profile is also me", what verifies it, and how to set it up between your site, GitHub and Mastodon in ten minutes.
By the Surfacedd teamUpdated 4 min readMarkdown
On this page
Short answer
rel="me" is an HTML link attribute that says the linked page represents the same person as the current page. On its own it is a claim; when the other page links back with rel="me" too, the two pages verify each other. Mastodon, GitHub and IndieLogin use this two-way check, and it helps disambiguate people with the same name.
Definition
rel="me" is a value of the HTML rel attribute that you put on a link from one page about a person to another page about the same person. It comes from XFN 1.1, where the microformats wiki describes it as "used to indicate profile equivalence and for identity-consolidation".
One link is only an assertion: anyone can link to your GitHub profile with rel="me". Identity is established when the link goes both ways. Your site links to your profile with rel="me", and your profile links back to your site with rel="me". Because only you control both pages, the pair is evidence that both belong to the same person.
In practice: what uses it today
- Mastodon turns a two-way link into a verified link with a checkmark. Per Mastodon's documentation, the page you list must link back to your Mastodon profile with
rel="me", the link must "appear directly in the HTML response and be accessible without executing JavaScript", and it must not sit inside an iframe. - GitHub adds
rel="me"to the website link on a profile, so a GitHub profile can be one half of a pair. - IndieLogin uses reciprocal
rel="me"links to let you sign in with your own domain (RelMeAuth), per the microformats wiki, which also lists Wikipedia's RealMe extension and Threads as implementations.
We found no AI engine documentation saying assistants read rel="me" directly. Our working assumption, labelled as our inference: two-way links, consistent names and matching sameAs in structured data all point the same way, and that consistency is what helps a system tell you apart from someone with the same name. rel="me" is the cheapest of those signals to add.
A worked example: three profiles, verified both ways
Take Maria Chen, co-founder of Lumen CRM, a fictional person from Surfacedd's sample workspace. Her canonical page is https://mariachen.example/about. She wants it, her GitHub profile and her Mastodon account to vouch for each other.
1. On her canonical page, link out to each profile with rel="me":
<a href="https://github.example/mchen" rel="me">GitHub</a>
<a href="https://social.example/@mariachen" rel="me">Mastodon</a>
2. On each profile, link back. On GitHub she sets the website field to https://mariachen.example/about (GitHub marks it rel="me" itself). On Mastodon she adds the same URL to her profile metadata.
3. Check the pairs from a terminal. Fetching the raw HTML, without running JavaScript, is exactly how Mastodon checks, so it is the right test:
curl -s https://mariachen.example/about | grep -o '<a [^>]*rel="me"[^>]*>'
The result is a table you can keep in your fact sheet:
| From | To | rel="me" out | rel="me" back | Verified? |
|---|---|---|---|---|
| mariachen.example/about | github.example/mchen | Yes | Yes (website field) | Yes |
| mariachen.example/about | social.example/@mariachen | Yes | Yes, after re-saving the profile | Yes |
| mariachen.example/about | linkedin.com/in/mariachen-example | Yes | Not checked: she doesn't control that page's markup | One-way: list it in sameAs as well |
4. Mirror the same URLs in sameAs in the Person JSON-LD on the canonical page, so the human-readable links and the structured data agree. Our person schema guide walks through that markup, and the person schema generator builds it.
Two mistakes break verification in practice: the rel="me" link is injected by JavaScript (Mastodon won't see it), or the URLs differ slightly between the two sides, such as http vs https or a missing trailing path. Use the exact same canonical URL everywhere.
rel="me" vs sameAs
They express the same idea in two places, and you want both.
rel="me" | sameAs | |
|---|---|---|
| Where it lives | On a visible <a> link in the HTML | Inside Person or Organization JSON-LD |
| Who reads it | Services that verify links (Mastodon, IndieLogin) and anything that parses links | Search engines and other consumers of schema.org data |
| Can it be verified? | Yes, when the other page links back | Not by itself: it is a one-way statement |
| Works for profiles you can't edit? | Only one way | Yes, list them anyway |
Use rel="me" for every profile that can link back, and sameAs for every profile, editable or not. When the two lists match, the visible page and the structured data tell the same story.
How it shows up in Surfacedd
In Humans, Surfacedd's self-only module for tracking what AI assistants say about you, the Profile kit gives you a canonical one-sentence bio, ProfilePage and Person JSON-LD with sameAs and identifier, a bio consistency check across the bios you paste in, and rel="me" guidance. You track only yourself, or a client who has given you written authorization.
The Humans accuracy matrix then shows, per engine, whether assistants describe the right person, and the namesake confusion rate shows how often a bare "Who is {name}?" prompt describes someone else. That is the number to watch after you add two-way links and consistent bios. See Humans for how it works and what an entity is in entity SEO for the wider consistency audit.
Related terms
- Answer engine: the assistants whose descriptions of you these links aim to make more accurate.
- AI hallucination: a wrong fact about a person, sometimes caused by mixing up namesakes.
- Grounding: answers built from pages an engine fetched, where consistent profiles help.
Sources
How we research, write and correct pages: read our editorial policy.