JSON CSV Markdown Table Converter and Validator
Converts JSON or CSV data into GitHub-flavoured Markdown tables, escaping pipes and turning line breaks into <br>.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
JSON CSV Markdown Table Converter and Validator
One focused tool for moving tabular data between the three formats people paste into tickets, spreadsheets, docs and LLM prompts:
JSON to CSV: nested objects and arrays are flattened into dot-notation columns (
user.name,tags.0).CSV to JSON: an array of objects keyed by the header row.
JSON or CSV to Markdown table: a GitHub-flavoured table, with pipes escaped and line breaks turned into
<br>.Validate: checks JSON syntax (with line and column) or CSV structure (ragged rows, duplicate headers, broken quotes). Invalid data is reported, and the run does not fail.
It also runs as an MCP server, so AI agents can call it as a tool.
Input example
{
"data": "[{\"name\": \"Alice\", \"age\": 30, \"address\": {\"city\": \"Paris\"}}, {\"name\": \"Bob\", \"age\": 25}]",
"inputFormat": "auto",
"outputFormat": "csv",
"delimiter": ",",
"flattenNested": true
}Field | Meaning |
| JSON or CSV text (required) |
|
|
|
|
|
|
|
|
Related MCP server: tablestakes
Output example
Each run produces one dataset item:
{
"inputFormat": "json",
"outputFormat": "csv",
"valid": true,
"rowCount": 2,
"columns": ["name", "age", "address.city"],
"error": "",
"output": "name,age,address.city\nAlice,30,Paris\nBob,25,"
}Validation of broken CSV (outputFormat: validate):
{ "valid": false, "rowCount": 2, "error": "line 3 has 1 fields, expected 2", "output": "" }JSON errors read like Invalid JSON: <parser message> at line L column C. The exact parser message comes from Python's built-in json module and can differ slightly between Python versions.
Pricing
US$0.0015 per conversion or validation (one event per run), plus standard Apify platform usage.
Limits
Up to 5,000,000 characters of input per run.
CSV values are kept as strings. There is no type guessing, so
"30"stays"30"in JSON output.JSON input must be an array of objects, a single object, or an array of plain values (these go into a
valuecolumn).If a flattened key collides with a literal key (for example
"a.b"and{"a": {"b": ...}}), the later value wins.Validation reports up to 20 row problems.
When converting, invalid input fails the run with a clear message. Use
validateto inspect the problems instead.
Credits
Markdown tables are rendered with python-tabulate by Sergey Astanin, MIT License. JSON and CSV handling uses the Python standard library.
Hosted version: Apify Store · Docs: https://chunyunglo.github.io/afw-tools/json-csv-markdown-converter/
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Convert JSON to CSV, CSV to JSON, and either one to a GitHub-style Markdown table. Flattens...
Validate and convert JSONL fine-tuning data across 11 AI providers. 13 tools.
300+ deterministic data utilities for AI agents: validate, normalize, parse, match, redact.
The all-in-one data stack for agents. Upload files, run SQL, evolve tables, and render charts.
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceProvides AI agents with data validation, transformation, and normalization capabilities, including JSON schema validation, CSV processing, data normalization, text cleaning, and dataset merging.579 npmMIT
- AlicenseAqualityCmaintenanceEnables LLMs to discover, read, and edit tables in HTML/Markdown documents by converting messy collapsed HTML into clean pipe format and writing back with version-checked, surgical cell, row, and column operations.1124 PyPI1Apache 2.0
- AlicenseNot gradedqualityNot gradedmaintenanceEnables agents to transform tabular Markdown content into structured, type-inferred records with normalized formatting through an MCP-compatible interface.MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents and MCP clients to convert ASCII/OCR text dumps, aligned spacing, and CSV/TSV data into clean GitHub Flavored Markdown tables and typed JSON deterministically.7-