Living document · last tended 5 months ago · revision 01 seeded 03 Jun 2026
Field notes / free-backlink-gap-analysis-with-common-crawl

Free backlink gap analysis with Common Crawl

Skipped the $100/mo backlink tool and used Common Crawl's free webgraph instead

seedling ~4 min read

I’ve been doing SEO work on lodd.dev, the analytics tool I’m building. Trying to be a good little side-project-er and do the marketing for once, not just fiddle with the code.

First job on the list was backlink gap analysis: finding the sites that link to my competitors but not to me, the ones worth pitching for a mention or a listing.

The tools for this, Ahrefs and Majestic, are $100+/mo, and they cost that because they run their own crawlers across the web. I wasn’t going to start a subscription for one lookup.

While poking around I found a cheaper one, $99 one-time, and what tipped me off was its own pitch: “built on the public Common Crawl release.” Common Crawl is the free, open crawl of the web, and it turns out they also publish a webgraph, a domain-to-domain link map covering much of the web with an authority score for every domain. All free to download.

So instead of paying anyone I grabbed it myself. It’s three files: every domain with an ID, the edges (who links to whom), and the authority ranks. The edges file is about 16GB. I filtered it down to the links pointing at the handful of competitors I care about, joined it back to domain names in DuckDB, and pulled out every domain that links to them but not to me, ranked by authority.

Twenty minutes start to finish, and it cost nothing. The list came out at about 4,600 domains. lodd has almost no backlinks yet, so honestly the whole thing is just my to-do.

It’s not a free Ahrefs though. The big limitation is that the graph is domain-level. You get “domain A links to domain B” and nothing else, no link to the actual page, no anchor text, no dofollow or nofollow. So you can’t tell a real editorial mention from a “powered by” badge sitting in someone’s footer. You just know a link exists somewhere on the domain.

That also means a lot of noise. My first pass had GitHub, Vercel and Netlify right at the top of the list. They’re not writing about analytics tools, they just host thousands of customer sites that happen to embed one, and every one of those counts as the platform linking out. I had to strip the big hosting domains out before the list was any use.

It’s also out of date. Common Crawl publishes the webgraph a few times a year, so it’s no good for “did my campaign land this week”, it’s months old by the time you query it. And it only covers what Common Crawl crawls, which is a big slice of the web but nowhere near all of it, and skewed towards established sites. A tool running its own crawler sees more, and sees it sooner. That’s the actual thing you’re paying Ahrefs for.

But for a quick, free “who should I be reaching out to” pass, it’s probably worth the effort.


How to do it yourself

You need two free tools: ripgrep and DuckDB (brew install ripgrep duckdb).

  1. Get the data. Common Crawl’s domain-level webgraph, latest release, lives at data.commoncrawl.org under projects/hyperlinkgraph. Three gzipped files: the vertices (every domain + a numeric ID), the edges (ID links to ID, ~16GB), and the ranks (authority per domain).
  2. Mind the reversed domains. In the files, plausible.io is written io.plausible. Reverse yours and your competitors’ before you search.
  3. Look up the IDs. grep your competitors’ reversed domains in the vertices file to get their numeric IDs.
  4. Filter the edges. Stream the 16GB edges file through ripgrep, keeping only rows whose target ID is one of your competitors. Use ripgrep, not awk, awk parses every line and was about 30x slower for me. You’re left with a few hundred thousand rows.
  5. Join it in DuckDB. Read the filtered edges, the vertices and the ranks. Map the IDs back to names, attach the authority score, group by referring domain, keep the ones that link to your competitors but not you, drop the big hosting platforms, and sort by authority. Export to CSV.

That’s the whole thing. I wrapped it in a small shell script so I can rerun it for any product in one command.


This note is a living document and will keep changing. It's not an article. It's a notebook page I'm letting you read over my shoulder. If you spot something I'm wrong about, or if you've worked through the same thing differently, reply to henrik@holenventures.com.