12

I want to convert MP3 file which is less than 10 MB to a Base64 encoded string. I can only find image converters.

Can anybody suggest me an online tool which will do this?

Script47
  • 13,644
  • 4
  • 41
  • 60
vamsi
  • 1,394
  • 3
  • 24
  • 53

2 Answers2

21

Look for "binary to base64" or "file to base64". For example, this tool.

Then precede raw base64 result with data:audio/mpeg;base64,

user
  • 19,934
  • 9
  • 108
  • 94
7

Use Notepad++, first select the entire file (CTRL+A)) and then use the Base64 Encode option under the plugins menu:

Main Menu - Plugins - MIME Tools - Base64 Encode

John
  • 11,516
  • 11
  • 87
  • 151
ase34
  • 71
  • 1
  • 2