# CSV to Markdown table

Turn CSV into a Markdown table ready to paste into a README, issue or chat.

- Endpoint: `POST https://setget.net/v1/tools/csv-to-markdown-table` with JSON `{"input": {...}}`
- MCP: `run_tool` with `slug` = `csv-to-markdown-table`
- Page: https://setget.net/tools/csv-to-markdown-table

## Inputs

- `text` (required, string): The CSV to convert.
- `delimiter` (optional, string, one of `auto`, `comma`, `tab`, `semicolon`, `pipe`, default `"auto"`): Column separator. "auto" detects it from the first line.
- `align` (optional, string, one of `none`, `left`, `center`, `right`, default `"none"`): Column alignment.

## Example

```json
{"input":{"text":"name,age\nSam,31"}}
```

Result:

```json
{"text":"| name | age |\n| --- | --- |\n| Sam | 31 |"}
```
