CSV to Parquet
A CSV has no types: every value is text until something guesses. Parquet stores one type per column, so the guess has to be made once, and made right, before the file is written. Paste or drop a CSV and this tool proposes a type for every column, shows you the first value and any value that does not fit, and lets you change the type before a byte is written. The file is built in your browser; nothing is uploaded.
How to convert CSV to Parquet
- Paste the CSV or drop a
.csvfile. The delimiter is detected, and a file saved in Windows-1252 instead of UTF-8 is recognised and decoded correctly. - Read the table that appears: one row per column, with the type the tool inferred, the number of empty cells, and the first value.
- Change any type you disagree with. The Check column says
ok, or names the first row whose value does not fit the type you picked. - Pick a compression codec and click Download .parquet. The schema of the file you got is printed underneath, one line per column with its physical and logical type.
How the types are chosen
Every non-empty value in a column is tested, not a sample of the first rows, so one odd value at row 90,000 still decides the type.
- integer — whole numbers that fit in 64 bits, written as
INT64. A value with a leading zero, such as007or the ZIP code02134, makes the column a string: as a number it would lose its zero for good. - float — any column of plain decimals, written as
DOUBLE. - boolean — only
trueandfalse, in any case.yes/noand1/0are accepted when you choose boolean yourself. - date —
YYYY-MM-DD, written as the ParquetDATEtype: the number of days since 1 January 1970. Other date formats stay text; normalise them first with Date formats. - timestamp — ISO 8601 date-times such as
2026-03-03T09:15:00Z, to the microsecond (nanosecond if a value has more digits). Values withZor an offset like+02:00are converted to UTC and markedisAdjustedToUTC=true; values without one are kept as wall-clock times and markedfalse. Those are the two timestamp meanings the Parquet format defines, and mixing them in one column makes it a string unless you choose otherwise. - decimal — never inferred, always available. Every value is stored exactly as an integer plus a scale: the scale is the most digits any value has after the point, and the precision is 18 (stored as
INT64) or 38 (a 16-byte fixed-length field) when 18 is not enough. Use it for money, where0.1 + 0.2must not become0.30000000000000004. - string — everything else, as UTF-8 text.
Values that do not fit are not dropped
If you set a column to integer and row 4 says n/a, the tool refuses to write the file and tells you which row and which value, rather than quietly storing a null. Either pick a looser type, fix the value, or tick NULL, NA, \N → null if those markers really mean "no value" — \N is how MySQL's SELECT … INTO OUTFILE writes NULL with its default settings.
Compression
- Snappy is the default, and also the default of pandas'
to_parquet. Fast to read and write, moderate size. - gzip gives smaller files and costs more CPU on both ends.
- none writes the pages uncompressed.
Rows are written in row groups of 1,000 for the first group and 100,000 after that, with min/max statistics for every column, which is the default of the hyparquet-writer library that builds the file.
FAQ
Is my CSV uploaded?
No. The CSV is parsed and the Parquet file is built inside your browser tab. The only network request is the one-time download of the writer library from jsDelivr when you first click the button.
Will pandas, DuckDB or Spark read the file?
It is a standard Parquet file with standard logical types. While building this tool we read its output back with DuckDB and PyArrow and compared every value and every column type with the CSV that went in.
Why is my ID or postcode column a string?
Because at least one value starts with a zero, or one value is not a number at all. Choose integer in the table if you really want a number; leading zeros will be lost.
How big a CSV can it convert?
The whole file is held in memory while the Parquet file is built, so tens of megabytes are comfortable on a laptop. For very large files, split the CSV first and convert the parts.
Can I get nested columns (lists, structs)?
No — a CSV cell is flat, so every column is written as a flat, nullable column. If your data is nested, start from JSON Lines instead.
Going the other way? Parquet to CSV opens a .parquet file and shows its schema. To inspect the CSV before converting, Data profile reports types, fill rates and suspicious values per column.
Privacy
100% client-side. No upload. See the privacy policy.