Free plan

Table to Image

Turn a table into a clean picture for slides and chats
POST
/v1/render/table

About this tool

This tool turns a table, which you can paste as CSV or JSON or add as a file, into a tidy picture. You can add a title, choose a theme, stripes and borders, and set the text size and width. It is good for showing a table where a file would not fit.
For example, you share a price list as an image in a chat.

How to use it

  1. Choose this tool.
  2. Paste your table, or add a file with Upload or drag and drop.
  3. Add a title and pick the theme and stripes.
  4. Press Generate.
  5. Download the picture.

What you get back

You get a picture of your table. Download it and place it in a slide, report or message.
GOOD TO KNOW
A table in, one picture out. Counts as one render.
TEST IT LIVE

Try Table to Image in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Render
Plan
Free
Method
POST
Endpoint
/v1/render/table
Tool ID
render.table
Authentication
API key
Accepts
XLSX, ODS, MD, HTML, XLS, CSV +9 more
Background jobs
Yes
Usage group
Render
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/render/table" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'data=Country,Orders
Germany,12
France,8' \
  -F 'output=png' \
  -F 'theme=light'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.render.table({
    "data": "Country,Orders\nGermany,12\nFrance,8",
    "output": "png",
    "theme": "light"
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->render()->table([
    'data' => 'Country,Orders
Germany,12
France,8',
    'output' => 'png',
    'theme' => 'light',
]);
echo $result->requestId;
FAQ

Frequently asked questions

Turn a table (pasted CSV or JSON, or a data file) into a clean picture for slides, reports and posts, with themes, stripes, borders and a title.

Table to Image accepts XLSX, ODS, MD, HTML, XLS, CSV, JSON, XML, TSV, NDJSON, YAML, TOML and 3 more. You can send several files in one request.

Table to Image is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/render/table with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.