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 Documen...
Power Automate
Suggested Answer

How to Convert Document into PDF in Power Automate (Free Method Only)

(0) ShareShare
ReportReport
Posted on by 12

Hi Community,

I'm trying to convert a document to PDF using Power Automate without using any premium connectors like Encodian, Muhimbi, or third-party services like Cloudmersive.

Here's what I've tried so far:
compose
==========
{
"image": {
"mime": "image/png",
"data": "iVBORw0K....."
}
}

compose 2
===========
@{outputs('Compose')?['image']['data']}

create file (sharepoint)
=================
File Name : test.pdf
File Content : @{base64ToBinary(outputs('Compose_2'))}

But this does not work — the file gets created, but it's either corrupted or not recognized as a valid PDF.

 

My Question:

How can I convert a base64 image or document into a proper PDF file using only free tools or native actions in Power Automate (e.g., Word Online, OneDrive, or SharePoint built-in options)?

I'm open to:


  • HTML to PDF using Word Online

  • Word to PDF using OneDrive or SharePoint

  • Any method that does not require premium connectors or third-party APIs

Thanks in advance 🙏

Screenshot 2025-07-31 172511.png
Categories:
I have the same question (0)
  • Suggested answer
    venturemavenwill Profile Picture
    1,193 Super User 2026 Season 1 on at
    Here is a good guide on how to convert HTML to pdf in Power Automate 
     
    Keep in mind though that this workaround does take a lot of time from build to run, so it's not recommended for larger volume use cases. 
  • Suggested answer
    Pstork1 Profile Picture
    69,125 Most Valuable Professional on at
    The problem is primarily that your file content is an image and not a full document to convert to PDF.   To do this using the Free connectors you need to build a simple HTML document format, put the image or other data you want in the document and then convert that to PDF. This video from Shane Young will walk you through a full example.  Create a PDF from SharePoint Data using Power Apps and Power Automate flow for free

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard