← All tools

Fixed-Width ⇄ CSV Converter

Convert between fixed-width (positional) text and CSV. Parse fixed-width files by specifying column widths or by detecting field boundaries from a header line — or convert CSV to fixed-width by padding each field to the column width. Pairs with the CSV Viewer, CSV to TSV, and CSV to SQL converters. Everything runs locally in your browser.

"Auto-detect" finds column boundaries from the first line by treating 2+ consecutive spaces as a field separator. For manual mode, specify widths like "10,5,15" — each field is that many characters wide. CSV→fixed-width pads each field with spaces to the longest value in its column. Pairs with CSV Viewer, CSV to TSV, and CSV to SQL. Runs locally.