Format Detective
Paste data on the left to detect its format...Last updated:
This tool is provided as-is for convenience. Output should be verified before use in any production or critical context.
Programmatic Access
Format Detective is also callable as a free HTTP JSON API at
https://aidevhub.io/api/format-detective/detect/ — GET with query
parameters or POST with a JSON body, no authentication, CORS enabled,
50 requests/day per IP. Responses return
{ ok, tool, result, meta }.
curl -s "https://aidevhub.io/api/format-detective/detect/?input=%7B%22name%22%3A%22test%22%7D"
Machine-readable contract: /api/tool/format-detective.json All API endpoints: /agents/ LLM site index: /llms.txt
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: 60 req / 60s, 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.