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

MP3 to Base64

Convert MP3 to Base64 online and use it as a generator, which provides ready-made examples for data URI, HTML object, JavaScript Audio, and others. The MP3 to Base64 converter is identical to Audio to Base64, with the only difference that it forces the mime type to be “audio/mpeg” (even if the uploaded sound file has a different content type or it cannot be detected). Please note that the MP3 to Base64 encoder accepts any file types with a size of up to 50 MB.


How to convert MP3 to Base64

  1. Choose the source of sound file from the “Datatype” field.
  2. Paste the URL or select a MP3 file from your computer.
  3. If necessary, select the desired output format.
  4. Press the “Encode MP3 to Base64” button.
  5. Download or copy the result from the “Base64” field.

About MP3

  • Name: MPEG-1 Audio Layer 3
  • Developer: Moving Picture Experts Group
  • MIME types: audio/mpeg, audio/MPA, audio/mpa-robust
  • File Extensions: .mp3
  • Type of Format: Digital audio
Comments (12)

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

  • Ron,
    It is perfect, thanks.
  • Evan,
    It didn't work. :(
    • God,
      It works <facepalm>
      • eddy,
        respect other people opinion, you rude
        • mark,
          Whether something works or not is not an opinion.
          It works :facepalm:
  • Max,
    Thanks. Works fine.
  • Max,
    Thank You <3
  • Rick_Astley,
    Never gonna give you up!
    Never gonna let you down!
    Never gonna run around, and desert you!
    Never gonna make you cry!
    Never gonna say goodbye!
    Never gonna tell a lie, and hurt you!

    Awesome conversion btw, now I can disguise HTML webpages as rick rolls :)
  • 6lj6,
    mp3_to_base64 by window.open("data:audio/mpeg;base64,//NAxAA...")

    is out of limit of URI's length
  • YtConverter,
    Absolutely the best YouTube converter I've ever used! It's fast, user-friendly. I love being able to download my favorite music.Highly recommend it!
  • nqhXncMU,
    -1; waitfor delay '0:0:15' --
  • Ytx3,
    `your code``
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.