Table Format Converter
Convert offline between Excel/TSV/CSV, JSON arrays, Markdown tables, HTML tables, and SQLite INSERT statements while preserving long numbers and JSON types.
Screenshots
Key Features
Auto-detect clipboard table data and convert to Markdown, JSON, SQL, or HTML
table / table convert / excel to markdown / csv to json
Convert clipboard Excel, TSV, or CSV data into aligned Markdown tables
to markdown table / excel to md / csv2md
Convert clipboard tabular data into structured JSON object arrays
table to json / csv to json / csv2json
Generate batch SQL INSERT INTO statements from tabular data
table to sql / csv to sql / generate sql insert
Overview & Usage Guide
Convert tabular text from the clipboard offline without reading files or connecting to databases. For Excel, copy cells first; .xlsx files are not imported directly.
Reads the clipboard on open. Choose an output format and press Enter to copy the full result, or ⌘/Ctrl+Enter to paste directly into the active application. The preview shows up to 100 rows and 30,000 characters without affecting the copied output. Use "Edit Input" at the top to modify raw text, specify the input format, or set the SQLite table name; when auto-detection is ambiguous, select the input format manually. The header dropdown applies to CSV, TSV, Markdown, HTML, and 2D JSON arrays; JSON object arrays and SQL use their own column names.
- Supports CSV, TSV, JSON arrays of objects or 2D arrays, Markdown tables, HTML text tables, and a single SQLite
INSERT INTO ... (columns) VALUES (...)statement. - CSV/TSV preserves line breaks inside quotes, spaces, empty strings, and trailing empty columns; mismatched quotes or inconsistent column counts halt conversion. Empty or duplicate headers are automatically named and flagged to prevent overwriting columns.
- JSON output preserves nested objects, arrays, strings, booleans,
null, and missing keys in object arrays. Text columns convert only numbers that can round-trip safely and lowercasetrue/falseto numbers or booleans; long integers, leading zeros,-0, and numbers with spaces remain strings. Bare numbers exceeding precision limits,-0, and duplicate keys in JSON input raise errors—quote exact numbers beforehand. - CSV, TSV, Markdown, and HTML are plain-text tables and do not carry JSON types. On output, nested values become JSON strings, while
nulland missing keys render as empty cells; use JSON to preserve full types. Spreadsheet software may still interpret CSV values according to its own rules. - Markdown input supports short GFM delimiter rows (such as
|-|-|or|:-:|). Markdown output encodes formatting characters (| * _[ ]) as numeric entities; only cells resembling URLs or email addresses additionally escape. : @ ( )` to avoid auto-linking, leaving ordinary decimals and times untouched. - HTML accepts only a single complete text table, supporting common inline tags,
<br>, numeric entities, andamp/lt/gt/quot/apos/nbsp. Merged cells, nested or multiple tables, images, and other unsupported elements report explicit errors instead of being silently ignored. - SQL input and output strictly use SQLite literal syntax, keeping backslashes literal.
VALUESsupports only strings, numbers, booleans, andNULL—functions, expressions, comments, trailing statements, and MySQL backslash escapes are not supported. Identifiers are double-quoted and escaped; column names differing only by case reject SQL output. Nested values become JSON strings and missing keys map toNULL. The plugin only processes SQL text and never executes SQL.
Read failures retain the previous input and show an error; parse failures retain the raw text for editing and retry. An empty clipboard clears old results without inserting sample data. If one output format fails, other formats remain available.
A single input is limited to 2,000,000 characters, 1,000 columns, 50,000 rows, and 200,000 cells; each output must stay within the 8 MiB clipboard limit. Output budgets are checked row by row, prompting you to split input if exceeded. Markdown column alignment pads up to 80 characters without truncating cell contents.
Platforms & Requirements
- Supported: Windows, macOS
Network & Data
- Offline only; data is stored locally only.
Frequently Asked Questions (FAQ)
How do I install and launch "Table Format Converter" in ZTools?
Open the Plugin Marketplace inside ZTools Workbench, search for "Table Format Converter", and install it. Then type its name in the launcher bar to open it.
Is "Table Format Converter" free? Which platforms are supported?
Yes, it is free to install with source code published in the ZTools-extensions repository. Supported platforms: Windows / macOS.