How to convert Base64 String to javascript file object like as from file input form?
<p>I want to convert Base64String extracted from file(ex: "AAAAA....~") to a javascript file object.</p>

<p>The javascript file object what I mean is like this code: </p>

<p>HTML:</p>

<pre><code>&lt;input type="file" id="selectFile" &gt; 
</code></pre>

<p>JS:</p>

<pre><code>$('#selectFile').on('change', function(e) {
  var file = e.target.files[0];

  console.log(file)
}
</code></pre>

<p>'file' variable is a javascript file object. So I want to convert a base64 string to the javascript file object like that.</p>

<p>I just want to get file object by decoding base64 string (encoded by other app from a file) without html file input form.</p>

<p>Thank you.</p>