Table image generator
Render a small table as a tidy SVG image with a header row, zebra stripes and right-aligned numbers.
Input
Result
Fill in the input and press Run.
Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.
Use it from code or an agent
curl -s https://setget.net/v1/tools/table-image \
-H 'Content-Type: application/json' \
-d '{"input":{"headers":["City","Temp"],"rows":[["Oslo",4],["Rome",18]]}}'
import json, urllib.request
body = {'input': {'headers': ['City', 'Temp'], 'rows': [['Oslo', 4], ['Rome', 18]]}}
request = urllib.request.Request("https://setget.net/v1/tools/table-image", json.dumps(body).encode(),
{"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/table-image", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"input":{"headers":["City","Temp"],"rows":[["Oslo",4],["Rome",18]]}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
"slug": "table-image",
"input": {
"headers": [
"City",
"Temp"
],
"rows": [
[
"Oslo",
4
],
[
"Rome",
18
]
]
}
}
{
"input": {
"headers": [
"City",
"Temp"
],
"rows": [
[
"Oslo",
4
],
[
"Rome",
18
]
]
}
}
Endpoint: POST /v1/tools/table-image. Over MCP: run_tool with slug: "table-image".
Machine-readable: input schema, Markdown. Connect an agent.
Inputs
| Name | Type | Required | What it does |
|---|---|---|---|
rows |
json | yes | The rows: a list of lists, or a list of objects keyed by column name. Up to 30 rows and 10 columns. |
headers |
array | no | Column names. Leave out to use the object keys, or the first row. |
font_size |
integer | no | Text size in pixels. Default: 14. From 8 to 32. |
theme |
string | no | Light or dark colours. One of: light, dark. Default: "light". |
Examples
Input
{
"headers": [
"City",
"Temp"
],
"rows": [
[
"Oslo",
4
],
[
"Rome",
18
]
]
}Result
Different every time. Press the example button above to see one.
Rows as objects, dark theme
Input
{
"rows": [
{
"name": "Sam",
"role": "Admin"
},
{
"name": "Alex",
"role": "Editor"
}
],
"theme": "dark"
}Result
Different every time. Press the example button above to see one.
Questions
- What happens to long cells?
- Each column is as wide as its longest cell up to a limit; longer text is cut with an ellipsis.
Related tools
- Markdown table generatorBuild a Markdown table from headers and rows, padded so the columns also line up as plain text.
markdown-table - ASCII table generatorRender headers and rows as a box-drawing or plain ASCII table for terminals, logs and code comments.
ascii-table - Chart generatorMake a clean SVG bar, line, area, pie or donut chart from labels and values, with axes, legend and title.
chart - .gitignore generatorBuild a .gitignore for the languages, editors and operating systems you use, merged without duplicates.
gitignore-generate - ASCII banner text generatorTurn short text into large five-line banner letters for terminals, READMEs, logs and code comments.
ascii-banner - Background pattern generatorMake seamless SVG background patterns (dots, grid, stripes, checker or waves) with your colours and scale.
pattern-image