Convert audio files with pydub.
Use the package manager pip to install pydub.
pip install pydub
python audioconverter.py <path to audio file> <format>
Run ffmpeg -formats to view supported formats, since Pydub uses ffmpeg.
No - uses the pydub package and reads/converts audio files from disk via sys.argv, which is not available in a browser sandbox.