Generate an HTML5 audio element with controls, autoplay, loop, muted, preload and multiple MP3/OGG/WAV source fallbacks. HTML Audio Tag Generator is a free online tool from the ToolsRift HTML Tools collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.
MP3 is the most widely supported, with OGG and WAV as fallbacks. Offering several <source> elements lets each browser choose a format it can decode.
preload hints how much audio to fetch before playback: none saves bandwidth, metadata loads only duration info, and auto lets the browser buffer the file eagerly.
Without controls there is no visible player, so unless you build custom JavaScript controls you should keep controls enabled so users can play, pause and adjust volume.