Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For one visible table, copy and paste it into a spreadsheet. For a repeatable import, use Google Sheets’ IMPORTHTML, Excel’s Power Query web connector, or Python’s pandas.read_html. The right choice depends on how the page exposes its content; no one method works on every site. After importing, check the headers, row count, and sample values against the page before using the data.

Choose a method that fits the page and your workflow

Start with the least complicated method that can get the table reliably. Copy and paste is suited to a one-time task. Sheets and Excel are convenient when the result belongs in a spreadsheet. pandas is useful when the table needs to become part of a Python workflow.

Method Best fit What to check
Copy and paste One visible table and a one-off transfer Columns, line breaks, and whether all rows were selected
Google Sheets IMPORTHTML A table that Sheets can import from a page URL One-based table index and whether the page exposes the content to the importer
Excel Power Query A spreadsheet workflow where preview and transformation are useful Which detected table in Navigator matches the page content
Python pandas Code-based extraction and further analysis Which DataFrame in the returned list is the target table

These are different ways to access page content, not guarantees that every page can be imported. A page may not expose the content in a form a particular importer can use. If a method returns incomplete or unexpected results, inspect the page and look for a supported data or API option from that site.

Copy a visible table into a spreadsheet

  1. Open the page in a browser and locate the table.
  2. Select the table’s visible cells. If selecting the entire table is awkward, select a manageable range and check whether the selection includes all intended rows and columns.
  3. Copy the selection, open a spreadsheet, and paste into the starting cell.
  4. Compare the pasted headers and several values with the web page. Check the first and last rows as well as any rows where the page uses merged cells, footnotes, or multi-line text.

This is the lightest approach when you only need the current visible data. It may need repeating if the page changes. If the paste has unexpected column breaks or omissions, try selecting a smaller range or use an import method below. For a Python workflow, pandas also documents read_clipboard(), which parses clipboard content through its CSV reader; see the pandas IO tools documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Import a table into Google Sheets

In a blank cell, enter a formula with the page URL, the content type table, and the table’s index. For example:

=IMPORTHTML("https://example.com/page","table",1)

  1. Replace the example URL with the page URL.
  2. Set the second argument to table for a table or list for a list.
  3. Set the third argument to the desired index. Numbering starts at 1.
  4. Check the imported headers and rows against the page. If Sheets returns a different table, try the next index.

Table and list indices are counted separately: the first table is table 1, while the first list is list 1. Do not assume a page’s first visible item is necessarily the first importable table. The function’s syntax and supported query values are documented in Google Docs Editors Help.

Import and transform a table in Excel Power Query

In Excel, the web connector can preview page content and present detected tables in Navigator. The precise interface may vary with Excel edition and update state. Microsoft describes the newer Web connector as available as part of an Office 365 subscription.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
  1. Open the Data tab and choose From Web.
  2. Enter the web page URL and connect.
  3. In Navigator, inspect the detected tables and preview their contents. Select the one that matches the page rather than relying on its position or name alone.
  4. Choose Transform Data to review or change the data in Power Query, or choose Load to put the selection into Excel.
  5. Check the resulting columns and rows against the source page.

If Navigator does not detect a tidy table matching the content you need, Microsoft also documents Add table using examples: you provide sample values and Power Query uses them to identify matching content. See Microsoft’s example-based extraction guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Power Query Online has an additional requirement: Microsoft says its Web Page connector requires an on-premises data gateway for security reasons because it retrieves HTML using a browser control. The Web API connector is distinct and does not use that browser control. See the Power Query Web Connector documentation. This requirement concerns Power Query Online; do not treat it as a general prerequisite for Excel’s desktop web import.

Extract HTML tables with Python and pandas

pandas.read_html accepts a URL, HTML string, or file and returns a list of DataFrames—even when the page contains only one matching table. Inspect the list instead of assuming the first table is the one you want.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
import pandas as pd

url = "https://example.com/page"
tables = pd.read_html(url)

print(f"Found {len(tables)} tables")
for i, table in enumerate(tables, start=1):
    print(f"nTable {i}: {table.shape[0]} rows, {table.shape[1]} columns")
    print(table.head())

# After inspecting the output, select the correct table.
target = tables[0]
target.to_csv("extracted_table.csv", index=False)

Replace the example URL and choose the DataFrame that actually matches your target. The final line uses the first table only as an example; change the index if another returned table is the right one. If you already have the HTML text, pass that string to read_html; it can also read from a file. pandas calls out parser and HTML-table parsing gotchas in its IO tools documentation, so unusual or malformed markup may need closer inspection.

Or skip the browser setup

ScreenshotNeo is a website screenshot API, not a table parser: this request gives you a visual image of a page, not spreadsheet rows. It can be useful as a visual reference when you need to compare an extraction with the source. One GET request returns a PNG, JPEG, WebP, or PDF. See the ScreenshotNeo API documentation for request options.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com/page -o shot.webp

The equivalent Python request is:

import requests

r = requests.get(
    "https://api.screenshotneo.com/v1/shot",
    params={"access_key": "YOUR_API_KEY", "url": "https://example.com/page"},
    timeout=90,
)
r.raise_for_status()
open("shot.webp", "wb").write(r.content)

And in Node.js:

const q = new URLSearchParams({
  access_key: 'YOUR_API_KEY',
  url: 'https://example.com/page'
});
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
if (!res.ok) throw new Error(`Screenshot request failed: ${res.status}`);
const data = new Uint8Array(await res.arrayBuffer());
await import('node:fs/promises').then(fs => fs.writeFile('shot.webp', data));

ScreenshotNeo removes cookie/consent banners, newsletter popups, and chat widgets before capture, with each step switchable. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed; response headers report the page verdict and billing status. It also offers an MCP server for AI agents and 1,000 screenshots per month free without a card; paid plans start at $5 for 3,000 shots. Those features do not turn a screenshot into structured table data. Learn more at ScreenshotNeo, or sign up free.

Check the extracted data before relying on it

  • Headers: Confirm the names and order match the source, including multi-level or blank headers.
  • Row completeness: Compare the number of rows and inspect the beginning and end. Check whether the page divides results across pages or shows only a subset.
  • Representative values: Compare several values from different columns, including dates, numbers, symbols, and text with punctuation.
  • Formatting: Check that values have not been split, combined, or interpreted as a different type by the spreadsheet.
  • Meaning: Preserve footnotes, units, and context from the page if they affect how a value should be understood.

A successful import only shows that a tool returned content; it does not establish that the result is complete or correct. Verify it before analysis or publication.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot common extraction problems

Sheets imports the wrong table

Check the one-based index in IMPORTHTML. Try another table index, and remember that list positions are counted separately from table positions.

Excel Navigator shows several plausible tables

Use the preview or Web View to inspect the actual contents before loading. If no detected table matches a consistently structured target, try Power Query’s example-based extraction.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

pandas returns several DataFrames

Print each table’s dimensions and a preview, then select the matching DataFrame. Do not assume the first result is the target.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

The import is empty, incomplete, or unavailable

Inspect the page and the chosen method’s output. The method may not be able to access the content in its current form. The documented workflows do not establish a universal fix for pages whose content is authenticated, dynamically rendered, or otherwise unavailable to an importer. Check whether the site offers a supported data or API option; then verify any result against the page.

The paste or import has shifted columns or unexpected values

Compare the result with the source, paying attention to multi-line cells, footnotes, merged layouts, and values that resemble dates or numbers. For a manual copy, select a smaller range; for Power Query, inspect or transform the preview before loading.

Frequently Asked Questions

Does pandas.read_html return a DataFrame?

It returns a list of DataFrames. Inspect the list and select the table you intend to use.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Can ScreenshotNeo extract table cells into a spreadsheet?

No. It returns an image or PDF of the page; use a table importer or parser for structured rows and columns.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.