Format Detective
Paste data on the left to detect its format...What This Tool Does
Format Detective is built for deterministic developer and agent workflows.
Detect unknown data formats and convert between JSON, YAML, XML, CSV, TOML, and text with browser + API workflows.
Use How to Use for execution steps and FAQ for constraints, policies, and edge cases.
Last updated:
This tool is provided as-is for convenience. Output should be verified before use in any production or critical context.
Agent Invocation
Best Path For Builders
Dedicated API endpoint
Deterministic outputs, machine-safe contracts, and production-ready examples.
Dedicated API
https://aidevhub.io/api/format-detective/detect/ OpenAPI: https://aidevhub.io/api/openapi.yaml
Unified Runtime API
https://aidevhub.io/api/tools/run/?toolId=format-detective&a=...
GET and POST are supported at /api/tools/run/ with identical validation and limits.
Limit: req / s, input max 128 KB.
REST API
Base URL
https://aidevhub.io/api/format-detective/ 50 requests/day per IP. No authentication required. CORS enabled. OpenAPI spec
Endpoints
Example
curl "https://aidevhub.io/api/format-detective/detect/?input=%7B%22name%22%3A%22test%22%7D"
Example Response
{
"detected": "json",
"confidence": 1
} How to Use Format Detective
- 1
Paste or type your data
Enter data into the input area or click a sample button (JSON, YAML, XML, CSV, TOML) to load example content. Detection runs automatically as you type.
- 2
Review detected formats
Check the detection bar for ranked format matches with confidence percentages. The highest-confidence format is highlighted. Multiple formats may match if the data is valid in more than one grammar.
- 3
Convert to another format
Select a target format from the dropdown and click Convert. The converted output appears in the right panel, ready to copy or download.
- 4
Copy or download the result
Use the copy button to copy converted output to your clipboard, or the download button to save it as a file with the correct extension.