title: What is a base64 length in bytes?
body: <p>I have a file encoded in Base64 with a certain file length. How do I get the size in bytes?</p>
  
  <p>Example:</p>
  
  <pre><code>var size= canvas.toDataURL();   
  
  console.log(resizeCanvasURL.length);
  
  
  // -&gt; 132787  base64 length
  </code></pre>