Support

Fixed-width text

Runs in your browser· your file is converted in this tab and never uploaded

Columns

Convert fixed-width files to CSV in your browser

Bank, payroll and mainframe exports often come as fixed-width text, where each column sits at a set position. Paste or open the file, let the page guess the columns from the alignment or type the widths yourself, check the cut on the ruler and the preview, and download a CSV. Positions are counted in characters, and nothing is uploaded.

Frequently Asked Questions

How do I convert a fixed-width file to CSV?
Open the file or paste its text. The page looks for the positions where every line has a space and guesses the column starts, shows them on a ruler above the first line, and previews the CSV. If a guess is wrong, choose "Widths I type" (for example 5, 13, 8) or "Start positions I type", then download the CSV.
What are widths and start positions?
A width is how many characters a column takes, so widths 5, 13, 8 mean characters 1 to 5, 6 to 18 and 19 to 26. A start position is where a column begins, counted from 0, so the same layout is 0, 5, 18. The last column runs to the end of the line.
Does it handle accents, CJK and emoji?
Positions are counted in characters, not bytes, so "é", "日本語" and emoji each take one position. A file written with byte-based widths (some mainframe exports) can have different column positions: check the ruler against your layout. Tab characters count as one character each, and the page warns when it finds them.
Is my file uploaded anywhere?
No. The file is read and converted in your browser tab and nothing is sent to a server. Files up to 30 MB and 500,000 lines are accepted.

Found this useful? Hexabench is free and ad-free. If it saved you time, you can support it.

Buy me a coffee →