Saltar al contenido principal
Z

What is CSV?

CSV (Comma-Separated Values) is a plain-text format for tabular data, where each line is a row and fields are separated by commas. It is simple, compact and supported by every spreadsheet and data tool, but has no types, no nesting and no formal standard for quoting.

Each CSV line is a record; the first line is usually a header naming the columns. Fields containing commas, quotes or newlines are wrapped in double quotes. Everything is text — there are no numbers, booleans or nested structures.

CSV is ideal for exporting and importing flat, tabular data between spreadsheets, databases and analysis tools. For nested or typed data, JSON is a better fit.

CSV tools

Preguntas frecuentes

¿Cómo se detectan los valores NULL?

Cualquier celda vacía se convierte en NULL (sin comillas). Si prefieres insertar una cadena vacía en lugar de NULL, escribe un espacio en blanco en esa celda o edita directamente el resultado SQL.

¿La herramienta admite tipos de datos propios de Postgres como JSONB?

No — la detección de tipos de columna se limita a INT, DECIMAL y TEXT. Edita manualmente el CREATE TABLE si necesitas JSONB, ARRAY u otros tipos avanzados.

¿El SQL resultante sale formateado?

Cada fila es una sentencia. Para un formato más elaborado, pasa el resultado por <a class="text-brand-600 hover:underline" href="/sql-formatter">SQL Formatter</a>.

¿Herramientas relacionadas?

Consulta <a class="text-brand-600 hover:underline" href="/csv-to-json">CSV to JSON</a> para convertir a JSON genérico, o <a class="text-brand-600 hover:underline" href="/csv-to-xml">CSV to XML</a> para exportar a XML.