Extract tables from a PDF to CSV or JSON
A table that Webcite extracted from a public Bureau of Labor Statistics PDF, shown as a table and downloadable as CSV or JSON, from a response recorded from the API. Anyone can open it without an account. Sign in to extract the tables from your own PDF; merged header cells come back as rowspan and colspan.
Last updated
The saved table
How the CSV is laid out
The CSV has 43 rows of 6 columns: 2 header rows, 6 section rows and 35 data rows. A merged cell's text is written once, in its first position, and the cells it spans are left empty. The first rows:
Category,Oct. 2025,Aug. 2026,Sept. 2026,Oct. 2026,Change from:
,,,,,Sept. 2026- Oct. 2026
Employment status,,,,,
Civilian noninstitutional population1,–,"275,415","275,554","275,682",128
Civilian labor force,–,"169,777","170,262","170,683",421Extract tables from your own PDF
Your own files run on your account. After you sign in and create an API key, the command line returns the full response, tables included:
npx webcite login
npx webcite extract tables.pdf --json > tables.jsonSign in to extract your tablesThrough the API
The table extraction API page has the request, the saved table element and how to check a figure against its page.