How it works

This page does two things:

Everything happens in your browser. Your file isn't uploaded anywhere, and you don't need to install anything or make an account.

Turn a CSV file into a database

  1. Choose your CSV file.
  2. Check the table name and the number of rows to keep.
  3. Select Convert, check the summary, then download your database.

Filled in from your file name. Letters, numbers, and underscores only.

rows

For the labs, use 100 to 1,000 rows. Browser tools like SandboxSQL can slow down or error with more.

Loading the converter...

Turn query results into a CSV file

  1. Choose your database file, such as the .sqlite file you exported from SandboxSQL.
  2. Write a query. The tables and columns in your database are listed to help you.
  3. Select Run query, check the results, then download them as a CSV file.

Run one SELECT query. Your database file isn't changed.

Loading...

How data types are chosen

Empty values become NULL, which means unknown. Column headings are changed to names that work in SQL: spaces and symbols become underscores, and a heading that starts with a number gets col_ in front. A table name that starts with a number gets data_ in front.