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

Notifications

Announcements

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 🙏

Categories:
I have the same question (0)
  • Suggested answer
    venturemavenwill Profile Picture
    1,189 Super User 2025 Season 2 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
    68,717 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard