Skip to main content

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.

ad split workbook text


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 - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download 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 - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with 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 - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download 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 - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with no credit card required! Get It Now


 

Kutools for Excel: Over 300 handy tools at your fingertips! Start your 30-day free trial with no feature limitations today. Download Now!

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


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!
Comments (11)
No ratings yet. Be the first to rate!
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
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
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
각각의 행을 각각의 텍스트 파일로 저장할 수 있는 방법은 무엇인지요?
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
I really appreciate tou.....this program is very helpfull to me
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
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations