{"uid":"cap_RNNlYjjTqHJIKCQGLchtq","slug":"agentstools-data-format-converter-b83cbf5c","name":"AgentsTools 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://api.agentstools.dev/convert","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":null,"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_QQ7irsbg7kmNebvMpPvM3","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 entirely client-side without network calls.","exampleAgentPrompt":"Convert this JSON data to CSV for me: '{\"name\":\"Alice\",\"age\":30,\"city\":\"NYC\"}' — I need it in CSV format.","exampleUseCases":[{"title":"Pipeline data format normalization","prompt":"I have a YAML config file I need to feed into a system that only accepts JSON — can you convert this YAML string to JSON? Here it is: 'name: Alice\\nage: 30\\ncity: NYC'"},{"title":"Markdown documentation to HTML","prompt":"Take this Markdown content and convert it to sanitized HTML so I can embed it in a web page: '# Hello World\\nThis is **bold** and this is *italic*.'"},{"title":"Base64 encode sensitive payload","prompt":"Encode this text string as base64 for me: 'my-secret-api-key-value-12345'"}],"resultDescription":"Returns the converted data as a string in the requested target format. For JSON targets this may include minified or normalized output depending on options passed. For Markdown-to-HTML the output is sanitized HTML. For base64/hex the output is the encoded or decoded string.","failureModes":["Unsupported source/target format combination returns validation error","Malformed source data (e.g. invalid JSON) causes parse failure and error response","Missing required fields (data, from, to) returns schema validation error","Incompatible conversion path (e.g. base64 to TOML) may return empty or error response"],"whenToPreferThis":"Use this endpoint when you need a fast, pure-compute format conversion with no side effects and no external data fetching — ideal for pipeline preprocessing steps, normalizing data before storage, or transforming documents between serialization formats. Prefer this over general-purpose code execution tools when the conversion is one of the supported format pairs and you want a cheap, deterministic, single-call transformation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:53:36.971Z","isFirstParty":false}