web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / how to convert txt fil...
Power Automate
Unanswered

how to convert txt file to xlsx in power automate desktop

(0) ShareShare
ReportReport
Posted on by 28

Hii,

 

i want to convert txt file to xlsx. how to convert please guide me. 

 

Regards,

Supriya

I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    You will need to be more specific about what data you have in your .txt file and what you want it as in the Excel file.

    But with the limited information you provided, the general idea is as follows.

     

    You can use the Read text from file action to get the text from your .txt file. You can then, if you need to, use Split text to split the text file contents into a list of rows. You could then use a For each loop on those rows to handle each of them individually.

     

    Now, before you do that, you would also need to use Launch Excel to launch an instance of Excel. You could launch it with a blank document. Then you could use Write to Excel worksheet to write the values you extracted from your text file into the Excel file. And then you can use Save Excel to save it as a file where ever you want it, and Close Excel to close the document.

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard