TableToJson
DataTools
Description
Convert tabular data to JSON in a flash! TableToJson converts structured table data - whether from Excel, Markdown, databases or web pages - into clean, structured JSON objects. Copy-paste from tables becomes an immediately usable data format!
With intelligent column detection, flexible delimiters and automatic type conversion, you transform any table format into API-ready JSON. Perfect for data migrations, reporting and system integrations!
Why This Tool Stands Out
- Excel Copy-Paste instantly becomes JSON
- Automatic Type Detection for perfect data
- Flexible Formats - tabs, spaces, custom
- Markdown Tables supported
Perfect for:
Business analysts, data journalists, web developers and everyone who needs to process table data. Ideal for Excel-to-API conversions, database reports, web scraping results and Markdown documentation. Perfect for data entry automation, BI reports and configuration tables!
Workflow support; time savings depend on the task
Instead of transcribing table data manually, mapping columns and building JSON structures by hand, TableToJson converts your data in seconds - including automatic header detection and data type conversion!
JSON Parameters
- table REQUIRED (String)The tabular text to convert. Can be tab-separated, space-separated or in other formats.
- delimiter OPTIONAL (String)The delimiter between columns. Default: "\t" (tab). Alternatives: " " (space), "," (comma), "|"
- hasHeader OPTIONAL (Boolean)Whether the first row should be used as the header. Default: true
- trimWhitespace OPTIONAL (Boolean)Whether whitespace at the start/end of cells should be trimmed. Default: true
Example Call
{
"tool": "TableToJson",
"params": {
"table": "Name\tAge\tCity\nMax\t30\tBerlin\nAnna\t25\tHamburg",
"delimiter": "\t",
"hasHeader": true,
"trimWhitespace": true
}
}
Example Usage
Copy the table from Excel, a web page or a database tool.
Choose the appropriate delimiter (tab, comma, etc.) and configure header options.
Use the generated JSON directly in your API, database or application.
Return Values
The tool returns an object with the following properties:
- data (Array)
An array of JSON objects containing the table data - rowCount (Integer)
Number of data rows - columns (Array)
Array of the column names - delimiter (String)
The delimiter used - success (Boolean)
True if the conversion was successful - error (String, optional)
Error message if the conversion failed
Related DataTools
Ready for More DataTools?
Discover all our data processing tools for efficient table conversion.
Explore All DataTools