Skip to content

Repository files navigation

Ahrefs Table Exporter

A Chrome extension that exports any table on Ahrefs to CSV or copies it directly to your clipboard for instant paste into Google Sheets or Excel — no manual copying required.


Features

  • One-click export — detects the main table on screen automatically
  • Click to select — hover over any table to highlight it, click to choose it
  • Download CSV — saves a .csv file with a timestamped filename
  • Copy for Google Sheets / Excel — copies tab-separated data to clipboard, paste with Ctrl+V
  • Live preview — the detected table is highlighted the moment you open the popup
  • Clean numbers10,32210322 and 172K172000 so Sheets treats them as real numbers, not text
  • Toggle column headers — include or exclude the header row right from the confirm dialog
  • Works on Site Explorer, Keywords Explorer, and any other Ahrefs page with a table

Installation

This extension is not on the Chrome Web Store. Install it manually in a few steps.

1. Download

Click Code → Download ZIP on this page, then unzip the folder.

2. Build

You need Node.js installed.

cd ahrefs-table-exporter
npm install
npm run build

3. Load into Chrome

  1. Open Chrome and go to chrome://extensions
  2. Enable Developer mode (toggle in the top-right corner)
  3. Click Load unpacked
  4. Select the unzipped project folder

The extension icon will appear in your Chrome toolbar.


How to Use

Export the main table

  1. Navigate to any Ahrefs report (e.g. Site Explorer → Organic Keywords)
  2. Click the extension icon in the toolbar
  3. The detected table is highlighted on the page — the popup shows the row and column count
  4. Click Export Detected Table
  5. A confirmation appears at the bottom of the page showing the table info
  6. Choose Download CSV or Copy for Sheets

Select a specific table

  1. Click the extension icon
  2. Click Select a Different Table…
  3. Hover over tables on the page — they highlight in blue as you move
  4. Click the table you want
  5. Confirm your choice and pick your export format

Toggle column headers

The confirmation dialog includes an Include column headers toggle. Turn it off if you are pasting into a spreadsheet that already has headers set up.

Cancel at any time

Press ESC to cancel table selection or dismiss the confirmation dialog.


Updating After Code Changes

If you modify the source files:

npm run build

Then go to chrome://extensions and click the refresh icon on the extension card.


Supported Pages

Ahrefs Tool Works
Site Explorer — Organic Keywords
Site Explorer — Backlinks
Site Explorer — Top Pages
Keywords Explorer
Content Explorer
Any page with a visible table

Tech Stack

  • TypeScript
  • esbuild
  • Chrome Extensions Manifest V3
  • No frameworks, no external dependencies at runtime

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages