A virtual teacher who reveals to you the great secrets of Base64

URL to Base64

This online converter encodes the contents of remote file or webpage to Base64 (that is, it automatically downloads the remote data and convert it to Base64). To use it, just type or paste the URL and press “Encode URL to Base64” (make sure that the URL is publicly available). If you need more features, for better customization check the Base64 encoder. Please do not confuse this converter with the Base64URL Encode.

How to convert URL to Base64

  1. Type or paste paste the URL-address
  2. Press the “Encode URL to Base64” button.
  3. Download or copy the result from the “Base64” field.
Comments (8)

I hope you enjoy this discussion. In any case, I ask you to join it.

  • ashleedawg,
    It would be helpful if this handy tool would also show the before/after size of the image, in bytes, perhaps also with "% size increase"
    • Administrator,
      Hello! Thank you for your idea. Are you sure this is useful given that the output size is always 33% larger than input?
  • Rajesh,
    How is that getting converted. I tried with the url and it is getting converted to base64 . Can you example me what is exactly happening. It will be awesome if you suggest me some plugin to it.

    thank you.
    • Administrator,
      Hello Rajesh,
      There is no magic. It just downloads the file from remote server and encodes it to Base64.
  • Erik,
    Hello, is it possible to do this with a sql server? I want to send html emails with different images, depends on a parameter. before email should be send, the url with the image should be enoced in base64... do you know a solution?
  • Marco,
    Can I call this via webapi? and how?
  • dana,
    I'm trying to convert an audio file and idk what to do
Add new comment

If you have any questions, remarks, need help, or just like this page, please feel free to let me know by leaving a comment using the form bellow.
I will be happy to read every comment and, if necessary, I will do my best to respond as quickly as possible. Of course, spammers are welcome only as readers.