Skip to content
TabKiwiTabKiwi

CSV Formatter

Tidy a CSV file: consistent quoting, trimmed cells, padded rows and the line endings you choose.

DataRuns in your browser. Your files never leave this device.
Loading tool…

About this tool

CSV files from different tools disagree on quoting, whitespace and line endings, which trips up imports. The formatter re-writes your file in one consistent style: values trimmed, empty rows removed, every row padded to the header width, and quotes used either only where needed or on every field. Choose LF or CRLF line endings and an optional UTF-8 byte order mark. All processing happens on your device.

How to use CSV Formatter

  1. Paste CSV or open a file.
  2. Pick the delimiter, quoting style and line endings for the output.
  3. Toggle trimming and empty-row removal.
  4. Preview the table, then download the formatted file.

Frequently asked questions

What happens to rows with too few or too many fields?

Short rows are padded with empty cells so every row matches the header. Cells beyond the header width are dropped, and a warning tells you this happened. Use the CSV Validator first if you need to find those rows.

Should I add a BOM?

Only if the file will be opened in Excel and contains non-English characters. Most other tools prefer files without one.

More Data tools

View all 25 →