Note: The other languages of the website are Google-translated. Back to English
English English

How to export/save each row as text file in Excel?

Normally, we can save a worksheet as separate text file easily, but how to export and save a single row as text files in Excel? And how to export and save each row as individual text file? This article will introduce Kutools for Excel’s utilities to solve them easily.

Export/save one row as text file with Kutools for Excel

Export/save each row as text files with Kutools for Excel

Easily mass save each sheet as a separate PDF/CSV/Text file or workbook in Excel

Normally we can save active worksheet as a separate .pdf file, .txt file, or .csv file with the Save As feature. But Kutools for Excel’s Split Workbook utility can help you easily save each workbook as separate PDF/CSV/Text file or workbook in Excel. Full Feature Free Trial 30-day!

ad split workbook text

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

Kutools for Excel’s Export Range to File utility can save a range as text file, csv file, or html files, etc. Therefore, we can apply this utility to export an entire row as text file in Excel easily.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Free Trial Now!

1. Select the entire row that you will save as text file, and click the Kutools Plus > Import & Export > Export Range to File. See screenshot below:

2. In the opening Export Range to File dialog box, check the Unicode Text option, and then click the Browse button beside the Save directory box.

3. In the popping up Select a directory for exporting file dialog box, select the folder that you will save the text file to, and click the OK button.

4. Click the Ok button when it returns to the Export Range to File dialog box.

Notes:

1. If you would like to open the text file after saving successfully, you can check the Open the file after export option in the Export Range to File dialog box.

2. If you need to save multiple rows as individual text files, you have to repeat these steps many times to save each row as individual text file. For easily saving each row as individual text file, please go ahead to view the following method.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now


Actually, if you have Kutools for Excel installed, we can split each row into a new sheet by its Split Data utility, and then apply its Split Workbook utility to save these sheets as individual text files in Excel.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Free Trial Now!

1. Select the range that you will save each row as text file, and click the Kutools Plus > Split Data.

2. In the Opening Split Data into Multiple Worksheets dialog box, check the Fixed rows option, and type 1 into the below box, specify a rule in the Rules drop-down menu, and click the Ok button.

 

Now each row is split into a new worksheet of a new workbook with the title row. If you don’t need the title row in the new sheets, please uncheck the My data has headers option.

3. In the new sheet, click the Kutools Plus > Workbook > Split Workbook.

4. In the opening Split Workbook dialog box, check the Save as type option, select Unicode Text (*.txt) from the below drop-down list, and click the Split button.

doc export each row as text 01

Notes:

(1) If you don’t need to save hidden worksheets as text files, please check the Skip hidden worksheets option.

(2) If you don’t need to save blank worksheets as text files, please check the Skip blank worksheets option.

5. Specify a folder that you will save the text files into in the Select Folder dialog box, and click the Select Folder button.

If there are many worksheets you will save as text files, it will take some time to split.

Then you will see each row is split and saved as text file into the specified folder.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now


 

Kutools for Excel includes more than 300 handy tools for Excel, free to try without limitation in 30 days. Download and Free Trial Now!


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Comments (11)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Sir, I want seclect perticuler Range like colom A and B , if i salect A and B in One worksheet then autonaticalyy A and B salected in Each worksheet and Now "Export Range " salect for all worksheet and convet as TXT file according there currect Sheet Name
This comment was minimized by the moderator on the site
I really appreciate tou.....this program is very helpfull to me
This comment was minimized by the moderator on the site
this program saves text file with unicode encoding...but i want to save it with utf8....i dont know how...please help me
This comment was minimized by the moderator on the site
Hi,
Kutools for Excel only supports to save as Unicode text. If you prefer to UTF8 text, I am afraid you need to save each row manually one by one, or apply VBA code.
This comment was minimized by the moderator on the site
각각의 행을 각각의 텍스트 파일로 저장할 수 있는 방법은 무엇인지요?
This comment was minimized by the moderator on the site
Hello, Can I ask using a Kutools plus. When I use 'Workbook->Split Workbook, how to save text file that is type of 'utf-8'?
This comment was minimized by the moderator on the site
Hi tae-woo,
Thanks for your comment. At present Kutools supports to save worksheets as Unicode text files, CSV, Workbooks, PDF. Perhaps, Kutools will support to save worksheets as UTF-8 text files in future.
This comment was minimized by the moderator on the site
I am sadly getting the following error when trying to do this: "Access violation at address 0000000002D1F21B in module 'PaneforKutools64.dll'. Read of address 0000000101010060."
I may have gotten the number of zeros wrong as I cannot copy and paste... but what should I do?
This comment was minimized by the moderator on the site
Hi there,

Could you please advice which steps did you follow and then got wrong?
Please attach screenshots if possible.

Thanks in advance.

Amanda
This comment was minimized by the moderator on the site
Hi

I have a file with roughly 20,000 rows and these rows need to be saved as individual notepad files with a name from another column in the same file. Could you please let me know if this is possible.

Example:-
Name Text
Nm1 test file content - test 1
Nm2 test file content - test 2
Nm3 test file content - test 3

So for the table above in Excel, I would like 3 files created with 1st file saved as 'Nm1.txt' and content 'test file content - test 1'.

Could any of you please help.

Thanks
Divya
This comment was minimized by the moderator on the site
Hi there,

Are the names in the column in a regular way like Nm1, Nm3?
You cannot retrive name from a column, but you can create the names in a regular way. For example, when you click on Kutools Plus > Split Data, you can select Sequence Numbers in the Rules drop-down list (No. 2) under the New worksheets name section. And then add certain text in the Prefix and/ or suffix box.
https://cdn.extendoffice.com/images/stories/doc-excel/export-each-row-as-text/doc-export-each-row-as-text-6.png

For example, I select Sequence Numbers and enter Name- in the Prefix box, I will get the names of the text files like this: Name-1, Name-2, and so on.

Amanda
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations