{"uid":"cap_IsH9ILAJ8TKrreP0yCqG8","slug":"webtools402-data-format-converter-b79e1d5f","name":"webtools402 Data Format Converter","description":"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.","url":"https://webtools402.176-109-107-191.sslip.io/convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":{"p10Cents":"0.1000","medianCents":"0.1000","p90Cents":"0.1000","minCents":"0.1000","maxCents":"0.1000","p95Cents":"0.1000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__jbG1M-T2m-SiGaSSKZr7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts data between formats including JSON, CSV, YAML, TOML, Markdown, HTML, base64, hex, and plain text — all pure-compute with no network I/O.","exampleAgentPrompt":"Convert this CSV data to JSON for me: 'name,age\\nAlice,30\\nBob,25' — source format is csv and target format is json.","exampleUseCases":[{"title":"Config file format migration","prompt":"I have a TOML config file and need it as JSON so I can pass it to our API — here's the content: '[database]\\nhost = \"localhost\"\\nport = 5432'. Convert it from TOML to JSON."},{"title":"Markdown blog post to HTML","prompt":"Turn this Markdown article into sanitized HTML so I can embed it on the website: '# Hello World\\n\\nThis is a **great** post with a [link](https://example.com).' Source is markdown, target is html."},{"title":"Base64 encode a payload","prompt":"Base64-encode this JSON string for me so I can safely embed it in a URL parameter: '{\"user\":\"alice\",\"token\":\"abc123\"}'. From json to base64."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:48:47.032Z","isFirstParty":false,"canonicalSlug":"webtools402-data-format-converter-b79e1d5f"}