HomeBlogTableGrab Guides › Copy Table to Excel
EN中文日本語DeutschESFR

How to Copy a Table From a Website to Excel (Without Losing Formatting)

You find the perfect data table on a government portal, a research site, or a company report page. You select it, Ctrl+C, switch to Excel, Ctrl+V — and the result is a mess. Columns shifted, merged cells vanished, numbers stored as text, half the rows collapsed into one.

You're not doing anything wrong. The problem is how browsers copy tables. This guide explains why it breaks and gives you 4 fixes, from quick workarounds to a one-click tool you'll use every day.

Why Web Tables Break When You Copy-Paste Into Excel

When you select a table on a webpage and press Ctrl+C, the browser copies HTML markup, not structured spreadsheet data. Excel then tries to interpret that HTML, and things go sideways:

The root cause: browsers copy rendering, not structure. You need a tool that reads the underlying HTML table directly.

Fix 1: Paste Special in Excel

A quick partial fix. After copying the table from the browser:

  1. In Excel, right-click a cell and choose Paste Special (or Ctrl+Alt+V);
  2. Select Unicode Text or Text format;
  3. Use Data → Text to Columns to split on tab delimiters.

This preserves more data than a normal paste, but merged cells still break and you'll spend time manually fixing columns. Good for a one-off, painful for daily use.

Fix 2: Google Sheets as Intermediary

Copy the table from the browser, paste into Google Sheets, then download as Excel (.xlsx). Google Sheets handles HTML tables slightly better than Excel's direct paste, and the export is clean. Downside: you need a Google account, the data passes through Google's servers, and merged cells still don't survive perfectly.

Fix 3: Browser DevTools (For Developers)

Open DevTools (F12), find the <table> element in the Elements panel, right-click it, and use a Console script to extract the data as JSON or CSV. This is the most accurate method — but it requires technical knowledge and is impractical for non-developers or for quick daily use.

Fix 4: One Click With VKT TableGrab (The Keeper)

VKT TableGrab reads the HTML <table> structure directly from the page — not the rendered copy — and exports a clean CSV file that opens perfectly in Excel.

What makes it different from copy-paste:

How to Use It

  1. Install from the Chrome Web Store or Edge Add-ons;
  2. Visit any page with HTML tables;
  3. Click the TableGrab icon — tables are auto-detected and listed;
  4. Hover to highlight a table on the page, check to select;
  5. Click Export All or Export Selected;
  6. CSV downloads instantly — open it in Excel, done.

Free tier: Up to 5 tables per page, unlimited pages. UTF-8 BOM, merged cell support, whitespace cleanup — all included. Premium ($2.99/mo or $9.99 lifetime) removes the 5-table limit. See pricing.

Comparison: Copy-Paste vs. TableGrab

MethodMerged CellsSpeedNon-ASCIIMulti-Table
Ctrl+C / Ctrl+V❌ BrokenInstant but broken❌ Often garbled❌ One at a time
Paste Special⚠️ PartialManual cleanup⚠️ Sometimes OK❌ One at a time
Google Sheets⚠️ PartialExtra step✅ Usually OK❌ One at a time
DevTools script✅ FullSlow (manual)✅ Full⚠️ Manual
VKT TableGrab✅ Full✅ One click✅ UTF-8 BOM✅ Batch

FAQ

Why does copying a table from a website mess up the formatting in Excel?

Browsers copy HTML, not spreadsheet data. When you paste into Excel, it tries to interpret the HTML — merged cells, nested spans and inline styles all collide, producing broken columns and missing data. A tool that reads the raw HTML table structure directly avoids the problem entirely.

What is the fastest way to copy a web table into Excel?

Install VKT TableGrab, click the icon on any page with tables, and hit Export. It reads the HTML table structure directly and downloads a clean CSV file that opens perfectly in Excel — merged cells reconstructed, no formatting loss.

Can I copy multiple tables from one page at once?

Yes. VKT TableGrab detects all tables on the page automatically. You can export all of them in one click, or select specific tables to export. The free tier supports up to 5 tables per page.

Does this work on tables with merged cells?

Yes. VKT TableGrab parses rowspan and colspan attributes to reconstruct the full grid layout before exporting. Merged values are repeated across the spanned cells so no data is lost in the CSV.

Stop Fighting With Pasted Tables

Two clicks, one clean CSV, zero formatting headaches. Install once, use it on every data page you visit.

More guides in the VKT blog; questions to [email protected].

Keep reading

How to Handle Merged Cells When Exporting Web Tables (rowspan/colspan Guide)