Logo

Schema Detect

Upload a dataset to begin

Supported formats: .csv,.xlsx,.xls,.xlsm,.xlsb,.tsv

Not signed in: Up to 20kB per day, no sign-up needed.
Sign in for free for unlimited files, no payment required.

About Schema Detect

Infer data types and structure for SQL CREATE TABLE.

Schema Detect inspects every column in your CSV, samples the values, and infers the most likely SQL data type — INTEGER, VARCHAR, DATE, BOOLEAN, DECIMAL, and so on — then generates a ready-to-run CREATE TABLE statement. It saves the manual work of eyeballing a spreadsheet and guessing column widths and types before importing into a database.

Particularly useful when handing a CSV export off to a database or data warehouse where the schema needs to be defined up front rather than inferred at import time.

Category: Analysis & Visualization

Common Use Cases

  • Generating a CREATE TABLE statement before loading a CSV into PostgreSQL
  • Documenting column types for a data warehouse onboarding
  • Catching a column that looks numeric but actually contains mixed text

Key Features

  • Per-Column Type Inference
  • SQL CREATE TABLE Generation
  • Editable Output
  • Detects Dates, Booleans, Numerics, Text

Run Schema Detect before importing a CSV into a database, then pass the same file through Column Validator or Data Health to catch values that will violate the inferred schema before you load them.

Frequently Asked Questions

What does it infer?

Data types and overall structure for each column, formatted as a ready-to-use SQL CREATE TABLE statement.

Is the output editable?

Yes, you can review and adjust the inferred schema before using it to set up a database table.

A time-saver for developers and DBAs setting up a new table from a CSV export without manually typing out column definitions.

Read the related guide