Fixed-Width to CSV
Convert fixed-width text into CSV.
Legacy fixed-width to CSV
Old systems export columns by character position, not delimiters. Define the column widths and this slices each line into fields and emits proper CSV, ready for a modern spreadsheet.
It rescues data from mainframe and banking exports that predate delimited formats, turning rigid column positions into a CSV any modern tool can read.
Get the widths right
Columns are split by the positions you set, so double-check alignment on a sample row. The conversion happens in your browser, so nothing leaves your device.
Frequently asked questions
What does this fixed-width to csv do?
Parse fixed-width text into CSV using widths or start-end ranges.
How do I describe the columns?
Either as widths in characters, such as "9,10,8", read left to right, or as 1-based ranges like "1-9,10-19,20-27". Ranges can be mixed with widths.
Is whitespace trimmed from each field?
Yes. Leading and trailing spaces in each slice are removed, which strips the padding fixed-width files use to fill columns.
How do I find the column widths?
Check the file's record layout if you have it. Otherwise open it in a monospaced editor and count characters to where each column starts; the cursor column number helps.
Related tools
More free browser utilities for data cleanup, formatting, and developer workflows.