IntoSQL for developers
Convert files to SQL from your code
The engine behind the converter, wherever your code runs: a REST API with webhooks, SDKs for TypeScript, PHP, Python, Java, Go, .NET and Ruby, a command line for scripts and CI, and an MCP server for AI assistants. Each returns the same report of what changed.
REST API
Open a conversion, send the file or its URL, start it and download the SQL. Idempotency keys make retries safe, and a webhook tells you when it's done. Part of Pro.
API reference$ curl -X POST https://intosql.com/api/v1/conversions \ -H "Authorization: Bearer $INTOSQL_API_KEY" \ -H "Idempotency-Key: 7c1e9a52" \ -d @request.json{ "data": { "id": "01J9Z8K3M4", "status": "queued" }}SDKs
TypeScript, PHP, Python, Java, Go, .NET and Ruby. One call uploads, converts and waits; errors carry a code that never changes, and a retry never starts a second conversion.
SDK guidesimport { openAsBlob } from 'node:fs';import { IntoSQL, spec } from '@intosql/sdk'; const intosql = new IntoSQL({ apiKey: process.env.INTOSQL_API_KEY!,});const file = await openAsBlob('ventas.xlsx');const conversion = await intosql.convert(file, { name: 'ventas.xlsx', spec: spec({ dialect: 'postgresql' }),});Command line
Convert and load files in a script or a CI job. Exit codes and a JSON report let a build fail on a bad file. Converting and loading SQLite are free.
Command line guide$ brew install alfonsobries/intosql/intosql$ intosql convert ventas.xlsx --to postgresql --output ventas.sqlventas 18,204 rows 6 fixes 0 rejected$ intosql load ventas.csv --into postgres://localhost/tiendaMCP server
Ask Claude, ChatGPT or Cursor to convert a file. The hosted server takes files at public URLs; intosql mcp converts files on your computer.
MCP guideyouLoad https://example.com/ventas.csv into a MySQL script⏺ convert_file https://example.com/ventas.csv mysqlventas 18,204 rows 6 fixes 0 rejectedFor scripts, CI and agents
- OpenAPI 3.1
- Every endpoint, field and error in one document, for API clients and code generators.
- Signed webhooks
- A signed call when a conversion is done or failed, retried for about nine hours if your server is down.
- Safe retries
- The same Idempotency-Key gets the first answer back instead of a second conversion.
- Docs for agents
- Every documentation page as Markdown, and llms.txt, so an agent can read them directly.