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
  • 14,230
  • 4
  • 45
  • 66
vamsi
  • 1,488
  • 3
  • 28
  • 66

2 Answers2

23

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

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

user
  • 23,260
  • 9
  • 113
  • 101
8

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
  • 1
  • 13
  • 98
  • 177
ase34
  • 81
  • 1
  • 2