{"uid":"cap_XCkv164Gmx3rKaipfeRht","slug":"arch-tools-convert-format-b685a66e","name":"Arch Tools — Convert Format","description":"Arch Tools — convert-format","url":"https://archtools.dev/v1/tools/convert-format","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"enum":["json","yaml","csv","xml","toml"],"type":"string","description":"Target format"},"from":{"enum":["json","yaml","csv","xml","toml"],"type":"string","description":"Source format"},"input":{"type":"string","description":"The content to convert (serialized as a string)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KwENSslwyiCpwnJx6S2XJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts content between different data formats (e.g. JSON, YAML, XML, CSV, TOML) by accepting a source format, target format, and serialized input string.","exampleAgentPrompt":"Convert this JSON string to YAML format: '{\"name\":\"Alice\",\"age\":30,\"active\":true}'","exampleUseCases":[{"title":"Config file format migration","prompt":"I have this TOML config file content and I need it converted to YAML — can you reformat it? Here's the TOML: '[server]\\nhost = \"localhost\"\\nport = 8080'"},{"title":"API response reformatting for legacy system","prompt":"Take this JSON API response and convert it to XML so I can feed it into our legacy system: '{\"orderId\":\"123\",\"status\":\"shipped\",\"total\":49.99}'"},{"title":"CSV to JSON for data pipeline","prompt":"Convert this CSV data to JSON format so I can load it into our pipeline: 'name,age,city\\nBob,25,Austin\\nSue,31,Denver'"}],"resultDescription":"A JSON object containing the converted content in the target format as a string, ready to be parsed or used directly by downstream systems.","failureModes":["Unsupported source or target format returns an error","Malformed or invalid input string that cannot be parsed in the declared source format","Conversion loss when target format doesn't support all features of source format","Empty input string causing a processing error","Format name typos or unsupported format identifiers"],"whenToPreferThis":"Use this endpoint when you need a quick, programmatic, pay-per-call conversion between common structured data formats (JSON, YAML, XML, CSV, TOML, etc.) without setting up a local library. Ideal for agents orchestrating data pipelines that need to bridge format incompatibilities between services on the fly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:34:12.644Z","isFirstParty":false}