# Arch Tools — Convert Format

> Arch Tools — Convert Format is a paid API for AI agents from archtools.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Converts content between different data formats (e.g. JSON, YAML, XML, CSV, TOML) by accepting a source format, target format, and serialized input string.

## Facts

- Endpoint: POST https://archtools.dev/v1/tools/convert-format
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/arch-tools-convert-format-b685a66e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XCkv164Gmx3rKaipfeRht

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 arch-tools-convert-format-b685a66e -d '<json body>'
```

Example prompt: Convert this JSON string to YAML format: '{"name":"Alice","age":30,"active":true}'

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Arch Tools — convert-format

## Output

A JSON object containing the converted content in the target format as a string, ready to be parsed or used directly by downstream systems.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/arch-tools-convert-format-b685a66e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from archtools.dev](https://www.zero.xyz/host/archtools.dev/llms.txt)
