<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to convert an Appian Document (image) to a Base64 string?</title><link>https://community.appian.com/discussions/f/best-practices/40437/how-to-convert-an-appian-document-image-to-a-base64-string</link><description>Hi Community, 
 I&amp;#39;m building an HTML-to-PDF generation flow and need to embed an employee photo (stored as an Appian Document) directly into an &amp;lt;img&amp;gt; tag as a Base64 data URL, like this: 
 
 &amp;lt;img src=&amp;quot;data:image/png;base64,{BASE64_STRING}&amp;quot; /&amp;gt;
 
 
 I want</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to convert an Appian Document (image) to a Base64 string?</title><link>https://community.appian.com/thread/154644?ContentTypeID=1</link><pubDate>Wed, 20 May 2026 02:29:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6ecd28d3-e7f4-491c-9a89-62049273d634</guid><dc:creator>Meme02</dc:creator><description>&lt;div class="text-content__markdown wOVnR0W_text-content__markdown"&gt;
&lt;div class="render-markdown wlkyN3a_render-markdown render-markdown--message-activity wlkyN3a_render-markdown--message-activity"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for sharing the information&amp;mdash;it was very helpful.&lt;br /&gt; In my case, the use case involves uploading user profile photos, so I believe the file sizes will not be very large.&lt;/p&gt;
&lt;p&gt;Since there may be various use cases going forward, I&amp;#39;ll keep this in mind.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to convert an Appian Document (image) to a Base64 string?</title><link>https://community.appian.com/thread/154639?ContentTypeID=1</link><pubDate>Tue, 19 May 2026 11:41:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26cff4d1-c4b4-4deb-9b7e-aba30982e4b3</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="183948" url="~/discussions/f/best-practices/40437/how-to-convert-an-appian-document-image-to-a-base64-string/154633"]I tried this plugin and it worked successfully[/quote]
&lt;p&gt;Thanks for confirming / verifying.&amp;nbsp; I haven&amp;#39;t stress-tested this plugin yet, but please note that it claims to support binary files only up to ~820 KB, which would be a pretty modestly-sized picture in general (though for a JPG this can vary greatly depending on resolution and compression factor).&lt;/p&gt;
&lt;p&gt;Edit: despite what the plug-in disclaimers about size, I just successfully used it on a ~1.3MB test mp3 file as well as a ~3MB text file, and successfully decoded the resulting base64 values in an online converter - so there is probably some flexibility with respect to the total size it accepts (though this could have engine performance implications, so I suggest treading lightly).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to convert an Appian Document (image) to a Base64 string?</title><link>https://community.appian.com/thread/154633?ContentTypeID=1</link><pubDate>Tue, 19 May 2026 00:48:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:adc8cc8a-7033-48bc-9955-b94f0f93aa94</guid><dc:creator>Meme02</dc:creator><description>&lt;p&gt;&lt;a href="/members/shubhama926776"&gt;Shubham Aware&lt;/a&gt;&amp;nbsp; &lt;a href="/members/mikes0011"&gt;Mike Schmitt&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your support.&lt;br /&gt; I tried this plugin and it worked successfully.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to convert an Appian Document (image) to a Base64 string?</title><link>https://community.appian.com/thread/154630?ContentTypeID=1</link><pubDate>Mon, 18 May 2026 16:07:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0929d703-79a3-4811-a263-52a8e84c7cf0</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="299046" url="~/discussions/f/best-practices/40437/how-to-convert-an-appian-document-image-to-a-base64-string/154626"]use the &lt;a href="/b/appmarket/posts/more-document-tools"&gt;documentToBase64String function from the More Document Tools plugin&lt;/a&gt;[/quote]
&lt;p&gt;Thanks, I had somehow missed that there is (again) a plug-in that allows us to do this.&amp;nbsp; I know there are system overhead implications but there are some corner use cases that will be much easier with this sort of capability present.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to convert an Appian Document (image) to a Base64 string?</title><link>https://community.appian.com/thread/154626?ContentTypeID=1</link><pubDate>Mon, 18 May 2026 11:53:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:358cb31a-e06a-4998-82e1-89f887adae45</guid><dc:creator>Shubham Aware</dc:creator><description>[quote userid="183948" url="~/discussions/f/best-practices/40437/how-to-convert-an-appian-document-image-to-a-base64-string"]Is there a built-in Appian expression function to convert a Document to a Base64 string?[/quote]
&lt;p&gt;&lt;span&gt;There is no OOTB way to convert an Appian Document to Base64 not via expression functions, Web API, or Integration calls. &lt;br /&gt;The best and simplest approach is to use the &lt;a href="/b/appmarket/posts/more-document-tools"&gt;documentToBase64String function from the More Document Tools plugin&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>