Convert PDF file into Base64 string with JavaScript
<p>I have a link to a local pdf file and I need that file as a base64 string. I'm programming with JavaScript. 
Does anybody know how I can get this string?</p>

<p><strong>UPDATE:</strong></p>

<p>I have to file object because I downloaded the pdf</p>