This is a small tool to convert any file into its base64 data, e.g. for portability because some things don't support direct file uploads. To use it, press the Choose File button and select the file you want to convert. The text box below will then fill with the file's base64 representation, at which point you can press the Copy Output button to copy the output to your clipboard. Note that the data will have a data: URL prefix, which, while it can be useful to identify file type, is not actually part of the data and may break some contexts that don't expect it. If you don't want it, the Remove Prefix button will automatically remove it.

Copy Output Remove Prefix