HTML Table to JSON Extractor - Rowspan and Colspan avatar

HTML Table to JSON Extractor - Rowspan and Colspan

Pricing

from $0.48 / 1,000 input work unit inspecteds

Go to Apify Store
HTML Table to JSON Extractor - Rowspan and Colspan

HTML Table to JSON Extractor - Rowspan and Colspan

Convert supplied HTML tables to JSON grids. Expand supported rowspan and colspan cells and preserve cell origins with per-document diagnostics.

Pricing

from $0.48 / 1,000 input work unit inspecteds

Rating

0.0

(0)

Developer

Dhan sites

Dhan sites

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 hours ago

Last modified

Categories

Features

Limited permissions

Share

Extract tables from supplied HTML into JSON grids. Expand supported rowspan and colspan values, retain cell origins and report malformed or oversized input per document.

Start with this workflow

Convert supplied HTML tables into reviewable JSON grids.

After the run: Inspect grid coordinates, cell origins and per-document diagnostics. No URLs are fetched, scripts executed or browser layout rendered.

What is billed: Each inspected HTML document, not each extracted table, row or cell; invalid top-level input is free. Check the Pricing tab for the applicable subscription-tier rate. Result rows and billable input units can differ. A successful execution does not guarantee full coverage.

The example uses a small supplied fixture or the publisher-owned demonstration target. Replace it with input you are authorized to process; inspect coverage, diagnostics and limits before downstream use.

Working example

{
"records": [
{
"html": "<table><tr><th rowspan=\"2\">Item</th><th colspan=\"2\">Price</th></tr><tr><td>USD</td><td>INR</td></tr><tr><td>A</td><td>12</td><td>1000</td></tr></table>"
},
{
"html": "<p>No table here</p>"
}
],
"maxRecords": 10
}

What the results mean

Processes only supplied HTML strings; no URL fetching, scripts or rendering. Extracts outer tables and excludes nested table text. Collapses cell whitespace; cell text is capped at10000characters. Expands spans1-100 and records original cell coordinates/header flags. rowspan=0 and overlapping spans are rejected. Unclosed tables are rejected; this is a bounded HTMLParser interpretation, not a full browser HTML5 repair engine. Max20 outer tables/document,5000 original cells,200 expanded rows,100 columns,10000 expanded cells/table,500000 expanded text characters/table and600000 serialized output characters/document. Run table-output budget2million characters; excess records get diagnostics. Input HTML cap100000characters/document.

Outputs

The default dataset shows record_index, valid, table_count, tables, error. REPORT contains the full result and summary.processed/summary.truncated. Available file records: REPORT, BILLING. Result rows may differ from billed input units.

Pricing

$0.6 per 1,000 inspected input work units ($0.0006 each) at the entry tier. Each inspected HTML document, not each extracted table, row or cell; invalid top-level input is free. Per-record rejections are inspected work. There is no run-start or automatic dataset-row event in the configured pricing. Inspect the Pricing tab for tier discounts, and REPORT/BILLING to reconcile inspected units.

Limits and support

Default100 work units, maximum1000; at most10000 supplied records per array; serialized input2millioncharacters. The work cap applies before processing and is reduced by the run spending limit. Truncated output describes only the inspected prefix. No source data is changed, no websites fetched and no third-party API called. Run status alone is not validation: inspect REPORT and per-record errors. Use the Issues tab for support with a run ID and a small non-sensitive example. Never post private credentials.

Who is this for?

Developers converting supplied HTML tables into structured grids. Paste HTML documents and inspect expanded spans and original cell coordinates.

Frequently asked questions

Does this scrape URLs, render JavaScript or repair every HTML table?

No. It processes supplied HTML without fetching URLs or running a browser. It supports documented spans and rejects unsupported or oversized structures. It is not a full HTML5 browser repair engine.

How do I try it before using my full input?

Open the Input tab, review the prefilled example, and run a small batch with a spending limit. Inspect the dataset and report before increasing the batch. Examples can incur the documented inspection or analysis fee; an execution marked successful can still contain rejected records or incomplete coverage.

Can I use the Actor through an API or on a schedule?

Yes. Use Apify's Actor API or schedules. Keep credentials private and use the documented input fields. The pricing and limits below apply to API runs too.