Blog
Image Tools
Crop Image
Resize Image
Rotate & Flip
Compress Image
Photo Filters
Meme Generator
GIF Maker
Collage Maker
Watermark Image
Blur Image
Convert
JPG to PNG
PNG to JPG
HEIC to JPG
DNG to JPG
Image Converter
PDF to JPG
JPG to PDF
Merge PDF
Compress PDF
MP4 to MP3
Video to GIF
MOV to MP4
MP3 Converter
Video & Audio
Trim Video
Crop Video
Remove Audio
Text to Speech
Audio Cutter
MP3 Compressor
Design & Editor
Resume Builder
Design Editor
Add Text to Photo
Social Media Resizer
QR Code Generator
Signature Generator
More Tools
Word Counter
Password Generator
Random Picker
Dice Roller
Spinner Wheel
Favicon Generator
Barcode Generator
Browse All Tools

Fixed-Width Text to CSV Converter

Turn fixed-width text, such as old exports, reports and printouts, into CSV. Columns are detected automatically from the gaps between them, or you can type the exact width of each column.

100% Free
No Sign-up
Fixed-Width Text → CSV
Instant
Private · Nothing Saved Online
Fixed-Width Text to CSV
Your Text
Input Characters—
Output Characters—
Lines In → Out—
Input Words—
Type or paste in the input box, or open a file. The result updates as you type.
CSV to Fixed-Width Text
Fixed-Width TextType, paste or drop a file
CSV
Input—
Result—
Status—
Settings forYour data
Columns
Leave empty to find the columns automatically from the gaps of spaces. Or type the width of each column in characters.
File Name

How to Convert Fixed-Width Text to CSV

Quick answer: paste your Fixed-Width Text or open the file; the CSV appears below. Copy it or download the .csv file.

  1. 1

    Add your Fixed-Width Text

    Paste it or open a file.

  2. 2

    Choose options

    Adjust the output on the right.

  3. 3

    Check the CSV

    Errors are explained clearly.

  4. 4

    Copy or download

    Save it as .csv.

What You Get

Instant
As you paste
Valid Output
Correct CSV
Options
Format it your way
Clear Errors
Line numbers shown
100% Private
Nothing is uploaded
Any Device
Phone or computer

What Is Fixed-Width Text?

Fixed-width text lines up data in columns by padding each value with spaces, so every column starts at the same position on every line. Old mainframe exports, bank statements, government data files and reports printed for monospaced fonts use this layout.

What Is CSV?

CSV (comma-separated values) is the universal spreadsheet exchange format: one row per line and a comma between values, with quotes around values that contain commas, quotes or line breaks. Every spreadsheet, database and data tool can read and write CSV.

Why Convert Fixed-Width Text to CSV?

Fixed-width files from mainframes, banks, government data portals and older programs are hard to use in spreadsheets. Converting them to CSV puts every value in its own cell, ready to sort, filter and analyse.

How the Conversion Works

Automatic detection finds character positions that are blank on every line and splits the columns there. Lines made only of dashes or equals signs are skipped, values are trimmed, and you can override detection by typing widths such as 4,15,9,7,6.

Example

The sample report with a dashed rule becomes a CSV with the header ID,NAME,CITY,SCORE,PASSED and three rows, with "Chen Wei, Jr." quoted.

Who Uses It?

Analysts working with legacy exports, accountants handling bank files and researchers using government data files. Because everything happens in the browser, it is also safe for internal and confidential files.

Using Your CSV File

Open the CSV in any spreadsheet program, or import it into a database or data tool. Choose a semicolon separator if your spreadsheet expects it, and check the first rows to make sure every value landed in the right column.

Common Problems in Fixed-Width Text Input

Automatic detection looks for columns of spaces that run through every line, so it works best when values never touch the next column. If a long value fills its column completely, two columns may merge, or a value containing a space may split. In that case type the width of each column, such as 6,20,10, and the text is cut at exactly those positions. Rows of dashes are ignored.

Checking Your CSV Output

Check the header row first: it lists every column found, in order. Rows missing a value get an empty cell, and values with commas, quotes or line breaks are quoted correctly. Choose a semicolon separator if your spreadsheet uses a comma for decimal numbers, which is common in many European settings, so columns split correctly when the file opens.

Step by Step

Start by pasting your Fixed-Width Text into the input box, or press Open File to load it from your device. The converter reads it straight away and shows the CSV in the output box. If the input has a problem, a short message explains what is wrong and where, so you can fix it in place. Next, adjust the options on the right; the output refreshes immediately so you can compare. When you are happy, press Copy to put the result on your clipboard, or Download to save it as a .csv file ready to use.

Private, Free and Instant

The converter is free, with no sign-up, no limit beyond the 5 MB file size and no watermark. It runs in your browser, so settings files with passwords, server addresses or customer data are never uploaded or stored. Paste the content, drop a file on the input box or press Open File, then copy the result or download it with the right file extension. It works on Windows, Mac, Linux, Chromebooks, iPhone and Android.

Fixed-Width Text to CSV: Splitting Columns by Position

Older systems and government files often use fixed-width records, where each field has a set number of characters. There are no separators; the position defines the column.

How to convert

Provide the column widths or break positions, and the converter slices each line and trims padding. Check that the lines are the same length and that the widths match the file's specification.

For the reverse, see CSV to fixed-width text.

Frequently Asked Questions

Questions about Fixed-Width Text to CSV

How do I convert Fixed-Width Text to CSV?

Paste your Fixed-Width Text or open the file. The CSV appears straight away; copy it or download it.

What if columns are detected wrongly?

Type the width of each column in characters, such as 4,15,9.

What if my input has a mistake?

A message explains the problem, usually with the line number, so you can fix it.

Is there a size limit?

Files up to 5 MB.

Does it work on my phone?

Yes. It works in any modern browser on phones, tablets and computers.

Is my data uploaded?

No. The conversion runs in your browser on your own device. Nothing is sent or stored.