# webtools402 Data Format Converter

> webtools402 Data Format Converter is a paid API for AI agents from webtools402.176-109-107-191.sslip.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Converts data between formats including JSON, CSV, YAML, TOML, Markdown, HTML, base64, hex, and plain text — all pure-compute with no network I/O.

## Facts

- Endpoint: POST https://webtools402.176-109-107-191.sslip.io/convert?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/webtools402-data-format-converter-b79e1d5f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IsH9ILAJ8TKrreP0yCqG8

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability webtools402-data-format-converter-b79e1d5f -d '<json body>'
```

Example prompt: Convert this CSV data to JSON for me: 'name,age\nAlice,30\nBob,25' — source format is csv and target format is json.

## When to prefer this

Choose this endpoint when you need fast, pure-compute format conversion between JSON, CSV, YAML, TOML, Markdown, HTML, base64, or hex with no external network calls. Ideal for agents that need to transform configuration files, encode/decode data, or render markup locally without sending data to a third-party ML or parsing service. Prefer this over LLM-based conversion for deterministic, lossless structural transformations.

## Known failure modes

- Unsupported format pair (e.g. base64 to CSV directly) may return an error or unexpected output
- Malformed input data that doesn't match the declared source format will cause a parse error
- Missing required fields (data, from, to) returns a validation error
- Invalid enum value for 'from' or 'to' returns a schema validation failure
- Very large documents may hit payload size limits

## How this service works

Pure-compute data format conversion (no network): JSON<->CSV, JSON<->YAML, JSON normalize/minify, Markdown->HTML (sanitized), HTML->Markdown/text, base64/hex, TOML->JSON. Operates only on the supplied data.

## Output

Returns the converted data as a string in the requested target format. For JSON outputs, optional parameters like minify, sort_keys, and indent control formatting. For CSV, a delimiter option is available. The response contains the transformed document ready for use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "enum": [
    "base64",
    "csv",
    "hex",
    "html",
    "json",
    "markdown",
    "text",
    "toml",
    "yaml"
   ],
   "type": "string",
   "description": "Target format"
  },
  "data": {
   "type": "string",
   "description": "The data to convert (the source document as a string)"
  },
  "from": {
   "enum": [
    "base64",
    "csv",
    "hex",
    "html",
    "json",
    "markdown",
    "text",
    "toml",
    "yaml"
   ],
   "type": "string",
   "description": "Source format"
  },
  "options": {
   "type": "object",
   "description": "Per-conversion options, e.g. {minify, sort_keys, indent, delimiter}"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/webtools402-data-format-converter-b79e1d5f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from webtools402.176-109-107-191.sslip.io](https://www.zero.xyz/host/webtools402.176-109-107-191.sslip.io/llms.txt)
