Get Internet $2.00 / 1,000 calls

Table from URL

What this tool does

This tool extracts data tables from web pages. It helps you pull structured information from sites where content is organized in rows and columns, such as reports or reference pages. It turns messy web layout into a list of tables you can use.

When to use it

  • Collecting data from reference sites like Wikipedia
  • Extracting information from PDF documents hosted online
  • Gathering structured data from academic or scientific pages

What to expect

You will get a list of the tables found on the page. If no tables are present, the list will be empty.

Limitations

  • Only works on web pages that contain actual HTML table structures
  • May miss data if the page uses complex layouts or images instead of tables
  • Does not process tables inside non-web file formats unless hosted as HTML

When it fails

  • The URL is not valid
  • The page cannot be reached or is empty
  • The specified table number does not exist on the page

Good to know

  • If the page has many tables, specify the number to get the correct one
  • Results are provided as a list, which may be empty if no tables are detected

Input data

Parameter Required Example Description
url Yes https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 The full web address of the page or PDF file (e.g., https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This is required.
table No 3 The number of the table you want to extract, starting from 1 (e.g., 3). If left blank, the platform usually attempts to extract available tables by default.

Output data

Field Description
result A list of rows from the extracted table. If no tables are found, this will be an empty list. Example: [['Header 1', 'Header 2'], ['Row 1 Col 1', 'Row 1 Col 2']]