# Agent Tools UK – File Format Converter

> Agent Tools UK – File Format Converter is a paid API for AI agents from agent-tools-production-e6aa.up.railway.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-13).

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.

## Facts

- Endpoint: POST https://agent-tools-production-e6aa.up.railway.app/v1/convert?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-tools-uk-file-format-converter-3a56faaf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9OLlHwRiqOfo0agTnnNpF

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 agent-tools-uk-file-format-converter-3a56faaf -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-tools-uk-file-format-converter-3a56faaf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-tools-production-e6aa.up.railway.app](https://www.zero.xyz/host/agent-tools-production-e6aa.up.railway.app/llms.txt)
