Ragged rows padded
Input
a,b,c
1,2,3
4,5Output
a,b,c
1,2,3
4,5,The short row gains an empty third field so every row has three.
Detected automatically unless you pick one.
Real CSV files are frequently untidy: rows with differing field counts, inconsistent quoting, mixed line endings from files edited on different platforms. This rewrites the file so every row has the same number of fields and quoting follows RFC 4180 consistently.
That normalisation is often what makes a file loadable. A strict parser rejects a row whose field count differs from the header, so padding short rows turns an unusable export into one that imports cleanly.
Each example below is executed against this tool by the test suite, so what you see is what the tool actually produces.
Input
a,b,c
1,2,3
4,5Output
a,b,c
1,2,3
4,5,The short row gains an empty third field so every row has three.
The details that decide whether a conversion is correct, and where information can be lost without any error being raised.