Convert CSV to fixed-width text

Transform a CSV into tabular text with fixed-width columns, aligned with spaces, handy for readable display in a terminal or plain-text file.

Example:

How it works

Need to generate a readable text report in a plain-text email, a log, or a terminal, without the spreadsheet format of a CSV? The conversion calculates the maximum width of each column (including the header), then pads each cell with spaces so all columns align perfectly vertically, separated by two spaces.

What happens if a row has fewer columns than the header?

Missing columns at the end of a row are simply left unfilled; the rest of the text stays correctly aligned for the columns that are present.

Is the result suitable for a non-monospace font?

No, space-based alignment only works visually in a fixed-pitch (monospace) font, like the one used in a terminal, a code editor, or a <pre> tag.

100% local processing: the conversion runs entirely in your browser via WebAssembly — your CSV file never leaves your device.