Data Type Detector
Profile each column of a spreadsheet or CSV: detect integers, decimals, dates, booleans, emails, URLs and more.
About Data Type Detector
The Data Type Detector reads a spreadsheet or CSV and tells you what each column really holds: whole numbers, decimals, currency, percentages, dates, true/false, emails, URLs or text. Great before a database import.
How it decides
Every non-empty cell is checked. A column gets a type only when at least 95% of its cells match, otherwise it is marked mixed with the percentages, so you can spot bad rows.
Suggested database types
Each column gets a suggested SQL type, such as DECIMAL(18,2) for prices.
Dates
Day-month and month-day orders are told apart where possible. When no day is above 12, the order is ambiguous, so check it.
Downloads
Save the report as CSV, or a schema as JSON.
Headers
Keep 'First row is a header' on, or the header text is counted as data.
Private
Your data is processed in your browser. Nothing is uploaded.
Leading zeros
Phone numbers, postcodes and IDs like 00123 look like numbers but should be stored as text, or the leading zeros are lost.
How to use Data Type Detector
- Choose your file, or drop it on the box.
- Pick the sheet, and the delimiter or encoding for text files, if needed.
- Say whether the first row is a header and set Rows to analyse.
- Press Detect types and read the table.
- Download the report or the schema if you need it.
Help & FAQ
What does the Data Type Detector do?
It reads a spreadsheet or CSV file and reports, for each column, the detected data type, a confidence percentage, the number of filled, empty and unique cells, the minimum and maximum, a suggested SQL type and a note. You use it to check a file before importing it.
Is our file uploaded to a server?
It does not appear to be. While we tested it, no POST or other write request left the page, so the file seems to be read on your device. We cannot see inside the page, so keep truly secret data out of any online tool.
Which file types and sizes can we use?
XLSX, XLS, ODS, CSV and TSV files. For CSV and TSV you can pick the delimiter and the text encoding, or leave both on auto-detect.
How is the type of a column decided?
Every non-empty cell is classified by its pattern. The column gets the most common class when that class covers at least 95% of the filled cells. Below that the column is reported as mixed and the note lists each class with its percentage.
Why does our column say mixed?
Because less than 95% of its filled cells share one class. Typical causes are a stray word in a number column, numbers written with and without thousands separators, or identifiers where some have leading zeros. The note beside the column tells you the exact split.
How does it treat dates like 03/04/2026?
It does not guess. If no value in the column has a day above 12, the note says the day and month order is ambiguous. If a value such as 13/04/2026 proves the order, the column is still reported as date and the note lists the formats found.
What happens to IDs with leading zeros such as 00123?
They are reported as a code, not as an integer, with a note on how many values have leading zeros. Keep such columns as text, because converting them to numbers would drop the zeros.
What does Rows to analyse mean?
It is the maximum number of data rows the tool reads. The default is 200,000. The smallest value it uses is 10: when we typed 5 it still analysed 10 rows. Rows after the limit are not checked.
What if our file has no header row?
Untick First row is a header. The tool then names the columns Column A, Column B and so on and counts the first line as data, so a text header can lower the confidence of a number column.
Are N/A and null counted as empty?
No. Only blank cells are counted as empty. Words such as N/A, null and x are read as text, so clean them first if you want them treated as missing values.
Can we save the result?
Yes. Download report .csv gives column-types.csv and Download schema .json gives column-types.json, with the type, confidence, counts, minimum, maximum, a suggested SQL type and a JSON type for each column.
How reliable are the suggested SQL types?
They are a sensible first guess from the values found, such as INTEGER / BIGINT, DECIMAL(18,2) for currency, DATE and BOOLEAN. Check text lengths, decimal precision and your database's own rules before you create a table.