Skip to content
Hed Press

Dofollow / rel attribute checker

Check if a link is dofollow. Paste view-source HTML and see each anchor’s rel, whether the page blocks following, and which links point at your domain.

How do you check if a link is dofollow?

Paste the page’s HTML, not the URL. A link is followed when it has no nofollow, sponsored, or ugc rel and the page’s robots rules do not say nofollow. dofollow is not a real rel value. The check runs in your browser.

Get the HTML

Desktop: in Chrome, Edge, Firefox, or Opera, press Ctrl+U (Windows or Linux) or Command+Option+U (Mac). You can also right-click the page and choose View page source. Select all, copy, and paste below. In Safari on Mac, open Settings → Advanced and turn on “Show features for web developers,” then use Develop → Show Page Source.

Phone and tablet: Chrome on Android often opens source if you type view-source: in front of the URL. If it does not, use the curl line from a computer. Safari on iPhone and iPad has no page-source view.

The curl line includes response headers, so a nofollow sent as X-Robots-Tag is visible. Replace the URL. A command that uses only -I prints headers and no HTML.

curl -sL -i --max-redirs 5 -A "Mozilla/5.0" "https://example.com/your-page"

Nothing is uploaded. The check runs in this browser.

Reading the paste…

How to use the result

Read the page rules before the rows. If they say nofollow or none, every link is not followed for Google, including a link with an empty rel. Google’s robots meta documentation describes nofollow as “do not follow the links on this page,” and none as the same as noindex plus nofollow.

Followed means the anchor has no nofollow, sponsored, or ugc, and the page rules in the paste do not block following. Google’s outbound-link documentation says those three rel values will generally not be followed. There is no dofollow attribute. A rel that only says dofollow is ignored.

Enter your domain and use the Your domain filter. A match includes www and subdomains. A short link is the short href, not the page it redirects to. Open it, or paste the destination source, before you count it as yours.

Copy the summary or the CSV when you are comparing a draft with the live URL, or sending the check to the person who can edit the page.

If a link you can see in the browser is missing here, it was added by JavaScript, or it lives in a template. View-source and the curl body both show the HTML response, before scripts run.

Questions

Is a link dofollow when rel is missing?

In Google’s terms, yes. The outbound link documentation says you do not add a rel for a regular link you expect Google to fetch. dofollow is not a value they list. This checker marks Followed when nofollow, sponsored, and ugc are all absent and the page is not set to nofollow.

Do sponsored and ugc count as not followed?

Yes for this check. Google says links marked nofollow, sponsored, or ugc will generally not be followed, and that sponsored is the value to use for ads and paid placements. A link can carry more than one. The row shows each value. Source: Qualify your outbound links.

Can a meta robots tag override one link?

Yes. Google’s robots meta tag documentation says nofollow means do not follow the links on this page, and none is the same as noindex, nofollow. When a robots tag and a googlebot tag disagree, Googlebot gets the restrictive rules from both. A googlebot tag that says follow does not cancel a robots nofollow.

Why is X-Robots-Tag separate from the HTML?

The same rules can be sent as an HTTP header, and view-source does not include headers. If you only paste HTML, the checker says the header was not in the paste. Paste the curl output (the line uses -i) and the last response’s X-Robots-Tag is included. When rules conflict, Google says the more restrictive one applies.

Why is a link I can see on the page missing?

View-source and curl return the HTML response, before JavaScript runs. Links a script inserts, and links that sit inside a template until a script copies them, are not in that response. A short link that does appear is the short href, not the page after the redirect.

Does Followed mean the link will help rankings?

No. Followed means the markup you pasted does not qualify the link, and the robots rules in the paste do not block following. Google can still ignore a link. This page does not look up rankings, domain rating, or whether the target URL returns a successful response.

All free tools