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 / Reading text file with...
Power Automate
Unanswered

Reading text file with no delimiter and convert to Excel File

(1) ShareShare
ReportReport
Posted on by 13

Hi everyone,

 

I have a text file (notepad) in SharePoint containing some data in a table format, but it is not organized, the column names have space in between (they are not a single word), also the data in the rows aren't aligned with the columns.

 

Now, I am being challenged to convert this text file stored in Sharepoint  into Excel form using power automate web. 

 

I couldn't find an action in power automate that can directly convert text file into excel format.

 

Please suggest me the best approach to  handle this issue.

 

Thank you for your support.

Categories:
  • trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at

    Hi @mweldemariam ,

     

    You have some great options in Power Automate Desktop and I highly encourage you to check these actions out.

     

    Both Text and Excel actions can help you accomplish this task.  That said, you mentioned this is completely unstructured so I am not suggesting it is going to be an easy task but it is possible.

     

    trice602_0-1692217595965.png

    trice602_1-1692217622630.png

     

     

     

  • SamLed Profile Picture
    2,340 Moderator on at

    Hi,

    It does not exists any text file format to Excel file format converter even outside Power Automate. The only text file  format Excel supports is CSV one.

     

    You text file should be a fixed-width text file. That means each column contains a certain number of character. Those file columns are usually separated by space or blank char. When you see such file on screen, it looks like column are not aligned because space char is visually smaller but they should be present.

     

    Verify that point using Notepad++ for example, select text from start of column and start of following one minus one space (or minus nothing if file use blank char), Notepad will show you how many chars are selected. If this number is the same for each lines, you're working on a fixed-width text file. Otherwise, it will be complex, near impossible, to convert such file to CSV, because how to detect if space separator is a column separator or in text. 

    ______________________________________________________________

    If I have answered your question, please Accept the post as solution.
    If you like my response, please Thumbs Up.

       

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard