HTML table extractor

2026-07-05 · source · source ↗ · raw capture · wiki page

Simon Willison introduces a new tool in his collection of paste-conversion utilities. The tool accepts pasted rich text from browsers — specifically content containing embedded HTML tables — and automatically detects each table, displaying a preview before allowing export.

The tool supports exporting tables in five formats: HTML, Markdown, CSV, TSV, and JSON. The post includes a screenshot showing the interface with tabs for each format, with TSV selected and a "Copy" button visible.

Willison demonstrates the tool by suggesting users try pasting the entire Wikipedia page for the "List of cities and towns in the San Francisco Bay Area" into it.

Related Work

He notes he recently rebuilt his Rich text to markdown tool, "to add support for tables and generally improve the UI." The commit for that rebuild is referenced on GitHub.

Update: Wikipedia Integration

Willison discovered that Wikipedia exposes an open CORS API for retrieving rendered HTML of any page. He provided a demo link and notes he "had Codex add the ability to search Wikipedia for a page and then automatically import and display any tables."

Links & References

Key Quotes

Tags: html, tools, wikipedia, cors