100% client-side · nothing leaves your browser

Turn a CSV file
into typed code

Paste CSV data. Get back typed classes, real parsing code using each language's actual CSV library, or the rows baked in as literals.

interfaces, structs, and classes generated from your CSV's columns
input.csv
output.ts

    
11 type targets

How columns become types

Every CSV cell is text, so on its own a CSV file can't tell you whether a column is really a number, a boolean, or a date. This tool doesn't guess — Type declarations mode treats every column as a string, which is what a CSV genuinely gives you before you parse it further. If you know a column should be numeric, that's a cast you add after parsing.

Real libraries, not string-splitting

Parsing Code mode uses each language's actual CSV handling — csv.DictReader in Python, encoding/csv in Go, Apache Commons CSV in Java, CsvHelper in C#, the built-in CSV class in Ruby — because hand-rolled comma-splitting breaks the moment a field contains a quoted comma or an embedded newline, which real-world CSVs do constantly.