Then click the 'Convert' button. PDF to Base64 Converter is your multipurpose conversion tool for almost all popular file formats. Why does the impeller of a torque converter sit behind the turbine? Is there a more recent similar source? Can the Spiritual Weapon spell be used as cover? Yes, you can use free Converter app on any operating system that has a web browser. I share web dev tips on Twitter, if you found this interesting and want to learn more, follow me there. Used the Accepted Answer to do a check for IE and convert the dataURI to UInt8Array; an accepted form by PDFJS. Hi! By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. What does "use strict" do in JavaScript, and what is the reasoning behind it? The URL.createObjectURL() method can help here. How to check whether a string contains a substring in JavaScript? How to store objects in HTML5 localStorage/sessionStorage. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. In the last tutorial, we have already discussed 3 different ways to encode and decode string to base64 format in Node.js. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. PDF.JS uses a