Skip to content

Table conversion API. Built for your workflow.

Convert CSV, Excel and JSON with one API key. Send table data, a file or a supported public URL, then use the result in your application.

Get an API keyExplore the API reference
HTTPS · Bearer auth · multipart/form-data

Your first CSV to JSON API request.

Example request. Keep your key on your server.

Request

Method
POST
Endpoint
/v2/convert/csv-to-json
Header
Authorization
Value
Bearer YOUR_API_KEY
Body
multipart/form-data
data
item,quantity
A4 paper,10
Toner,1
200 OK
[
  {
    "item": "A4 paper",
    "quantity": "10"
  },
  {
    "item": "Toner",
    "quantity": "1"
  }
]

Example response · quantity values remain strings.

From a table to your application.

  1. Create a key for your account

    Sign in once, open API keys, and create a key. Keep the Bearer token on your server, outside public frontend code.

  2. Send the table you already have

    Provide data, a file, or a supported public URL using multipart form data. Use the Excel to JSON API for spreadsheets or JSON to CSV for text output.

  3. Choose the response your code needs

    Use v1 for a JSON envelope or v2 for direct text and binary output. Check the response status before saving the result.

Two versions. One conversion workflow.

v1: JSON envelope

/convert/…

The original /convert endpoint returns code, message and data. Keep it when your integration already reads that envelope.

code
200
message
OK
data
Output string

v2: direct output

/v2/convert/…

The /v2/convert endpoint returns the conversion itself, including text and binary downloads. Use HTTP status codes for errors.

[
  {
    "item": "A4 paper",
    "quantity": "10"
  },
  {
    "item": "Toner",
    "quantity": "1"
  }
]

API reference

Select a version, inspect a conversion pair, and try a request with your own key.

Conversion API referenceBrowse conversion endpoints with verified input/output samples, request code and format-specific rules.

Loading API documentation…

TableConvert API 是一個多功能工具,旨在簡化各種格式之間的資料轉換過程。透過存取 370 種不同的轉換器,此 API 促進了跨多種檔案類型和結構的無縫資料轉換,包括但不限於 CSV、Excel、HTML、JSON、Markdown 等。

要開始使用 TableConvert API,請遵循以下步驟:

步驟 1:註冊 API 金鑰

  1. 建立帳戶:註冊帳戶以取得您獨特的 API 金鑰。
  2. 造訪定價頁面:導航至定價頁面以選擇您的方案。

步驟 2:管理 API 金鑰

  1. 存取驗證頁面:此頁面允許您管理您的 API 金鑰。
  2. 設定您的 API 金鑰:一旦您擁有 API 金鑰,請在指定區域中輸入它,以啟用從文件進行 API 呼叫測試。

如需驗證或任何其他查詢的協助,請參考文件或聯絡我們的支援團隊。

步驟 3:測試 API

  1. 使用文件中的試用按鈕:導航至您想要測試的 API 端點,並點擊 試用 按鈕。
  2. 執行程式碼範例:利用各種程式語言提供的程式碼範例來測試 API 端點。

發出請求

在發出 API 請求時,請記住以下事項:

  1. 內容類型:所有 API 端點都使用 multipart/form-data 內容類型。
  2. 授權標頭:在您的 API 呼叫中包含授權標頭。

例如,使用 curl,您可以如下新增授權標頭:

curl -X POST "https://api.tableconvert.com/csv-to-markdown" \
  -H "Authorization: Bearer ${API_Key}" \
  -F "data=name,age"

API pricing. The same credit wallet.

1 credit
Standard format conversion

For CSV, JSON and other standard text-table conversions.

5 credits
Excel input or Excel/PDF/image/Magic output

For Excel input or supported rendered output formats.

Standard requests cost 1 credit. Excel input or Excel, PDF, image and Magic output cost 5 credits. Your website tools and API use the same wallet; old paid contracts keep their agreed rate.

Pricing

Does this API extract bank statements or invoices?

This key is for table-format conversion. Bank statements, supplier comparisons and invoice extraction currently use your signed-in website session.

Questions before you integrate

The reference lists each supported input/output pair and its options. Common jobs include CSV to JSON, Excel to JSON and JSON to CSV, with Excel, PDF and image generation where supported.

Start with one conversion.