Office for Mac Issues

Import ASCII Files with Nonstandard Extensions in Excel for Mac

Ayan MasoodAyan Masood Nov 13, 2026 869 views

Question details

Import plain-text ASCII files with nonstandard extensions into Excel for Mac as delimited or fixed-width data.

Import ASCII Files with Nonstandard Extensions in Excel for Mac
Product
Microsoft Excel for Mac
Device & OS
macOS
Scenario
A user needs to open scientific text files with extensions such as .pdb, .seq, .aln, .rsa, or .ddG in a spreadsheet.
Observed behavior
Excel's Open or Import dialog may not allow the files to be selected as text because of their extensions.
Before you start

Confirm that the file contains plain text and identify whether its columns are separated by characters such as tabs or commas, or arranged at fixed positions. The correct import settings depend on that layout.

Solution 1Recommended

Import a copy with a .txt or .csv extension

Use a renamed copy when Excel's file picker does not accept the original extension.

1
Duplicate the file

In Finder, select the original file and choose File > Duplicate. Keep the original with its existing extension.

2
Rename the copy

Select the copy in Finder, press Return, and change its extension to .txt. If the data is comma-separated, you can use .csv instead. Confirm the extension change if macOS asks.

3
Open the copy in Excel

In Excel, choose File > Open and select the renamed copy. If a text import wizard appears, choose delimited or fixed-width based on the file layout.

4
Check the imported columns

Review the worksheet for correctly separated columns and values. If Excel interpreted identifiers or leading zeros incorrectly, use the text import options, where available, to set those columns to Text and import again.

Import a copy with a .txt or .csv extension
Keep the original extension: Renaming a duplicate avoids having to rename the original file back. Changing the extension does not change the file's contents.
Free Microsoft Office alternative

Work with spreadsheets in WPS Office for Mac

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and Microsoft Office format compatibility, making it easier to move existing workbooks. It does not change Excel's file-picker behavior.

Review and organize imported data in WPS SpreadsheetsOpen and save Microsoft Excel formats such as .xlsxUse a familiar interface for everyday spreadsheet tasksMove existing Office documents into a lightweight suite
microsoft office alternative - wps office

Frequently Asked Questions

Will changing the extension to .txt alter my scientific data?

Changing a filename extension does not change the file contents. In Finder, use File > Duplicate first, then rename the copy so the original retains its extension.

Should I choose delimited or fixed-width when importing?

Choose delimited if characters such as tabs or commas separate the fields. Choose fixed-width if fields occupy consistent character positions. Select the matching option in Excel's text import wizard when it is available.

Why did Excel remove leading zeros from an imported column?

Excel may have interpreted the values as numbers. Import the file again and, where the text import options allow it, set that column's format to Text before completing the import.

Can I import the original file without renaming it?

A VBA macro can use Workbooks.OpenText to import an accessible file as delimited or fixed-width text. Open Tools > Macro > Visual Basic Editor to create the macro and set the arguments to match the file.