CSV Column Type Inferencer
CodeParse CSV or TSV data and infer each column's data type (integer, float, boolean, ISO 8601 date, or string), flagging which columns are nullable and how many empty cells each one has.
Paste CSV or TSV data and see the data type each column actually holds: integer, float, boolean, ISO 8601 date, or string, based on classifying every non-empty value and finding the tightest type that fits them all. A column mixing integers and decimals infers as float, and any value that doesn't fit a narrower type falls the whole column back to string. Empty cells don't change the inferred type but do mark a column nullable, with a count of how many rows are missing that field. This is useful before writing a schema, a database migration, or an import script by hand, since it tells you up front which columns are clean numeric or boolean data and which ones are effectively free text.
How to use CSV Column Type Inferencer
- 1.Paste your CSV or TSV data, or upload a file.
- 2.Adjust the delimiter or toggle whether the first row is a header, if needed.
- 3.Read the inferred type, nullability, and sample values for each column in the results table.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/csv-column-type-inferencer \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"csv":"id,name,price,active\n1,Widget,9.99,true\n2,Gadget,19.5,false","delimiter":","}'Get an API key from your dashboard · Full API docs →