Summary
Add a CSV ↔ JSON ↔ SQL INSERT Converter tool. Developers constantly receive data exports in CSV from clients, spreadsheets, or databases and need to convert them for seeding databases, generating mock API responses, or injecting data into test suites.
🔴 Privacy Critical
Developers paste lists of real user IDs, email addresses, order IDs, and internal data from production exports into public online converters. Toolglass keeps everything client-side.
Proposed Implementation
- Location:
src/tools/csv-converter/CsvConverterTool.tsx
- Dependency:
papaparse (~8KB, 100% client-side CSV parser)
- Features:
- CSV → JSON: Parse CSV/TSV into JSON array of objects, with auto-detected headers
- JSON → CSV: Convert JSON array of objects into CSV with configurable delimiter
- CSV → SQL INSERT: Generate batch
INSERT INTO table_name (cols) VALUES (...) statements
- Auto-detect numeric/boolean/null types
- Proper string quoting and escaping
- Configurable table name
- Dialect: PostgreSQL, MySQL, SQLite
- JSON → SQL INSERT: Same as above from JSON input
- File upload (drag & drop) or paste
- Column preview table
- Row count, column count display
- Download converted output as file
- Copy to clipboard
Acceptance Criteria
Summary
Add a CSV ↔ JSON ↔ SQL INSERT Converter tool. Developers constantly receive data exports in CSV from clients, spreadsheets, or databases and need to convert them for seeding databases, generating mock API responses, or injecting data into test suites.
🔴 Privacy Critical
Proposed Implementation
src/tools/csv-converter/CsvConverterTool.tsxpapaparse(~8KB, 100% client-side CSV parser)INSERT INTO table_name (cols) VALUES (...)statementsAcceptance Criteria