ToolPal

JSON zu SQL

JSON-Daten sofort in SQL-INSERT-Anweisungen umwandeln. Unterstützt MySQL, PostgreSQL, SQLite und SQL Server mit optionaler CREATE-TABLE-Generierung.

Anleitung

JSON-Daten sofort in SQL-INSERT-Anweisungen umwandeln. Unterstützt MySQL, PostgreSQL, SQLite und SQL Server mit optionaler CREATE-TABLE-Generierung.

  1. 1Paste your JSON data into the input field. The tool accepts a JSON array of objects or a single JSON object.
  2. 2Enter a table name and choose your SQL dialect (MySQL, PostgreSQL, SQLite, or SQL Server).
  3. 3Optionally check 'Include CREATE TABLE' to auto-generate a table schema with inferred column types.
  4. 4Adjust the batch size to control how many rows appear per INSERT statement (useful for large datasets).
  5. 5Click 'Convert to SQL', then copy the output or paste it directly into your database client.

Funktionen

  • Supports MySQL, PostgreSQL, SQLite, and SQL Server with correct identifier quoting for each dialect
  • Automatic type inference — maps JSON value types to appropriate SQL column types
  • Optional CREATE TABLE generation to scaffold a complete schema in one click
  • Configurable batch size (1 to 1000 rows per INSERT) for performance tuning
  • 100% client-side — no data leaves your browser; works offline after initial page load

Häufig gestellte Fragen

Mehr erfahren