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…

API TableConvert ابزاری همه‌کاره است که برای ساده‌سازی فرآیند تبدیل داده‌ها بین فرمت‌های مختلف طراحی شده است. با دسترسی به 370 مبدل مختلف، این API تبدیل یکپارچه داده‌ها را در انواع مختلف فایل‌ها و ساختارها تسهیل می‌کند، از جمله اما نه محدود به CSV، Excel، HTML، JSON، Markdown و موارد دیگر.

برای شروع استفاده از API TableConvert، این مراحل را دنبال کنید:

مرحله ۱: ثبت‌نام برای دریافت کلید API

  1. ایجاد حساب کاربری: برای دریافت کلید API منحصر به فرد خود، حساب کاربری ایجاد کنید.
  2. بازدید از صفحه قیمت‌گذاری: به صفحه قیمت‌گذاری بروید تا طرح خود را انتخاب کنید.

مرحله ۲: مدیریت کلید API

  1. دسترسی به صفحه احراز هویت: این صفحه به شما امکان مدیریت کلید API خود را می‌دهد.
  2. تنظیم کلید API خود: پس از داشتن کلید API، آن را در بخش تعیین شده وارد کنید تا تست فراخوانی API از مستندات فعال شود.

برای کمک در احراز هویت یا سایر سوالات، به مستندات مراجعه کنید یا با تیم پشتیبانی ما تماس بگیرید.

مرحله ۳: تست 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.