Tools API Blog
Sign in Create account

CSV/JSON to table

CSV/JSON to table is an API that turns data into a real, presentation-ready table: as a PDF or as an image. Give it a CSV or a JSON array, no HTML to write.

How it works

You send csv (the text) or data (an array), never both, and get back the table already built, with a highlighted header and alternating rows. Defaults to PDF; with format=png (or jpeg/webp), an image.

Coming from an Excel file? Use Excel to JSON first, and pass its result to this tool's data.

All you need

  • Your API key. Create it in your dashboard with "+ Create key".
  • In your automation platform, an "HTTP Request" step (n8n, Make, Zapier, Pipedream…).

How to use it in n8n

  • Method: POST · URL: https://api.cofferdock.com/data-to-table
  • Send Headers: x-api-key = your key, Content-Type = application/json
  • Send Body (JSON): { "data": [{"name":"Ana","age":30},{"name":"Luis","age":25}] }
  • In Options → Response → Response Format: choose File

Options

OptionDefaultWhat it does
csv-The CSV text. Use this OR data.
data-Array of objects or arrays. Use this OR csv.
headertrueFirst row as a highlighted header.
formatpdfpdf, png, jpeg or webp.

What you get back

By default (JSON): file as base64. Add output=binary for the raw file, or output=url for a temporary link (valid 15 minutes).