AgentPMT
Web Data Convertor

Web Data Convertor

Core Utility

Available ActionsEach successful request consumes credits as outlined below.

convert-unix-to-date5crconvert-date-to-unix5crconvert-json-to-csv5crconvert-csv-to-json5crconvert-xml-to-json5crconvert-json-to-xml5crconvert-markdown-to-html5crconvert-html-to-markdown5crconvert-yaml-to-json5crconvert-json-to-yaml5crconvert-query-string-to-json5cr

Details

Web Data Converter is a format transformation utility that converts data between common web and application formats used in APIs, configuration files, and content management. It handles bidirectional conversion between JSON and CSV for tabular data interchange, preserving headers and automatically detecting numeric values during CSV parsing. XML to JSON conversion maintains attributes and nested structures, while JSON to XML produces well-formed markup suitable for legacy system integration. Configuration file workflows benefit from YAML to JSON and JSON to YAML transformations, enabling seamless translation between human-readable configs and programmatic data structures. Content creators can convert Markdown to HTML with support for tables, fenced code blocks, and extended syntax, or reverse the process by converting HTML back to clean Markdown for documentation and editing. URL query string parsing extracts parameters into structured JSON objects with automatic handling of multi-value parameters. Time conversion functions translate between Unix timestamps and human-readable date formats with full timezone support across all standard timezones, outputting both ISO 8601 and readable formats. All conversions include validation and clear error messages for malformed input.

Use Cases

JSON to CSV conversion, CSV to JSON conversion, tabular data transformation, spreadsheet data export, API response to CSV, XML to JSON conversion, JSON to XML conversion, legacy system integration, SOAP to REST translation, configuration file conversion, YAML to JSON conversion, JSON to YAML conversion, Kubernetes config conversion, Docker Compose conversion, infrastructure as code conversion, Markdown to HTML conversion, HTML to Markdown conversion, documentation format conversion, content migration, CMS content transformation, blog post conversion, README rendering, static site generation, Unix timestamp conversion, epoch time to date, date to Unix timestamp, timestamp parsing, timezone conversion, UTC conversion, date format standardization, query string parsing, URL parameter extraction, form data parsing, GET parameter conversion, webhook payload transformation, API data transformation, data format translation, configuration management, data interchange, ETL data conversion, log timestamp parsing, event time conversion, ISO 8601 conversion, human readable date formatting, data pipeline transformation, automation data formatting, AI agent data processing, LLM output formatting

Actions(11)

convert-unix-to-date5cr2 params(1 required)

Convert a Unix timestamp to a human-readable date string with ISO format, readable format, and timezone info.

Convert a Unix timestamp to a human-readable date string with ISO format, readable format, and timezone info.

timestamprequiredinteger

Unix timestamp in seconds since epoch.

timezonestring

IANA timezone name (e.g., 'America/New_York', 'UTC', 'Europe/London'). Default: 'UTC'.

Default: UTC
convert-date-to-unix5cr2 params(1 required)

Convert a date string to a Unix timestamp. Auto-detects common formats or use a custom format string.

Convert a date string to a Unix timestamp. Auto-detects common formats or use a custom format string.

date_stringrequiredstring

Date string to convert (e.g., '2024-11-14 22:13:20', '2024-11-14').

date_formatstring

Python strftime format string for parsing. If omitted, common formats are tried automatically.

convert-json-to-csv5cr1 param(1 required)

Convert a JSON object or array of objects to CSV format. All unique keys across objects become sorted column headers.

Convert a JSON object or array of objects to CSV format. All unique keys across objects become sorted column headers.

json_textrequiredstring

Valid JSON string (object or array of objects).

convert-csv-to-json5cr1 param(1 required)

Convert CSV text (with header row) to a JSON array of objects. Numeric values are automatically converted.

Convert CSV text (with header row) to a JSON array of objects. Numeric values are automatically converted.

csv_textrequiredstring

CSV string with a header row.

convert-xml-to-json5cr1 param(1 required)

Convert an XML string to JSON. Attributes stored under @attributes, text content under #text. Repeated same-tag elements become arrays.

Convert an XML string to JSON. Attributes stored under @attributes, text content under #text. Repeated same-tag elements become arrays.

xml_textrequiredstring

Valid XML string.

convert-json-to-xml5cr1 param(1 required)

Convert a JSON string to XML format. Single top-level key becomes root element; otherwise a root element wraps content. Use @attributes and #text keys for XML attributes and text.

Convert a JSON string to XML format. Single top-level key becomes root element; otherwise a root element wraps content. Use @attributes and #text keys for XML attributes and text.

json_textrequiredstring

Valid JSON string.

convert-markdown-to-html5cr1 param(1 required)

Convert Markdown text to HTML. Supports standard markdown, code blocks, tables, and fenced code.

Convert Markdown text to HTML. Supports standard markdown, code blocks, tables, and fenced code.

markdown_textrequiredstring

Markdown content to convert.

convert-html-to-markdown5cr1 param(1 required)

Convert HTML to clean Markdown format. Links are preserved, line wrapping is disabled.

Convert HTML to clean Markdown format. Links are preserved, line wrapping is disabled.

html_textrequiredstring

HTML content to convert.

convert-yaml-to-json5cr1 param(1 required)

Convert a YAML string to JSON format.

Convert a YAML string to JSON format.

yaml_textrequiredstring

Valid YAML string.

convert-json-to-yaml5cr1 param(1 required)

Convert a JSON string to YAML format with human-readable output.

Convert a JSON string to YAML format with human-readable output.

json_textrequiredstring

Valid JSON string.

convert-query-string-to-json5cr1 param(1 required)

Parse a URL query string into a JSON object. Single-value params become strings, multi-value params become arrays. Leading '?' is optional.

Parse a URL query string into a JSON object. Single-value params become strings, multi-value params become arrays. Leading '?' is optional.

query_stringrequiredstring

URL query string (e.g., 'key1=value1&key2=value2').

Frequently Asked Questions

How do I connect this tool to an external agent?

Install commands

npm install -g @agentpmt/mcp-router
agentpmt-setup

Hosted MCP config

{
  "mcpServers": {
    "agentpmt": {
      "type": "streamable-http",
      "url": "https://api.agentpmt.com/mcp",
      "headers": {
        "Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
        "x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
      }
    }
  }
}

How does an external agent use this tool?

Agent prompt

Call the AgentPMT-Tool-Search-and-Execution tool with action 'get_schema' and tool_id 69496d41b54506f955d789f1 ("Web Data Convertor"). Then call the same tool with action 'call_tool', tool_id 69496d41b54506f955d789f1, and the parameters needed for my request.

Workflows Using This Tool

2 / 2
Workflow
Saves ~30 min
Web Data Convertor
Multi-Location Route Optimizer W Map
Date and Time Calculator
File Management
Document OCR Agent
Automates multi-stop route planning from photos of addresses. Collects the user's starting address, time needed at each stop, and departure time. Processes uploaded images through OCR to extract addresses, compiles them into a CSV, optimizes the route order, calculates arrival and departure times for each location, and delivers the final plan with a map image, detailed schedule, and Google Maps link.

Looking for help integrating AI into your business? Set up a free consultation.

Web Data Convertor by Apoth3osis | AgentPMT