{"uid":"cap_9OLlHwRiqOfo0agTnnNpF","slug":"agent-tools-uk-file-format-converter-3a56faaf","name":"Agent Tools UK – File Format Converter","description":"Convert office documents and images between formats. Documents (docx, doc, xlsx, xls, pptx, ppt, odt, rtf, html, txt, csv) to pdf, docx, odt, txt, xlsx or csv; images between png, jpg, webp and gif. Use when a user or system needs a file in a different format. Send {url} or {base64}, plus filename (with extension) and to. Returns the converted file. Errors: 400 unsupported pair, 422 conversion failed.","url":"https://agent-tools-production-e6aa.up.railway.app/v1/convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","description":"Target format, e.g. pdf, docx, txt, png, webp"},"url":{"type":"string","description":"Public URL of the file. Provide url OR base64."},"base64":{"type":"string","description":"File contents, base64-encoded (max 20 MB). Provide url OR base64."},"filename":{"type":"string","description":"Original filename with extension, e.g. report.docx"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xsQP8_40ut7PmsrZiyjYO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts office documents (docx, xlsx, pptx, odt, rtf, html, txt, csv) and images (png, jpg, webp, gif) to a target format, returning the converted file.","exampleAgentPrompt":"Can you convert this Word document to PDF for me? Here's the public URL: https://example.com/report.docx — I need it as a PDF.","exampleUseCases":[{"title":"Word document to PDF for sharing","prompt":"I have a DOCX report at https://example.com/quarterly-report.docx — can you convert it to PDF so I can share it with clients?"},{"title":"Spreadsheet to CSV for data pipeline","prompt":"I need to convert this Excel file (https://example.com/sales-data.xlsx) to CSV format so I can feed it into my data pipeline."},{"title":"WebP image to JPEG for compatibility","prompt":"I've got a WebP image at https://example.com/product-photo.webp that I need converted to a JPG — some of our systems don't support WebP."}],"resultDescription":"Returns the converted file as binary content in the response. On success the agent receives the file in the requested target format ready to save or pass downstream. On error: 400 if the source/target format pair is unsupported, 422 if the conversion itself failed.","failureModes":["400 Bad Request – unsupported source-to-target format combination (e.g. PDF to image not supported)","422 Unprocessable Entity – conversion failed, possibly due to corrupt or malformed input file","File exceeds 20 MB base64 upload limit","Missing or ambiguous filename extension causing format detection failure","URL is not publicly accessible or returns a non-200 response"],"whenToPreferThis":"Choose this endpoint when you need a straightforward, pay-per-use document or image format conversion without setting up a dedicated conversion service. It covers the most common office and image format pairs (DOCX, XLSX, PPTX, PDF, ODT, RTF, HTML, TXT, CSV, PNG, JPG, WebP, GIF) and accepts either a public URL or a base64-encoded file. Prefer this over generic file-handling libraries when operating in an agent pipeline that needs reliable cloud-side conversion without infrastructure overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:41:40.365Z","isFirstParty":false,"canonicalSlug":"agent-tools-uk-file-format-converter-3a56faaf"}