Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

To add an audio file you own in Hostinger AI Builder manual mode, upload it to the editor’s Media Library, copy its file URL, and place that URL in an HTML <audio controls> element inside an Embed Code element. Save the embed, then check it in preview or on your live site.

Embed an audio file you uploaded

  1. Add the embed element. In the editor, open Add elements, drag an Embed Code element to the spot where you want the player, select it, and choose Enter code. Hostinger’s instructions are in its custom-code guide.
  2. Upload your audio file. Open the editor’s Media Library and upload the file from your device. Open the uploaded file’s details and copy its file-path URL.
  3. Enter the player markup. Paste this into the embed editor, replacing URL with the copied file URL:
    <audio controls>
      <source src="URL">
    </audio>

    Hostinger uses this HTML audio element in its manual-mode audio instructions.

  4. Save and check the result. Click Embed code to save the element. Preview the page or open the live site to check that the player appears and plays. If you changed the site, update it for the changes to appear online.

Use an HTTPS file URL and remove any spaces from the URL. Hostinger’s example uses an MP3 URL; its audio instructions do not specify a complete list of supported formats, a maximum file size, or browser compatibility details.

Use Spotify, SoundCloud, or a player widget instead

If you want a hosted track embed rather than a basic player that points to your uploaded file, copy the track’s embed code from Spotify or SoundCloud and add it through the same Embed Code element. Hostinger says to get the iframe code for the audio track. A third-party player widget, such as one made with Elfsight or CommonNinja, is another option; use the widget provider’s embed code. These are alternatives, not required services, and Hostinger’s guide does not compare their features.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
MOSWAG USB to 3.5mm Jack Audio Adapter External Stereo Sound Card
  • 【USB external sound card audio adapter】This USB to aux adapter supports listening and speaking,Easily adds a 3.5mm TRRS aux port integrated microphone-in and audio out interface to your devices
  • 【High Quality Sound】 Equipped with an advanced built-in DAC chip, this USB sound card supports both CTIA and OMIP standard headphones. This USB to Aux adapter delivers stable 16-bit/48kHz audio output and effective noise reduction, faithfully reproducing and enhancing the original sound quality. Note: The 3.5mm male microphone jack does not support TS or TRS connectors
  • 【Wide Compatibility】USB to 3.5mm Jack Audio Adapter support TRRS headsets and microphones.USB male wide compatibility with Windows 10/9/8/7/Vista/XP,Linux,Mac OS X google Chromebook,Raspberry Pi, PS4,PS5 and Windows Surface 3 etc
  • 【Plug and Play】USB Sound Adapter no driver required,USB headset adapter plug and play;the durable nylon braided cable of the USB audio adapter ensures stable transmission and allows you to use your 3.5mm headphones more conveniently.USB to 3.5 mm port will be automatically recognized by system in seconds
  • 【Portable and Durable】USB to audio jack adapter is equipped with an aluminum shell.The nylon braided of the USB to 3.5mm jack audio adapter is more durable,smaller and lighter than other plastic shells and PVC cable USB audio adapter,ensuring a much longer lasting life
Rank #3
UGREEN USB-B to USB-C Cable 6.6FT, Nylon Braided for Printer & MIDI
  • USB C to B Printer & MIDI Cable: USB B to USB C printer cable supports connected printers, scanners, fax machines, as well as most audio equipment. Connect to Yamaha keyboards, BOSS guitar amps, DAC converters, and DJ controls.
  • Wide Compatibility: This USB C to USB B printer cable supports Type-C/Thunderbolt 3 laptops, tablets and mobile phones. Connect MacBook Pro/Air/Mini,iPad Pro and Samsung Galaxy devices to a printer or audio device to work together. Simple plug and play, no drivers needed.
  • High-Speed Transfer: USB B to USB C cable supports high-speed data transfer/sync up to 480 Mbps.Backward compatibility with Full Speed USB1.1 (12 Mbps) and 1.0 (1.5 Mbps), providing a more stable data transfer than WIFI connections.
  • Stable & Clear Printing: Constructed with anti-oxidation, nickel-plated plugs and triple shielding from EMI due to other electrical equipment, this USB C printer cable provides better transmission performance and protection from EMI/RFI noise. Enjoy clear and convenient printing without data loss while printing.
  • Unrivaled Durability: The USB C to USB B printer cable features a nylon-braided fiber jacket for improved corrosion-resistance, molded strain relief and premium aluminum housing, bend and twist this cable freely 3000+ times and enjoy a more durable, longer cable lifespan.
Rank #2
AINOPE USB to USB Cable, 6.6FT USB 3.0 A to A Male to Male Cable 5Gbps Double End Type A Cord for Data Transfer Compatible with Hard Drive, Laptop Cooling Pad, USB Hub, KVM, DVD
  • 6.6ft Freedom – No More Port Strain: Short 3FT cables yank your USB ports, forcing hard drives and cooling pads into awkward spots. Over time, that tugging damages ports. This 6.6FT USB A to USB A cable gives you slack to route cleanly across any desk, reach a floor KVM, or connect a distant hub. Place devices where they belong, not where a short USB to USB cable dictates. Zero port stress.
  • Never Rupture & Nylon Braided – Hydrophobic & Anti-Pilling: Unique SR anti-break design, tested 400,000+ bends for extreme durability. Sturdy dual-shade braided nylon jacket of the USB-A to USB-A cable offers stronger protection, flexibility, anti-pilling, and tangle resistance. Hydrophobic nylon layer repels water and resists sticky residue — spilled drinks won't affect connection. No cable breakage worries, even on messy desks.
  • 5Gbps Data Transfer Speed – 9-Core Tinned Copper: Transfer large files in seconds with 5Gbps speed, 10x faster than USB 2.0. Inside: a premium 9-core tinned copper matrix with triple shielding (foil+braid) blocks EMI/RFI interference for signal clarity. The 24K gold-plated connectors of the USB to USB cable ensure stable, oxidation-resistant conductivity for many years. Backward compatible with USB 2.0/1.1 ports.
  • Huge Output For Your Cooling Pad: The maximum output of this USB A to USB A male to male USB 3.0 cable is up to 3A, providing enough power for your laptop cooler to perform at its best. No more worry about your laptop getting hot — ensures stable operation of your devices without low-power lag.
  • Wide Compatibility: Connects USB peripherals with USB 3.0 Type-A port to a computer for speedy file transfer. Compatible with Laptop, Laptop Cooling Pad, Smart TV, USB in car, DVD player, USB 3.0 hub, Monitor, KVM, Camera, Wacom, Blu-ray Drive, Set Top Box, 2.5-Inch External Hard Drive Enclosure, and most USB 3.0 external hard drives with Type-A port.
#1 Best Overall
6Ft Long Cable USB 2.0 Type-A to Type-B High Speed Cord for Audio Interface, Midi Keyboard, USB Microphone, Mixer, Speaker, Monitor, Instrument, Strobe Light System Laptop Mac PC
  • FEATURES / POWER SPECS : Extra Long 6 Feet USB 2.0 Type-A Male to Type-B Male Connection Cable / High-Speed Transfer Rates up to 480Mbps 28AWG/2C+26AWG/2C with Error-Free Performance
  • COMPATIBILITY: Ideal for connecting your Yamaha Digital Piano, Roland Music Workstation, Donner DEP 10 20 45 DDP-80 88 Key Digital Pianos, Alesis, Korg, Casio Keyboard, AKAI Professional, Arturia KeyLab MiniLab, Midiplus, Nektar Impact, Novation, M-Audio MIDI Controller, Native Drum Controller, Pioneer, Hercules DJControl Inpulse, Numark DJ Mixer, Behringer U-Phoria, PreSonus AudioBox Audio Interface, Microphone, Studio Equipment to a Laptop, Computer (Mac PC) and other devices with a USB-B port
  • Also is a good USB Type B replacement cord for devices like Printer, Scanner, Fax, Hard Drive Disk, Server, Keyboard, DAC, Development board, UPS, Digital Camera, Arduino, Silhouette Cameo Cutting Tool Machine, Blue, Brother, Canon i-SENSYS PIXMA SELPHY, CyberPower, Dell, Epson Artisan Expression Home Premium Stylus WorkForce, Fujitsu, HP Deskjet ENVY LaserJet OfficeJet PhotoSmart, IOGEAR, Lexmark, Panasonic, Snowball mic
  • SAFETY: Pwr+ cables manufactured with the highest quality materials. CE/FCC/RoHS certified.
  • WARRANTY: 30 Days Refund - 24 Months Exchange. PWR+ is WA, USA based company. We are friendly Customer Support Experts
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

If the player does not appear online

  • Check that the source URL is the file URL copied from the Media Library, uses HTTPS, and contains no spaces.
  • Save the embed and update the website, then check again in a preview or on the live page.
  • If the code looks correct but a widget still does not appear online, Hostinger’s custom-code guide suggests clearing the browser cache. If that does not help, contact the widget provider.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.