# HTML table to CSV

- Human page: https://happytails.ai/en/data-tools/html-table-to-csv/
- Markdown: https://happytails.ai/en/data-tools/html-table-to-csv.md
- Structured JSON: https://happytails.ai/agents/en/data-tools/html-table-to-csv/index.json
- Visibility: public

## Tool capabilities

| Property | Value |
| --- | --- |
| Tool ID | `html-table-to-csv` |
| Category | data-tools |
| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |
| Browser execution | Automatic updates after valid input or file selection. |
| Browser processing | Browser; see tool notes for network behavior. |
| HTTP API | Not callable through HTTP. |
| Browser-agent interface | run_current_tool |

### Inputs and settings

Text input: HTML source.

Example or placeholder shown in the interface (not a validated fixture):

```text
<p>Hello <strong>world</strong>.</p>
```

Paste HTML markup, not a website URL. Results update as you type. Up to 1,000,000 characters.

No additional settings are declared for this tool.

### Browser-agent workflow

1. Open the human page in a browser that supports WebMCP.
2. Discover the interface exposed by that page; use its actual schema.
3. Select files on the page first when the tool requires files.
4. Call `run_current_tool` with valid input and settings.
5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.

Calls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.

### Planning specification

Pasted HTML only initially; define rowspan/colspan flattening.

This describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.

### Complete machine-readable capability record

```json
{
  "id": "html-table-to-csv",
  "category": "data-tools",
  "built": true,
  "requirements": "Pasted HTML only initially; define rowspan/colspan flattening.",
  "implementation": {
    "fields": [],
    "experience": {
      "automatic": true,
      "single": false,
      "label": "HTML source",
      "placeholder": "<p>Hello <strong>world</strong>.</p>",
      "help": "Paste HTML markup, not a website URL. Results update as you type. Up to 1,000,000 characters.",
      "action": null
    },
    "mode": "automatic",
    "interactive": false
  },
  "execution": "Browser interface",
  "api": null,
  "browser_agent": {
    "supported": true,
    "name": "run_current_tool",
    "discovery": "WebMCP on the human page in a supporting browser",
    "verification": "See audit/API-AUDIT.md; availability is not verification"
  }
}
```

## Page guide

Pasted HTML only initially.

## Useful next steps

- [CSV to JSON](https://happytails.ai/en/data-tools/csv-to-json/): Convert CSV to JSON. ([Markdown](https://happytails.ai/en/data-tools/csv-to-json.md))

- [JSON to CSV](https://happytails.ai/en/data-tools/json-to-csv/): Convert JSON to CSV. ([Markdown](https://happytails.ai/en/data-tools/json-to-csv.md))

- [TSV to CSV](https://happytails.ai/en/data-tools/tsv-to-csv/): Convert TSV to CSV. ([Markdown](https://happytails.ai/en/data-tools/tsv-to-csv.md))

## How to use HTML table to CSV

1. Enter html source in the input field.
2. The result updates as you type. Adjust the available settings if needed.
3. Review the result, then use Copy result or a download link when available.

## Working with html table to csv

JSON represents structured values and nested objects. CSV and TSV represent rows and columns, making them convenient for spreadsheets and bulk imports. Moving between these formats changes what can be represented directly: a nested object needs a defined mapping to a flat table.

## Common questions

### Can JSON and CSV make a lossless round trip?

Not in every case. CSV does not carry JSON data types or nested structure. Decide how numbers, nulls, missing values and nested arrays should be represented rather than assuming a reverse conversion restores them.

### Why does a comma create an extra column?

A separator inside a cell must be quoted using the rules of the file format. Newlines and quotation marks inside cells also need proper escaping. Changing the delimiter can help, but it does not repair malformed quoting.

Continue your workflow: [CSV to JSON](https://happytails.ai/en/data-tools/csv-to-json/), [JSON to CSV](https://happytails.ai/en/data-tools/json-to-csv/), [TSV to CSV](https://happytails.ai/en/data-tools/tsv-to-csv/).
