# Text to CSV Converter: Turn Text, Tables & Logs into CSV (`data-done-right/text-to-csv-converter`) Actor

Text to CSV converter: turn pasted text, text file URLs or a dataset field into CSV, Excel (XLSX) and JSON rows. Detects comma, tab, pipe, space and fixed-width columns, and parses regex matches, key-value blocks, Markdown, ASCII and HTML tables, and Apache, nginx and syslog logs.

- **URL**: https://apify.com/data-done-right/text-to-csv-converter.md
- **Developed by:** [Data Done Right](https://apify.com/data-done-right) (community)
- **Categories:** Developer tools, Automation, Integrations
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.06 / 1,000 row converteds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Text to CSV Converter: Turn Text, Tables & Logs into CSV

**Text to CSV converter** that turns pasted text, text file links or a dataset field into clean CSV, Excel (XLSX) and JSON. It detects the delimiter (comma, tab, semicolon, pipe, runs of spaces or fixed-width columns), and it can also parse regex matches, `key: value` blocks, Markdown, ASCII and HTML tables, and Apache, nginx and syslog logs into columns. No API key, no code, nothing to install.

What you get:

- One dataset row per table row, with one key per column and numbers, true/false and dates typed.
- Optional CSV, XLSX and JSON files with download links (the CSV opens correctly in Excel, UTF-8 with BOM by default).
- A `SUMMARY` record with rows, columns, the detected mode and delimiter, and warnings such as ragged rows.

### How to convert text to CSV

1. Paste your text in **Text to convert** (or add **Text file URLs**, or pick a **Dataset with text** and name the field).
2. Leave **Mode** on Auto-detect. The Actor recognizes HTML and text tables, logs, `key: value` blocks and delimited columns.
3. Under **Output files** keep `csv`, add `xlsx` or `json` if you want them, and run it.
4. Read the rows from the run's dataset, and the file links from the `SUMMARY` record (`perSource[].files[].url`) or the key-value store.

Input (this is the prefill, a pipe-delimited block):

```json
{
  "text": "id|name|city|amount|joined|active\n1|Ada Lovelace|London|1250.50|2024-01-15|true\n2|Grace Hopper|New York|980|2024-02-03|true\n3|Alan Turing|Manchester|15.25|2024-02-19|false\n4|Katherine Johnson|Hampton|2100|2024-03-08|true\n5|Linus Torvalds|Portland|75.5|2024-03-30|true\n",
  "outputFormats": ["csv", "xlsx", "json"]
}
```

Output, first dataset row (from a real run):

```json
{
  "id": 1,
  "name": "Ada Lovelace",
  "city": "London",
  "amount": 1250.5,
  "joined": "2024-01-15",
  "active": true
}
```

`SUMMARY` record (shortened, from the same run):

```json
{
  "sources": 1, "sourcesConverted": 1, "sourcesFailed": 0, "rows": 5, "filesExported": 3,
  "stoppedBySpendingLimit": false,
  "perSource": [{
    "source": "pasted-text", "status": "ok", "mode": "delimited", "delimiter": "pipe", "headerRow": true,
    "columns": ["id", "name", "city", "amount", "joined", "active"],
    "columnTypes": {"id": "int", "name": "text", "city": "text", "amount": "number", "joined": "date", "active": "bool"},
    "rowsParsed": 5, "rowsDelivered": 5, "warnings": [],
    "files": [{"format": "csv", "key": "converted.csv", "url": "https://api.apify.com/v2/key-value-stores/.../records/converted.csv", "bytes": 277}]
  }]
}
```

The CSV file keeps your original text (`1250.50` stays `1250.50`); the dataset, JSON and XLSX use the typed values (`1250.5`).

### How to parse text into columns

Pick a mode, or let Auto-detect choose:

| Mode | Use it for | Notes |
|---|---|---|
| `delimited` | CSV, TSV, `;` or `|` separated data, columns separated by 2+ spaces, fixed-width reports | Detects the delimiter. Quoted values (`"Smith, John"`) work. Fixed width is found from aligned gaps (3 or more lines). Ragged rows are padded and reported. |
| `lines` | Plain lists | One row per line (column `line`), one column per line (`line_1`, `line_2`...), or split each line on a separator such as `-`. |
| `regex` | Anything with a pattern | Named groups become columns: `(?P<ip>\d+\.\d+\.\d+\.\d+) (?P<status>\d{3})`. Per line, or find all matches across the text. |
| `keyvalue` | Contact cards, config dumps, command output | `key: value` or `key=value`. Records are separated by blank lines, or start again when a key repeats. Indented lines continue the previous value. |
| `table` | Tables pasted from docs or terminals | Markdown, ASCII (`+---+`), box-drawing (`┌─┬─┐`) and simple HTML `<table>`. Pick which table with **Table number**. |
| `log` | Server and app logs | Apache/nginx access log (common and combined), nginx error log, syslog (RFC 3164 and 5424), and `2024-01-15 10:30:00 INFO ...` application logs. |

### How to convert text to Excel

Add `xlsx` to **Output files**. The workbook has one sheet named `Data`, a frozen header row, real numbers, real true/false cells and real Excel dates (for columns where every value is a date). Text is always stored as text, so a value like `=SUM(A1)` is never run as a formula.

### How to turn log lines into a table

Paste access log lines with Mode on `log` (or Auto-detect). An Apache line becomes a row with `ip`, `user`, `timestamp` (ISO 8601 with the time zone), `method`, `path`, `protocol`, `status`, `bytes`, `referer` and `user_agent`. A dash in the log becomes an empty value. Lines that do not match are skipped and counted in the warnings. For any other log layout use `regex` mode with named groups.

### Input

| Field | Default | What it does |
|---|---|---|
| `text` | prefill | Pasted text. |
| `fileUrls` | empty | Links to text files (.txt, .log, .csv, .tsv, .md, .html). Up to 500. |
| `datasetId` / `datasetField` | empty | An Apify dataset and the field with the text (dots reach nested fields). Each item is its own table. |
| `mode` | `auto` | `auto`, `delimited`, `lines`, `regex`, `keyvalue`, `table`, `log`. |
| `delimiter` | `auto` | `auto`, `comma`, `tab`, `semicolon`, `pipe`, `spaces`, `fixed`, `custom`. |
| `customDelimiter` | empty | Your separator (several characters allowed; `\t` means tab). |
| `quoteHandling` | `auto` | `auto` (double quotes), `double`, `single`, `none`. |
| `regexPattern` | empty | Python regex; named groups become columns. Setting it with Mode on auto switches to regex mode. |
| `regexScope` | `perLine` | `perLine` or `findall`. |
| `regexIgnoreCase` | `false` | Case-insensitive pattern. |
| `lineSeparator` | empty | Lines mode: split each line on this text. |
| `linesLayout` | `rows` | Lines mode: `rows` or `columns`. |
| `logFormat` | `auto` | `auto`, `apache`, `nginx`, `syslog`, `timestamped`. |
| `keyValueSeparator` | `auto` | `auto`, `colon`, `equals`. |
| `tableNumber` | 1 | Which table to convert when there are several. |
| `headerRow` | `auto` | `auto`, `yes`, `no` (no creates `column_1`, `column_2`...). |
| `skipLines` | 0 | Lines to ignore at the start. |
| `trim` | `true` | Strip spaces from values and names; empty cells become null. |
| `skipBlankLines` | `true` | Drop blank lines and all-empty rows. |
| `inferTypes` | `true` | Numbers and booleans (and the master switch for dates). |
| `inferBooleans` | `true` | Only `true` and `false` count. |
| `inferDates` | `true` | Normalize clear dates to ISO 8601. |
| `maxRows` | 100000 | Rows per source (1 to 500,000). Caps dataset rows and cost. |
| `encoding` | `auto` | For files from links: auto, utf-8, utf-16, cp1252, latin-1. |
| `includeSource` | `false` | Add `_source` to every dataset row (always on with more than one source). |
| `maxFileSizeMb` | 50 | Larger sources are skipped for free. |
| `outputFormats` | `["csv"]` | Any of `csv`, `xlsx`, `json`; empty for dataset only. |
| `outputEncoding` | `utf-8-sig` | CSV encoding: UTF-8 with BOM, UTF-8, or Windows-1252. |
| `outputDelimiter` | `comma` | CSV separator: comma, semicolon, tab, pipe. |
| `quoteAllFields` | `false` | Quote every CSV value. |
| `escapeFormulas` | `true` | Prefix `=`, `+`, `-`, `@` text with an apostrophe in the CSV. |

### Type detection

A column is converted only when every non-empty value in it fits, so a column never ends up half numbers and half text.

- Numbers: `42`, `-3.5`, `1e5`. `007`, `+15551234567` and integers of more than 15 digits stay text (IDs and phone numbers).
- Booleans: `true` and `false` in any case. Not `yes`/`no`, `1`/`0`.
- Dates: `2024-01-15`, `2024-01-15 10:30:00`, `2024/01/15`, `15 Jan 2024`, `Jan 15, 2024` become ISO 8601. A numeric date such as `03/04/2024` is converted only if another value in the column shows which part is the day (`13/04/2024`); otherwise it stays text and a warning says so.

### How much does it cost

Pay per event: **$0.00008 per row delivered** (`row-converted`, $0.08 per 1,000 rows) and **$0.003 per output file** (`file-exported`; a CSV, an XLSX and a JSON file are three files). Blocked, unreadable or empty sources are free.

- 1,000 rows to CSV: $0.08 + $0.003 = **$0.083**.
- 10,000 rows to CSV and XLSX: $0.80 + $0.006 = **$0.806**.
- 100,000 rows to CSV: $8.00 + $0.003 = **$8.003**. The same 100,000 rows to the dataset only: $8.00.

Paid Apify plans get a platform discount. **Max rows per table** and **Output files** cap what a run can cost; if you set a maximum spend per run, the Actor stops cleanly, keeps the rows already delivered and writes files from them.

### Use cases

1. Convert a pasted report, e-mail table or terminal output into a spreadsheet.
2. Turn Apache, nginx or syslog lines into a table for analysis in Excel or a BI tool.
3. Turn `key: value` exports (contacts, inventories, `ipconfig`-style output) into one row per record.
4. Convert Markdown or ASCII tables from documentation, chats and READMEs to CSV or XLSX.
5. Post-process a scraper: read the text field of another Actor's dataset and split it into columns with a regex.

### FAQ

#### How do I convert text to CSV without code?

Paste the text into **Text to convert**, keep `csv` in **Output files**, run. The file link is in `SUMMARY`, and the same rows are in the dataset, which you can also download as CSV, Excel or JSON from the Apify console.

#### Why does my CSV keep `1250.50` but the dataset shows `1250.5`?

The CSV file is written from your original text, so nothing is rewritten silently. The dataset, the JSON file and the XLSX use typed values. Turn off **Detect numbers and booleans** to get text everywhere.

#### What happens with ragged rows?

Short rows are padded with empty cells and longer rows get extra columns (`column_4`...). The count and the first row number appear in the warnings. A different delimiter or **Quote handling** often fixes it.

#### Can it parse any log format?

Apache/nginx access logs, nginx error logs, syslog and timestamped application logs are built in. Everything else needs `regex` mode with named groups. Unmatched lines are skipped and counted, not guessed.

#### What does it not do?

It does not read PDFs, images or Word files (use a document converter first), does not follow wrapped multi-line table cells (each line becomes its own row), does not interpret merged HTML cells (`colspan`/`rowspan`), and does not guess a date order when it cannot tell. Regex runs on your text with Python's engine; a pattern with catastrophic backtracking can run until the run's time limit.

#### What are the limits?

50 MB per source by default (up to 500 MB), 500 sources per run, 100,000 rows per source by default (up to 500,000), 16,384 columns, and about 1,048,575 rows for the XLSX file (use CSV for more). Links to localhost, internal names and private networks are blocked.

### Use with the Apify API, MCP, n8n or Make

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("<username>/text-to-csv-converter").call(run_input={
    "text": "name|qty\napple|3\npear|5",
    "outputFormats": ["csv"],
})
rows = client.dataset(run["defaultDatasetId"]).list_items().items
summary = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("SUMMARY")["value"]
print(rows, summary["perSource"][0]["files"][0]["url"])
```

JavaScript:

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('<username>/text-to-csv-converter').call({
    text: 'name|qty\napple|3\npear|5',
    outputFormats: ['csv'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

In n8n or Make, use the Apify node or module "Run Actor", pass `text` and the options as JSON, then read the dataset items. For AI agents (MCP), the Actor needs one field: `text`.

### Related tools

- **Excel to JSON Converter: XLSX, XLS & CSV to JSON API**: read spreadsheets and CSV files into JSON rows.
- **Merge Datasets & Dedupe: Combine, Filter, Export CSV & Excel**: combine the converted rows with other data and remove duplicates.
- **Email Extractor from Text: Emails, Phones & URLs from Any Text**: pull contact details out of the same text.

# Actor input Schema

## `text` (type: `string`):

Paste the text here: a table, a list, a log, key: value blocks, or any delimited data. Example: lines like name|city|amount. The format is detected automatically unless you pick a Mode. You can paste up to about 50 MB (see Max text size).

## `fileUrls` (type: `array`):

Direct links to text files to convert: .txt, .log, .csv, .tsv, .md or .html. Example: https://example.com/exports/report.txt. GitHub file pages are turned into raw links. Up to 500 per run; private network addresses are blocked and a link that cannot be read is skipped for free.

## `datasetId` (type: `string`):

Optional. An Apify dataset whose items hold text in one field (for example the output of a scraper or a web crawler). Every item becomes its own table. Pick it from the list or paste a dataset ID such as aBcD1234eFgH5678i.

## `datasetField` (type: `string`):

Name of the dataset field that holds the text. Dots reach nested fields. Example: text or response.body. Required when a dataset is set.

## `mode` (type: `string`):

How to turn the text into columns. Auto-detect checks for HTML and text tables, then logs, then key: value blocks, then delimited columns. Pick one yourself if the guess is wrong. The mode that was used is reported in the SUMMARY record.

## `delimiter` (type: `string`):

Column separator for delimited text. Auto-detect tries comma, tab, semicolon and pipe, then runs of spaces, then fixed-width columns found by their aligned gaps. Example: choose Pipe for id|name|city.

## `customDelimiter` (type: `string`):

Your own separator, used when Delimiter is Custom. Example: :: or ~ or \t for a tab. Can be several characters; quotes are not recognized for separators longer than one character.

## `quoteHandling` (type: `string`):

Which quote character protects a delimiter inside a value, as in "Smith, John". Choose No quotes when the text has stray quote marks that confuse the columns.

## `regexPattern` (type: `string`):

Python regular expression for Regex mode. Each named group becomes a column. Example: (?P<ip>\d+.\d+.\d+.\d+) (?P<status>\d{3}). Unnamed groups become group_1, group_2. With no groups the whole match becomes a column named match. Setting a pattern while Mode is Auto-detect switches to Regex mode.

## `regexScope` (type: `string`):

Per line gives at most one row per line and skips lines without a match. Find all returns every match across the text, even several on one line or matches that span lines.

## `regexIgnoreCase` (type: `boolean`):

Match upper and lower case letters alike in the pattern. Example: INFO also matches info.

## `lineSeparator` (type: `string`):

Lines mode only. When set, each line is split on this text into columns. Example: ' - ' or '=>'. Leave empty to get one row per line in a column named line.

## `linesLayout` (type: `string`):

Lines mode without a separator. One row per line gives a column named line. One column per line gives a single row with columns line_1, line_2, and so on (up to 16384).

## `logFormat` (type: `string`):

Log mode only. Auto-detect picks the format that matches most lines. Lines that do not match are skipped and counted in the warnings. For any other log layout use Regex mode with named groups.

## `keyValueSeparator` (type: `string`):

Key-value mode only. Records are separated by blank lines, or start again when a key repeats. Indented lines continue the previous value. Example: name: Ada then city: London.

## `tableNumber` (type: `integer`):

Table mode only. Which table to convert when the text or HTML holds several (1 is the first). Example: 2 for the second table.

## `headerRow` (type: `string`):

Whether the first row is the header. Auto-detect treats it as a header when every cell is a unique, non-numeric label. Modes with built-in names (regex, key-value, log) ignore this.

## `skipLines` (type: `integer`):

Number of lines to ignore at the start, such as a title or a note above the table. Example: 2.

## `trim` (type: `boolean`):

Remove leading and trailing spaces from values and column names. Cells that end up empty become null.

## `skipBlankLines` (type: `boolean`):

Leave out blank lines and rows where every cell is empty.

## `inferTypes` (type: `boolean`):

Turn a column into numbers or true/false when every value in it fits. Values with leading zeros (007), a plus sign or more than 15 digits stay text. Mixed columns stay text. Also the master switch for date detection.

## `inferBooleans` (type: `boolean`):

Only the words true and false (any case) count as booleans. Used when Detect numbers and booleans is on.

## `inferDates` (type: `boolean`):

Normalize a column to ISO 8601 (2024-01-15 or 2024-01-15T10:30:00) when every value is a clear date such as 2024-01-15, 15 Jan 2024 or Jan 15, 2024. Numeric dates like 03/04/2024 are converted only when the column shows which part is the day. Used when Detect numbers and booleans is on.

## `maxRows` (type: `integer`):

Stop after this many data rows per source. This caps both the dataset rows and the cost. Example: 5000.

## `encoding` (type: `string`):

Auto-detect reads a byte order mark, then tries UTF-8 and falls back to Windows-1252. Pick one only if accents come out wrong in a file from a link. Pasted text needs no setting.

## `includeSource` (type: `boolean`):

Add the source name (pasted-text, the file name, or the dataset item) as the first column of every dataset row. Always on when there is more than one source. It is not added to the output files.

## `maxFileSizeMb` (type: `integer`):

Sources larger than this are skipped for free. Units: megabytes per source. Example: 50.

## `outputFormats` (type: `array`):

Files to save in the key-value store, each with a download link in the SUMMARY record. Every file is one file-exported charge. Leave the list empty for dataset rows only. Example: csv and xlsx.

## `outputEncoding` (type: `string`):

Character encoding of the CSV file. UTF-8 with BOM makes Excel show accents and symbols correctly. Windows-1252 replaces characters it cannot hold with a question mark.

## `outputDelimiter` (type: `string`):

Separator written in the CSV file. Example: semicolon when your Excel expects it.

## `quoteAllFields` (type: `boolean`):

Put every CSV value in double quotes. Off quotes only values that need it (those with the delimiter, a quote or a line break).

## `escapeFormulas` (type: `boolean`):

In the CSV file, prefix text that starts with = + - or @ with an apostrophe so Excel cannot run it as a formula. Numbers such as -5 are not changed.

## Actor input object example

```json
{
  "text": "id|name|city|amount|joined|active\n1|Ada Lovelace|London|1250.50|2024-01-15|true\n2|Grace Hopper|New York|980|2024-02-03|true\n3|Alan Turing|Manchester|15.25|2024-02-19|false\n4|Katherine Johnson|Hampton|2100|2024-03-08|true\n5|Linus Torvalds|Portland|75.5|2024-03-30|true\n",
  "mode": "auto",
  "delimiter": "auto",
  "quoteHandling": "auto",
  "regexScope": "perLine",
  "regexIgnoreCase": false,
  "linesLayout": "rows",
  "logFormat": "auto",
  "keyValueSeparator": "auto",
  "tableNumber": 1,
  "headerRow": "auto",
  "skipLines": 0,
  "trim": true,
  "skipBlankLines": true,
  "inferTypes": true,
  "inferBooleans": true,
  "inferDates": true,
  "maxRows": 100000,
  "encoding": "auto",
  "includeSource": false,
  "maxFileSizeMb": 50,
  "outputFormats": [
    "csv"
  ],
  "outputEncoding": "utf-8-sig",
  "outputDelimiter": "comma",
  "quoteAllFields": false,
  "escapeFormulas": true
}
```

# Actor output Schema

## `results` (type: `string`):

One item per table row, with one key per column. Download all rows as JSON, CSV, Excel and more.

## `records` (type: `string`):

Key-value store records: SUMMARY (rows, columns, detected mode and delimiter, warnings and file links per source) and the CSV, XLSX and JSON files you asked for.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "text": `id|name|city|amount|joined|active
1|Ada Lovelace|London|1250.50|2024-01-15|true
2|Grace Hopper|New York|980|2024-02-03|true
3|Alan Turing|Manchester|15.25|2024-02-19|false
4|Katherine Johnson|Hampton|2100|2024-03-08|true
5|Linus Torvalds|Portland|75.5|2024-03-30|true`
};

// Run the Actor and wait for it to finish
const run = await client.actor("data-done-right/text-to-csv-converter").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "text": """id|name|city|amount|joined|active
1|Ada Lovelace|London|1250.50|2024-01-15|true
2|Grace Hopper|New York|980|2024-02-03|true
3|Alan Turing|Manchester|15.25|2024-02-19|false
4|Katherine Johnson|Hampton|2100|2024-03-08|true
5|Linus Torvalds|Portland|75.5|2024-03-30|true
""" }

# Run the Actor and wait for it to finish
run = client.actor("data-done-right/text-to-csv-converter").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "text": "id|name|city|amount|joined|active\\n1|Ada Lovelace|London|1250.50|2024-01-15|true\\n2|Grace Hopper|New York|980|2024-02-03|true\\n3|Alan Turing|Manchester|15.25|2024-02-19|false\\n4|Katherine Johnson|Hampton|2100|2024-03-08|true\\n5|Linus Torvalds|Portland|75.5|2024-03-30|true\\n"
}' |
apify call data-done-right/text-to-csv-converter --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data-done-right/text-to-csv-converter"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/pwdqg9uEVTwwdMKIG/builds/N2c2VEtTemt4WUh8K/openapi.json
