Excel to Fixed-Width Text Converter
Pick a sheet and get plain text with every column lined up; nothing is uploaded.
Processed on your device. Nothing is uploadedHow to check
Turn an Excel sheet into fixed-width plain text in your browser: each column is padded to its widest cell, columns are separated by a gap of 1 to 4 spaces, and the header is underlined with dashes. Paste it into an email, a code comment, a ticket or a terminal, or download a .txt file.
Why use Excel to fixed width
Lined up
Each column is padded to its widest cell, and wide characters count as two, so columns stay straight.
Private
The workbook is read by your own browser and never sent to a server.
Works offline
After you have used it once, it keeps working without an internet connection.
How it works: convert Excel to fixed-width text
Choose your workbook
Drop an .xlsx, .xls, .xlsm or .ods file on this page, choose it, or try a sample. It is read in your browser and never uploaded.
Pick the sheet
The first sheet becomes aligned text at once; choose another from the sheet list.
Set the gap
Choose 1 to 4 spaces between columns, and the text updates.
Copy or download
Copy the text, or download it as a .txt file.
What the Excel to fixed-width converter handles
- Files: .xlsx, .xls (Excel 97–2003), .xlsm and .ods workbooks, one sheet at a time.
- Layout: every column padded to its widest cell, with a gap of 1 to 4 spaces; empty rows are skipped.
- Header: the first row, underlined with a line of dashes.
- Wide characters: Chinese, Japanese and Korean characters count as two columns, as a monospaced font draws them.
- Values: each cell as its number format shows it, so formulas give their result and dates and prices keep their format; numbers in the General format are written in full, so 123456789012 stays 123456789012.
Excel to fixed width: what it can't do
- Columns line up only in a monospaced font, such as a terminal, code editor or plain-text email.
- One very long cell makes its whole column that wide, and password-protected workbooks cannot be opened.
Excel to fixed-width text: questions and answers
- Is my file uploaded?
- No. Your browser reads the workbook and writes the text on your device. Nothing is sent to a server, saved on the site or kept in a history.
- Why do the columns not line up where I pasted them?
- Fixed-width text needs a monospaced font, where every character has the same width. In a proportional font, such as most email defaults, the columns drift.
- How wide is each column?
- As wide as its widest cell, header included, plus the gap you choose between columns: 1 to 4 spaces.
- Do Chinese or Japanese characters break the alignment?
- No. Wide characters are counted as two columns, as monospaced fonts draw them, so the next column still starts in the right place.
- Can I turn it back into a spreadsheet?
- Excel can split fixed-width text with Data > Text to Columns and the Fixed width option, using the gaps between columns.
- Is a long sheet converted in full?
- Yes. The preview shows the first 5,000 lines, but Copy and Download take the whole text.
- How do I convert an Excel sheet to fixed-width text?
- Open the workbook, pick the sheet and the gap between columns, then copy the aligned text or download it as a .txt file. OpenAnyDoc pads each column in your browser, so the workbook is never uploaded.
Why it's private: your files never leave your browser
Most online viewers upload your file to a server, so a copy of it leaves your device. OpenAnyDoc works the other way round: your browser reads the file and draws it on your screen. Nothing is uploaded, there is no account, and the file is gone from memory when you close the tab, so there is nothing for us to store, see or lose.
How we tell you about new features
Announcements are based on the release date shown to everyone, and nothing is stored on your device or sent anywhere.