Table to Image
Render CSV/TSV (Excel-paste friendly) as a clean PNG table.
What is Table to Image
The Table to Image tool renders CSV/TSV data — including a direct paste from Excel, with tab/comma auto-detection — as a readable PNG table with a dark header row and zebra stripes. Column widths adapt to content and long cells are truncated with an ellipsis. Perfect for embedding tables in READMEs and blog posts. Runs in your browser (up to 100 rows × 20 columns).
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Size limit
- 25 MB
- Offline
- Works with the network disconnected
Drawn from cells, not screenshotted
The table is parsed into rows and columns, then each cell is measured and painted onto a canvas with a fixed padding of 12px, a row height of 34px and a 13px font. Column widths are computed from the widest cell, clamped between 60 and 320px — so a long column wraps rather than stretching the image to an unusable width.
Because it is drawn rather than captured, the output is pixel-exact regardless of the browser zoom, the display scaling or the surrounding page. A screenshot depends on all three, which is why pasted screenshots of tables are usually inconsistent in size and font.
Delimiter detection decides the parse
The first line is inspected for tabs versus commas, and the one that appears more often wins. That handles the common case of a spreadsheet copy (tabs) and a CSV export (commas) without asking. A quoted field containing commas — "Smith, John" — is handled by the CSV parser, not by the delimiter sniff.
If the table arrives as pipe-delimited Markdown, it is read as Markdown. Mixing formats in one paste is the usual reason a table renders as a single column.
When the image is the wrong output
An image of a table cannot be selected, searched, sorted or read by a screen reader, and it will not be indexed as data. For anything that has to stay usable, publish an HTML table and use an image only as a visual excerpt.
The exception is genuinely visual contexts: a slide, a chat message, a social post. There the image is the only format that renders identically everywhere, which is exactly what it is for.
How to use it
- 1.Paste CSV/TSV or a range copied from Excel
- 2.Run to render the PNG
- 3.Download and attach it to your README or post
How Table to Image works under the hood
Every image operation here is decode → transform pixels → re-encode. That order matters: it explains both why resizing is exact and why repeated compression slowly degrades a photo.
- 1
Decode to a pixel buffer
The browser's own decoder turns the file into RGBA pixels. EXIF orientation is applied at this step so portrait photos are not sideways.
- 2
Draw at the target size
The pixels are drawn onto a canvas at the requested dimensions with high-quality smoothing, which is where resampling actually happens.
- 3
Encode with a chosen quality
canvas.toBlob re-encodes to JPEG, WebP or PNG. Quality applies to lossy formats only; PNG ignores it and stays lossless.
- 4
Hand back a Blob
The encoded bytes become a download link. No network request is involved at any point.
Processing pipeline
Why the file gets bigger sometimes
Re-encoding is not free. Converting a small, well-compressed JPEG to PNG usually makes it several times larger, because PNG is lossless and must store every pixel exactly. The same happens when a JPEG is re-saved at quality 1.0. If size is the goal, keep the format and lower the quality; if transparency is the goal, PNG or WebP is the right choice.
Metadata is dropped on purpose
Camera EXIF can contain GPS coordinates, device serial numbers and timestamps. Re-encoding through canvas writes fresh pixels and no metadata, which is a privacy win but means the location tag is gone. If you need metadata preserved, this pipeline is the wrong tool.
Formats the browser cannot open
HEIC and HEIF (the default on recent iPhones) are not decodable by most browsers, so they cannot be converted client-side. TIFF and some camera RAW formats fail for the same reason. There is no server fallback here by design — the file never leaves your device, so if the browser cannot read it, the tool cannot either.
Verify it yourself
Re-encoding happens locally. Check the network panel while it runs.
- 1.Open DevTools on this page and switch to the Network tab
- 2.Keep the filter on Fetch/XHR and run the tool
- 3.Confirm no request carries your file — you should see only page assets and fonts
Frequently asked questions
Can I paste straight from Excel?
Yes. Copy a range in Excel and paste — it is detected as tab-separated. CSV file contents paste fine too.
What are the limits?
100 rows × 20 columns. Split larger tables.
What this kind of conversion cannot keep
Image work happens on a canvas: the file is decoded, drawn, re-encoded and handed back as a download. Nothing is uploaded, so a 20 MB photo costs you nothing but a few seconds. Re-encoding always loses a little quality — that is true of every tool, including desktop software.
More in Image
On this page
- What is Table to Image
- What this tool actually does with your file
- How it actually behaves
- How to use it
- How it works inside
- Frequently asked questions
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →