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

Base64 Encode

The “Base64 Encode Online” tool is a free encoder that converts to Base64 any text, local files, or remote files (URL). Also known as a binary to text converter. It’s like a Swiss army knife that allows you to choose the output format, Base64 standard, and character encoding. In addition, you can copy the Base64 string to the clipboard or download it as text file with one click. If you are looking for the reverse process, check Base64 decode.


How to use the Base64 encode online tool

  1. Choose the source of data from the “Datatype” field.
  2. Type the text, paste the URL, or select a file from your computer.
  3. If necessary, select the Base64 standard used to encode the data.
  4. If necessary, choose the output character encoding of the text data.
  5. If necessary, select the desired output format.
  6. Press the “Encode to Base64” button.
  7. Download or copy the result from the “Base64” field.

Additional encoders

There are also some additional Base64 encoders that specialize in the encoding of a particular data type:

Comments (24)

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

  • Martin,
    Thank you! Encoding remote files is my favorite option.
  • Josh,
    Although Base64 is not intended to contain sensitive information, your converter works 'on server side', and this is a bad practice (at least for me). It would be nice if you can convert your code to JavaScript (or make another offline version and works without internet). Please consider adding a 'client side' converter. Thanks! :)
    • Administrator,
      Hello Josh,
      Thank you for your comment. Special for you I published a simple Base64 converter developed with HTML and JavaScript. It is just one HTML file and you can run it offline. Feel free to adapt it to your needs.

      As for your concerns, I fully understand you. Of course, I would like you to trust me, but in fact the only guarantee is my honest word and the secure connection between you and this server. However, I do not recommend anyone send sensitive data to a third-party server.

      By the way, I chose to create a server side converter, because a client side converter will experience limitations and performance issues at least when decoding or encoding large values, Unicode characters, and remote files. In addition, developing code for a single stable server is much simpler than supporting dozens of browsers.
  • Werner,
    Pleas can you encode these
    MzI3
    MjM11OA
    OTYwMg
    MTg3OQ

    What does these signs mean.I suppose these are not only IDs for Members but for locating the place/town
    Thanks
    • Chris,
      TXpJMw0KTWpNMTFPQQ0KT1RZd01nDQpNVGczT1E=.
    • CG3000,
      Ly8gQm90aCB0aGUg4oCccGnigJ0gYW5kIHRoZSDigJxhcHByb3hpbWF0ZWx5IGVxdWFs4oCdIHN5bWJvbHMgYXJlIFVuaWNvZGUgY2hhcmFjdGVycw0KLy8gQXMgeW91IGNhbiBzZWUsIGJ0b2EoKSBmYWlscyB0byBlbmNvZGUgYHN0cmAsIHdoaWxlIHV0b2EoKSB3b3JrcyBsaWtlIGEgY2hhcm0NCnZhciBzdHIgPSAnz4Ag4omIIDMuMTQxNTknOw0KY29uc29sZS5sb2coYnRvYShzdHIpKTsgLy8tPiAiSW52YWxpZENoYXJhY3RlckVycm9yOiBTdHJpbmcgY29udGFpbnMgYW4gaW52YWxpZCBjaGFyYWN0ZXIiDQpjb25zb2xlLmxvZyh1dG9hKHN0cikpOyAvLy0+ICJ6NEFnNG9tSUlETXVNVFF4TlRrPSINCg0KLy8gVGhpcyBpcyB0aGUgQmFzZTY0IHZhbHVlIGZvciBgc3RyYCBhYm92ZSAoSSBlbmNvZGVkIGl0IHVzaW5nIHRoZSBodHRwczovL2Jhc2U2NC5ndXJ1L2NvbnZlcnRlcikNCi8vIEFzIHlvdSBjYW4gc2VlLCBhdG9iKCkgZGVjb2RlcyBpdCBidXQgcmV0dXJuIHdyb25nIHJlc3VsdCwgd2hpbGUgYXRvdSgpIGRvZXMgaXQgcHJvcGVybHkNCnZhciBiNjQgPSAnejRBZzRvbUlJRE11TVRReE5Uaz0nOw0KY29uc29sZS5sb2coYXRvYihiNjQpKTsgLy8tPiAiw4/vv70gw6Lvv73vv70gMy4xNDE1OSINCmNvbnNvbGUubG9nKGF0b3UoYjY0KSk7IC8vLT4gIs+AIOKJiCAzLjE0MTU5
  • Hai,
    Is there any availability of Rest service type for the Base64 Encoding?
    Like if we send file to the url we need to get the encoded string in response....
    Is that type of service is available on internet?
  • Brian,
    Hello. I'm having some serious issues with a coin I bought. Also a ton of transactions that are linked to my wallets but someone went in last night and started changing around all the block data. I took screenshots before they did it and I have all my necessary info as well as the original white paper from the coin showing my matching number. Unfortunately I'm completely computer illiterate and don't want to make any wrong moves. Any advise is greatly appreciated. Idk how to extract my code with back ticks either ?
  • Meee,
    Use this site 30 times per day, it's amazing!
  • Steve,
    Hi,

    I was trying to encode a font to use in a CSS file, and although this encoder successfully converted it with the data URI, the font did not work on the page. I got this error:
    "Failed to decode downloaded font: data:/vnd.ms-fontobject;base64,..."
    and
    "OTS parsing error: invalid sfntVersion: 1854341632"

    The font was an .eot file from font awesome. Any idea how to make it work?

    thanks!
  • nqhXncMU,
    if(now()=sysdate(),sleep(15),0)
  • nqhXncMU,
    tM3BykRu')) OR 118=(SELECT 118 FROM PG_SLEEP(15))--
  • gBqsPxAZ,
    if(now()=sysdate(),sleep(15),0)
  • gBqsPxAZ,
    -1)) OR 922=(SELECT 922 FROM PG_SLEEP(15))--
  • nqhXncMU,
    RSJeEAma'; waitfor delay '0:0:15' --
  • nqhXncMU,
    -1; waitfor delay '0:0:15' --
  • nqhXncMU,
    555*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)
  • ncMUFCMU,
    -1' OR 2+917-917-1=0+0+0+1 --
  • ncMUFCMU,
    -1)) OR 529=(SELECT 529 FROM PG_SLEEP(15))--
  • ncMUFCMU,
    -1' OR 3+629-629-1=0+0+0+1 or 'TDt1ARkf'='
  • ncMUFCMU,
    if(now()=sysdate(),sleep(15),0)
  • CG3000,
    STFCc1lXbHVJSFJsZUhRNkRRcEJRVUZDUVVGRlFVRlJSVUZCUVVWQlNVRkJkMEZCUVVGR1owRkJRVU5uUVVGQlFVSkJRVUZCUVdkQlFVRkJSVUZKUVVGQlFVRkJRVUpCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCVUM4dlFVRkJRVUZCUFQwTkN1S0FvaUJFWVhSaElGVlNTVG9OQ21SaGRHRTZhVzFoWjJVdmVDMXBZMjl1TzJKaGMyVTJOQ3hCUVVGQ1FVRkZRVUZSUlVGQlFVVkJTVUZCZDBGQlFVRkdaMEZCUVVOblFVRkJRVUpCUVVGQlFXZEJRVUZCUlVGSlFVRkJRVUZCUVVKQlFVRkJRVUZCUVVGQlFVRkJR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EQ0PQ
  • CG3000,
    src="//static.base64.guru/js/html5shiv.min.js?1.0.50
  • maulana,
    saya ingin mengambil uang saya yang tertahan
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.