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 (20)

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=.
  • 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)
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.