csvsql
CSV to SQL Converter
Convert CSV to SQL instantly. Runs locally — your data is never uploaded.
To convert CSV to SQL, paste your CSV into the editor above and the SQL output appears immediately. Parsing and serialisation happen in your browser, so API payloads, secrets and config files never leave your device.
Runs in your browserAbout converting CSV to SQL
CSV is flat and tabular. Nested objects are flattened into dotted column names when converting from a hierarchical format. SQL format outputs INSERT INTO statements for database import.
Share this converter
Related tools
Mock Data GeneratorGenerate realistic fake test data in 14 formats from 100+ field types, with reproducible seeds.INI & Config File ParserParse INI, .conf, .cfg and .properties files into structured JSON, YAML or TOML.CSV Column ExtractorPull selected columns out of a CSV by name or position, and reorder them.CSV Viewer & Table ConverterView CSV data as a sortable table and export it as JSON or a Markdown table..env to JSON ConverterConvert .env files to JSON and back — for config migrations and CI variables.JSON FlattenerFlatten deeply nested JSON into dot-notation keys, or expand flat keys back into nested objects.