HTTP/1.1 402 PAYMENT REQUIRED agent402.base.eth · BASE · SOLANA · POLYGON · ARBITRUM · MONAD · CELO · AVALANCHE · STELLAR · ALGORAND · ROBINHOOD · USDC · USDG
Agent402 / tools / Data conversion

Data conversion

JSON ⇄ CSV/YAML/XML, markdown ⇄ HTML, diffs and queries - formats agents juggle constantly.

30 tools in this category - 30 free via proof-of-work. ← All tools

JSON validate & format

FREE w/ compute · or $0.001 · POST /api/json-format

Validate, pretty-print, or minify JSON. Returns parse errors with position when invalid.

JSON to CSV

FREE w/ compute · or $0.002 · POST /api/json-to-csv

Convert a JSON array of objects to CSV. Nested objects are flattened to dot-path columns.

CSV to JSON

FREE w/ compute · or $0.002 · POST /api/csv-to-json

Parse CSV (quoted fields supported) into a JSON array of objects, using the first row as headers (header=false for array…

YAML to JSON

FREE w/ compute · or $0.002 · POST /api/yaml-to-json

Parse YAML into JSON (safe schema - no code execution).

JSON to YAML

FREE w/ compute · or $0.002 · POST /api/json-to-yaml

Convert JSON to YAML.

XML to JSON

FREE w/ compute · or $0.002 · POST /api/xml-to-json

Parse XML into a JSON object tree (attributes under _attrs, text under _text; repeated elements become arrays).

Markdown to HTML

FREE w/ compute · or $0.002 · POST /api/markdown-to-html

Render CommonMark + GFM markdown to HTML.

HTML to Markdown

FREE w/ compute · or $0.002 · POST /api/html-to-markdown

Convert an HTML fragment or document you already have into clean markdown. (To fetch + convert a live URL, use /api/extr…

JSON diff

FREE w/ compute · or $0.002 · POST /api/json-diff

Deep-compare two JSON values. Returns a list of changed/added/removed paths (capped at 1000 differences).

JSON query

FREE w/ compute · or $0.001 · POST /api/json-query

Extract a value from JSON by dot/bracket path, e.g. "items[2].name".

CSV to Markdown table

FREE w/ compute · or $0.002 · POST /api/csv-to-md

Convert CSV into a GitHub-flavored Markdown table (first row is the header).

JSON flatten/unflatten

FREE w/ compute · or $0.001 · POST /api/json-flatten

Flatten nested JSON to dot-path keys, or unflatten dot-path keys back to nested JSON. mode: flatten (default) | unflatte…

JSON deep merge

FREE w/ compute · or $0.001 · POST /api/json-merge

Deep-merge two JSON objects (b wins on conflicts; arrays are concatenated).

Query string

FREE w/ compute · or $0.001 · POST /api/querystring

Parse a URL query string into an object, or build one from an object. mode: parse (default) | build.

Base / radix convert

FREE w/ compute · or $0.001 · POST /api/base-convert

Convert an integer between number bases (radix 2-36), e.g. binary↔hex↔decimal. Arbitrary size via BigInt.

Roman numerals

FREE w/ compute · or $0.001 · POST /api/roman

Convert an integer (1-3999) to Roman numerals, or a Roman numeral back to an integer. Auto-detects direction.

Subtitle convert (SRT/VTT)

FREE w/ compute · or $0.002 · POST /api/srt-convert

Convert subtitles between SRT, WebVTT, plain text, and JSON cues. Send SRT or VTT text (auto-detected) - or a JSON cues …

iCalendar parse (.ics)

FREE w/ compute · or $0.002 · POST /api/ics-parse

Parse iCalendar (.ics) text into structured JSON events: summary, start/end, location, organizer, attendees, status, and…

JSONL convert

FREE w/ compute · or $0.001 · POST /api/jsonl

Convert between a JSON array and JSONL/NDJSON (one JSON object per line). mode: to-jsonl (array → lines) or from-jsonl (…

Group by / aggregate

FREE w/ compute · or $0.001 · POST /api/group-by

Group an array of objects by one or more keys and aggregate a numeric field - count (default), sum, avg, min, or max. Th…

JSON to XML

FREE w/ compute · or $0.001 · POST /api/json-to-xml

Convert a JSON value to indented XML - the reverse of xml-to-json. Objects become nested elements, arrays repeat their t…

OpenAPI / Swagger diff

FREE w/ compute · or $0.002 · POST /api/openapi-diff

Compare two OpenAPI 3.x or Swagger 2.x documents and return a structured diff: added / removed / changed endpoints, with…

OpenAPI endpoint extractor

FREE w/ compute · or $0.002 · POST /api/openapi-extract

Flatten an OpenAPI 3.x or Swagger 2.x spec into a structured list of callable endpoints - one row per operation with met…

OpenAPI to curl command

FREE w/ compute · or $0.002 · POST /api/openapi-to-curl

Build a runnable curl command for one operation in an OpenAPI 3.x or Swagger 2.x spec. Locate the operation by operation…

OpenAPI mock response generator

FREE w/ compute · or $0.002 · POST /api/openapi-mock-response

Synthesize a JSON response body for one operation + status code in an OpenAPI 3.x or Swagger 2.x spec. Locate the operat…

OpenAPI operation search

FREE w/ compute · or $0.002 · POST /api/openapi-search

Search operations in an OpenAPI 3.x or Swagger 2.x spec against a free-text query. Tokenizes the query (lowercase, alpha…

OpenAPI spec redactor

FREE w/ compute · or $0.002 · POST /api/openapi-redact

Shrink an OpenAPI 3.x or Swagger 2.x document for LLM context by stripping verbose meta-fields (examples, descriptions, …

OpenAPI $ref resolver

FREE w/ compute · or $0.002 · POST /api/openapi-resolve-refs

Inline every local `$ref` in an OpenAPI 3.x or Swagger 2.x document so downstream tools see a self-contained spec. Resol…

OpenAPI security summary

FREE w/ compute · or $0.002 · POST /api/openapi-security-summary

Resolve authentication requirements across an OpenAPI 3.x or Swagger 2.x document. Returns the catalog of security schem…

OpenAPI required-params extractor

FREE w/ compute · or $0.002 · POST /api/openapi-required-params

For one operation, return the minimum set of inputs an agent must provide to make a successful call. Locate the op by `o…