The fastest way to convert a text file to Excel

Open your text file in Excel directly, and Excel will walk you through converting it. Launch Excel, go to File > Open, find your .txt file, and select it. Excel opens a dialog called the Text Import Wizard that lets you choose how to split your data into columns — by commas, tabs, spaces, or another character. Once you finish the wizard, save the file as .xlsx (Excel format) and you're done.

This method works best when your text file has data separated by a consistent character like commas or tabs. If your text is just plain paragraphs with no separators, Excel will put everything in a single column, and you'll need to split it manually afterward — which is why the other two methods below exist.

Key Takeaways

  • Opening a .txt file directly in Excel triggers the Text Import Wizard, which automatically detects how your data is separated and splits it into columns.
  • If your text uses commas, tabs, or another consistent separator, the wizard handles the conversion in one step.
  • You can also copy and paste text into Excel, then use the Text to Columns feature to split data that isn't already separated.
  • Saving the file as .xlsx preserves your work in Excel format so you can edit and format it later.

Using the Text Import Wizard step by step

When you open a .txt file in Excel, the Text Import Wizard appears automatically. On the first screen, you'll see a preview of your data and three options: Delimited, Fixed Width, or Do not import. Choose Delimited if your data is separated by commas, tabs, semicolons, or spaces. Choose Fixed Width if your columns line up at specific character positions (common in older data exports). Click Next.

On the second screen, check the box next to the character that separates your columns. If your file uses commas, check Comma. If it uses tabs, check Tab. You'll see a preview at the bottom showing how Excel will split your data. If the preview looks right, click Next again. On the final screen, you can set the data type for each column (text, number, date, or skip), but the default usually works fine. Click Finish.

Excel now displays your data in columns. Go to File > Save As, choose Excel Workbook (.xlsx) from the file type dropdown, give it a name, and click Save. Your text file is now an Excel file.

Converting text with copy and paste plus Text to Columns

If you want to work with your text file in a different way, you can open it in Notepad or any text editor, copy all the text, and paste it into an Excel cell. Then use Excel's Text to Columns feature to split it. Open your text file in Notepad, press Ctrl+A to select all, then Ctrl+C to copy. Switch to Excel, click on cell A1, and press Ctrl+V to paste.

Now your text is in Excel, but it's all in column A. To split it, select the entire column A by clicking the column header. Go to the Data menu and click Text to Columns. The same wizard appears — choose your delimiter, preview the split, and finish. Excel spreads your data across columns, and you can save as .xlsx.

This method takes one extra step but gives you more control. You can see your text in Excel before committing to the conversion, and you can edit it before splitting if needed.

Handling text files with no separators

If your .txt file contains plain text with no commas, tabs, or other separators, the Text Import Wizard won't split it into columns — everything stays in column A. This is correct behavior; Excel can't guess where one column should end and another begin. You have two choices: go back and edit the original text file to add separators, or manually split the data in Excel after conversion.

To manually split data in Excel, select column A, go to Data > Text to Columns, and choose Fixed Width. Click in the preview area to place dividers between the sections you want in separate columns. This works for data that lines up visually but has no character separator. Once you've placed your dividers, click Finish and Excel splits the columns where you marked them.

Common mistakes to avoid

The most common mistake is not checking the preview in the Text Import Wizard. Many people click through without looking at the bottom preview pane, then wonder why their data didn't split correctly. Always look at the preview before clicking Finish. If it looks wrong, go back and choose a different delimiter.

Another mistake is forgetting to save the file as .xlsx after conversion. If you open a .txt file, convert it, and then save it without changing the file type, Excel saves it back as a .txt file and you lose the column structure. Always use Save As and explicitly choose Excel Workbook (.xlsx) from the dropdown.

A third mistake is assuming the Text Import Wizard will detect the right delimiter automatically. It usually does, but not always — especially with unusual separators like pipes (|) or colons (:). If the preview shows your data in the wrong columns, try a different delimiter option.

When to use each method

Use the direct open method (File > Open) when you have a .txt file with clear separators and you want the fastest conversion. This is the standard path and requires the fewest clicks. Use the copy-and-paste method when you want to see your text in Excel first, or when you're working with text from multiple sources and want to combine them before splitting. Use the fixed-width method when your data lines up in columns but has no separator character — common in reports exported from older systems.

If you're converting many files at once, the direct open method is fastest. If you're converting one file and want to check it carefully before saving, copy and paste gives you that checkpoint.

Frequently Asked Questions

What if my text file uses a separator Excel doesn't recognize?

The Text Import Wizard offers Delimited, Fixed Width, Tab, Semicolon, Comma, and Space. If your file uses a different character like a pipe (|) or colon (:), choose Delimited and look for an Other checkbox where you can type your separator character. Type the character and check the preview to confirm it splits correctly.

Can I convert multiple text files to Excel at once?

Not automatically. You must open and convert each .txt file individually. However, if all your files use the same format and separator, you can speed up the process by opening the first file, completing the wizard, saving it, then repeating the steps for the next file — the wizard will remember your previous choices.

Will my formatting from the text file carry over to Excel?

No. Text files contain only plain text with no formatting. When you convert to Excel, you get the text in cells with no colors, fonts, bold, or other formatting. You can add formatting in Excel after conversion if you need it.

What happens if I open a very large text file in Excel?

Excel has a row limit of about 1 million rows. If your text file is larger, Excel will open only the first million rows and warn you that data was cut off. You'll need to split the text file into smaller pieces before converting, or use a different tool designed for large data files.

Do I need special software to convert txt to xls?

No. Excel itself handles the conversion. You don't need any extra programs or online tools. If you don't have Excel, you can use free alternatives like Google Sheets (upload the file and download as .xlsx) or LibreOffice Calc (open the file and save as .xlsx), which work the same way.