
Fixed-width text to CSV
Convert fixed-width text to CSV, either by given column widths in characters or by auto-splitting each line on runs of two or more spaces. Every cell is trimmed of leading and trailing whitespace. Runs entirely on your device.
Fixed-width text to CSV cuts every line into cells one of two ways: at character positions listed in widths, or, with auto on, wherever two or more spaces run together. Each cell gets its whitespace trimmed regardless of mode. Neither widths nor auto given gets the run refused. A short line yields shorter, sometimes empty, trailing cells.
Questions
What are widths and auto for?
widths is a comma-separated list of column widths in characters; auto instead splits each line wherever it finds two or more consecutive spaces.
What if I give neither?
The tool refuses with a message asking for widths or to turn on auto.
Are cells trimmed?
Yes, every cell has its leading and trailing whitespace trimmed regardless of which mode produced it.
What happens on a short line?
The last columns for that line come back shorter or empty rather than the tool refusing.
What if a width is not a positive whole number?
The whole run is refused with a message naming the rule.