CSV a SQL
Convierta CSV a SQL de SQLite conservando los datos de texto.
- Prepara la entrada
Elige las opciones adecuadas con los controles de abajo.
- Ejecuta la tarea
Ajusta los controles de abajo y revisa la vista previa.
- Usa el resultado
Comprueba el resultado y usa las opciones disponibles para copiar o descargar.
Alcance y límites
Genera CREATE TABLE e INSERT de SQLite en una transacción. Todas las columnas son TEXT para conservar ceros iniciales y números grandes. Los vacíos siguen siendo cadenas salvo que seleccione NULL. Máximo 10.000 filas y 200 columnas. Genera SQL localmente sin ejecutarlo.
Resultado
Completa los campos y ejecuta la operación para ver el resultado.
CSV a SQL
Convert CSV rows into a SQLite INSERT script in the browser. Set the table name, choose comma, semicolon, tab or pipe delimiters, decide whether the first row is a header, and map empty cells to NULL when needed. Quoted text is escaped for the generated statements; review the table identifier, column types and constraints before executing the script.
Características
- Parse comma, semicolon, tab or pipe-delimited CSV text.
- Choose the table name and whether the first row contains column names.
- Map empty cells to NULL or keep them as empty text values.
- Copy or download the generated SQLite INSERT script.
Cómo usar
- Paste CSV and choose the delimiter and header option.
- Enter the destination table name and empty-cell behavior.
- Generate the SQL and review identifiers, values and escaping.
- Copy or download the script, then run it only after checking your schema.